Repository navigation
Expand file tree
/
Copy pathCodeParser.xml
More file actions
96 lines (93 loc) · 5.48 KB
/
Copy pathCodeParser.xml
File metadata and controls
96 lines (93 loc) · 5.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<Type Name="CodeParser" FullName="System.CodeDom.Compiler.CodeParser">
<TypeSignature Language="C#" Value="public abstract class CodeParser : System.CodeDom.Compiler.ICodeParser" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit CodeParser extends System.Object implements class System.CodeDom.Compiler.ICodeParser" />
<TypeSignature Language="DocId" Value="T:System.CodeDom.Compiler.CodeParser" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class CodeParser
Implements ICodeParser" />
<TypeSignature Language="C++ CLI" Value="public ref class CodeParser abstract : System::CodeDom::Compiler::ICodeParser" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.CodeDom.Compiler.ICodeParser</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Provides an empty implementation of the <see cref="T:System.CodeDom.Compiler.ICodeParser" /> interface.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Developers who build compilers can implement this interface to support code parsing by designers.
> [!NOTE]
> This class contains a link demand and an inheritance demand at the class level that applies to all members. A <xref:System.Security.SecurityException> is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](~/docs/framework/misc/link-demands.md) and [Inheritance Demands](http://msdn.microsoft.com/library/28b9adbb-8f08-4f10-b856-dbf59eb932d9).
]]></format>
</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This class cannot be used by partially trusted code.</permission>
<permission cref="F:System.Security.Permissions.SecurityAction.InheritanceDemand">for full trust for inheritors. This class cannot be inherited by partially trusted code.</permission>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected CodeParser ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.Compiler.CodeParser.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:
 CodeParser();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.Compiler.CodeParser" /> class.</summary>
<remarks>To be added.</remarks>
<permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This class cannot be used by partially trusted code.</permission>
</Docs>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public abstract System.CodeDom.CodeCompileUnit Parse (System.IO.TextReader codeStream);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.CodeDom.CodeCompileUnit Parse(class System.IO.TextReader codeStream) cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.Compiler.CodeParser.Parse(System.IO.TextReader)" />
<MemberSignature Language="VB.NET" Value="Public MustOverride Function Parse (codeStream As TextReader) As CodeCompileUnit" />
<MemberSignature Language="C++ CLI" Value="public:
 abstract System::CodeDom::CodeCompileUnit ^ Parse(System::IO::TextReader ^ codeStream);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.CodeDom.Compiler.ICodeParser.Parse(System.IO.TextReader)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.CodeDom.CodeCompileUnit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="codeStream" Type="System.IO.TextReader" />
</Parameters>
<Docs>
<param name="codeStream">A <see cref="T:System.IO.TextReader" /> that is used to read the code to be parsed.</param>
<summary>Compiles the specified text stream into a <see cref="T:System.CodeDom.CodeCompileUnit" />.</summary>
<returns>A <see cref="T:System.CodeDom.CodeCompileUnit" /> containing the code model produced from parsing the code.</returns>
<remarks>To be added.</remarks>
<altmember cref="T:System.CodeDom.CodeCompileUnit" />
<altmember cref="T:System.IO.TextReader" />
</Docs>
</Member>
</Members>
</Type>