CodeParser Class

 

Provides an empty implementation of the ICodeParser interface.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

System::Object
  System.CodeDom.Compiler::CodeParser

[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
public ref class CodeParser abstract : ICodeParser

NameDescription
System_CAPS_protmethodCodeParser()

Initializes a new instance of the CodeParser class.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodParse(TextReader^)

Compiles the specified text stream into a CodeCompileUnit.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Developers who build compilers can implement this interface to support code parsing by designers.

System_CAPS_noteNote

This class contains a link demand and an inheritance demand at the class level that applies to all members. A 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 and Inheritance Demands.

SecurityAction::LinkDemand

for full trust for the immediate caller. This class cannot be used by partially trusted code.

SecurityAction::InheritanceDemand

for full trust for inheritors. This class cannot be inherited by partially trusted code.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: