mscorlib(4.0.0.0) API with additions
System.CodeDom Namespace Reference

Classes

class  CodeArgumentReferenceExpression
 Represents a reference to the value of an argument passed to a method. More...
 
class  CodeArrayCreateExpression
 Represents an expression that creates an array. More...
 
class  CodeArrayIndexerExpression
 Represents a reference to an index of an array. More...
 
class  CodeAssignStatement
 Represents a simple assignment statement. More...
 
class  CodeAttachEventStatement
 Represents a statement that attaches an event-handler delegate to an event. More...
 
class  CodeAttributeArgument
 Represents an argument used in a metadata attribute declaration. More...
 
class  CodeAttributeArgumentCollection
 Represents a collection of T:System.CodeDom.CodeAttributeArgument objects. More...
 
class  CodeAttributeDeclaration
 Represents an attribute declaration. More...
 
class  CodeAttributeDeclarationCollection
 Represents a collection of T:System.CodeDom.CodeAttributeDeclaration objects. More...
 
class  CodeBaseReferenceExpression
 Represents a reference to the base class. More...
 
class  CodeBinaryOperatorExpression
 Represents an expression that consists of a binary operation between two expressions. More...
 
class  CodeCastExpression
 Represents an expression cast to a data type or interface. More...
 
class  CodeCatchClause
 Represents a catch exception block of a try/catch statement. More...
 
class  CodeCatchClauseCollection
 Represents a collection of T:System.CodeDom.CodeCatchClause objects. More...
 
class  CodeChecksumPragma
 Represents a code checksum pragma code entity. More...
 
class  CodeComment
 Represents a comment. More...
 
class  CodeCommentStatement
 Represents a statement consisting of a single comment. More...
 
class  CodeCommentStatementCollection
 Represents a collection of T:System.CodeDom.CodeCommentStatement objects. More...
 
class  CodeCompileUnit
 Provides a container for a CodeDOM program graph. More...
 
class  CodeConditionStatement
 Represents a conditional branch statement, typically represented as an if statement. More...
 
class  CodeConstructor
 Represents a declaration for an instance constructor of a type. More...
 
class  CodeDefaultValueExpression
 Represents a reference to a default value. More...
 
class  CodeDelegateCreateExpression
 Represents an expression that creates a delegate. More...
 
class  CodeDelegateInvokeExpression
 Represents an expression that raises an event. More...
 
class  CodeDirectionExpression
 Represents an expression used as a method invoke parameter along with a reference direction indicator. More...
 
class  CodeDirective
 Serves as the base class for code directive classes. More...
 
class  CodeDirectiveCollection
 Represents a collection of T:System.CodeDom.CodeDirective objects. More...
 
class  CodeEntryPointMethod
 Represents the entry point method of an executable. More...
 
class  CodeEventReferenceExpression
 Represents a reference to an event. More...
 
class  CodeExpression
 Represents a code expression. This is a base class for other code expression objects that is never instantiated. More...
 
class  CodeExpressionCollection
 Represents a collection of T:System.CodeDom.CodeExpression objects. More...
 
class  CodeExpressionStatement
 Represents a statement that consists of a single expression. More...
 
class  CodeFieldReferenceExpression
 Represents a reference to a field. More...
 
class  CodeGotoStatement
 Represents a goto statement. More...
 
class  CodeIndexerExpression
 Represents a reference to an indexer property of an object. More...
 
class  CodeIterationStatement
 Represents a for statement, or a loop through a block of statements, using a test expression as a condition for continuing to loop. More...
 
class  CodeLabeledStatement
 Represents a labeled statement or a stand-alone label. More...
 
class  CodeLinePragma
 Represents a specific location within a specific file. More...
 
class  CodeMemberEvent
 Represents a declaration for an event of a type. More...
 
class  CodeMemberField
 Represents a declaration for a field of a type. More...
 
class  CodeMemberMethod
 Represents a declaration for a method of a type. More...
 
class  CodeMemberProperty
 Represents a declaration for a property of a type. More...
 
class  CodeMethodInvokeExpression
 Represents an expression that invokes a method. More...
 
class  CodeMethodReferenceExpression
 Represents a reference to a method. More...
 
class  CodeMethodReturnStatement
 Represents a return value statement. More...
 
class  CodeNamespace
 Represents a namespace declaration. More...
 
class  CodeNamespaceCollection
 Represents a collection of T:System.CodeDom.CodeNamespace objects. More...
 
class  CodeNamespaceImport
 Represents a namespace import directive that indicates a namespace to use. More...
 
class  CodeNamespaceImportCollection
 Represents a collection of T:System.CodeDom.CodeNamespaceImport objects. More...
 
class  CodeObject
 Provides a common base class for most Code Document Object Model (CodeDOM) objects. More...
 
class  CodeObjectCreateExpression
 Represents an expression that creates a new instance of a type. More...
 
class  CodeParameterDeclarationExpression
 Represents a parameter declaration for a method, property, or constructor. More...
 
class  CodeParameterDeclarationExpressionCollection
 Represents a collection of T:System.CodeDom.CodeParameterDeclarationExpression objects. More...
 
class  CodePrimitiveExpression
 Represents a primitive data type value. More...
 
class  CodePropertyReferenceExpression
 Represents a reference to the value of a property. More...
 
class  CodePropertySetValueReferenceExpression
 Represents the value argument of a property set method call within a property set method. More...
 
class  CodeRegionDirective
 Specifies the name and mode for a code region. More...
 
class  CodeRemoveEventStatement
 Represents a statement that removes an event handler. More...
 
class  CodeSnippetCompileUnit
 Represents a literal code fragment that can be compiled. More...
 
class  CodeSnippetExpression
 Represents a literal expression. More...
 
class  CodeSnippetStatement
 Represents a statement using a literal code fragment. More...
 
class  CodeSnippetTypeMember
 Represents a member of a type using a literal code fragment. More...
 
class  CodeStatement
 Represents the abstract base class from which all code statements derive. More...
 
class  CodeStatementCollection
 Represents a collection of T:System.CodeDom.CodeStatement objects. More...
 
class  CodeThisReferenceExpression
 Represents a reference to the current local class instance. More...
 
class  CodeThrowExceptionStatement
 Represents a statement that throws an exception. More...
 
class  CodeTryCatchFinallyStatement
 Represents a try block with any number of catch clauses and, optionally, a finally block. More...
 
class  CodeTypeConstructor
 Represents a static constructor for a class. More...
 
class  CodeTypeDeclaration
 Represents a type declaration for a class, structure, interface, or enumeration. More...
 
class  CodeTypeDeclarationCollection
 Represents a collection of T:System.CodeDom.CodeTypeDeclaration objects. More...
 
class  CodeTypeDelegate
 Represents a delegate declaration. More...
 
class  CodeTypeMember
 Provides a base class for a member of a type. Type members include fields, methods, properties, constructors and nested types. More...
 
class  CodeTypeMemberCollection
 Represents a collection of T:System.CodeDom.CodeTypeMember objects. More...
 
class  CodeTypeOfExpression
 Represents a typeof expression, an expression that returns a T:System.Type for a specified type name. More...
 
class  CodeTypeParameter
 Represents a type parameter of a generic type or method. More...
 
class  CodeTypeParameterCollection
 Represents a collection of T:System.CodeDom.CodeTypeParameter objects. More...
 
class  CodeTypeReference
 Represents a reference to a type. More...
 
class  CodeTypeReferenceCollection
 Represents a collection of T:System.CodeDom.CodeTypeReference objects. More...
 
class  CodeTypeReferenceExpression
 Represents a reference to a data type. More...
 
class  CodeVariableDeclarationStatement
 Represents a variable declaration. More...
 
class  CodeVariableReferenceExpression
 Represents a reference to a local variable. More...
 

Enumerations

enum  CodeBinaryOperatorType {
  CodeBinaryOperatorType.Add, CodeBinaryOperatorType.Subtract, CodeBinaryOperatorType.Multiply, CodeBinaryOperatorType.Divide,
  CodeBinaryOperatorType.Modulus, CodeBinaryOperatorType.Assign, CodeBinaryOperatorType.IdentityInequality, CodeBinaryOperatorType.IdentityEquality,
  CodeBinaryOperatorType.ValueEquality, CodeBinaryOperatorType.BitwiseOr, CodeBinaryOperatorType.BitwiseAnd, CodeBinaryOperatorType.BooleanOr,
  CodeBinaryOperatorType.BooleanAnd, CodeBinaryOperatorType.LessThan, CodeBinaryOperatorType.LessThanOrEqual, CodeBinaryOperatorType.GreaterThan,
  CodeBinaryOperatorType.GreaterThanOrEqual
}
 Defines identifiers for supported binary operators. More...
 
enum  CodeRegionMode { CodeRegionMode.None, CodeRegionMode.Start, CodeRegionMode.End }
 Specifies the start or end of a code region. More...
 
enum  CodeTypeReferenceOptions { CodeTypeReferenceOptions.GlobalReference = 0x1, CodeTypeReferenceOptions.GenericTypeParameter = 0x2 }
 Specifies how the code type reference is to be resolved. More...
 
enum  FieldDirection { FieldDirection.In, FieldDirection.Out, FieldDirection.Ref }
 Defines identifiers used to indicate the direction of parameter and argument declarations. More...
 
enum  MemberAttributes {
  MemberAttributes.Abstract = 1, MemberAttributes.Final = 2, MemberAttributes.Static = 3, MemberAttributes.Override = 4,
  MemberAttributes.Const = 5, MemberAttributes.New = 0x10, MemberAttributes.Overloaded = 0x100, MemberAttributes.Assembly = 0x1000,
  MemberAttributes.FamilyAndAssembly = 0x2000, MemberAttributes.Family = 12288, MemberAttributes.FamilyOrAssembly = 0x4000, MemberAttributes.Private = 20480,
  MemberAttributes.Public = 24576, MemberAttributes.AccessMask = 61440, MemberAttributes.ScopeMask = 0xF, MemberAttributes.VTableMask = 240
}
 Defines member attribute identifiers for class members. More...
 

Enumeration Type Documentation

◆ CodeBinaryOperatorType

Defines identifiers for supported binary operators.

Enumerator
Add 

Addition operator.

Subtract 

Subtraction operator.

Multiply 

Multiplication operator.

Divide 

Division operator.

Modulus 

Modulus operator.

Assign 

Assignment operator.

IdentityInequality 

Identity not equal operator.

IdentityEquality 

Identity equal operator.

ValueEquality 

Value equal operator.

BitwiseOr 

Bitwise or operator.

BitwiseAnd 

Bitwise and operator.

BooleanOr 

Boolean or operator. This represents a short circuiting operator. A short circuiting operator will evaluate only as many expressions as necessary before returning a correct value.

BooleanAnd 

Boolean and operator. This represents a short circuiting operator. A short circuiting operator will evaluate only as many expressions as necessary before returning a correct value.

LessThan 

Less than operator.

LessThanOrEqual 

Less than or equal operator.

GreaterThan 

Greater than operator.

GreaterThanOrEqual 

Greater than or equal operator.

Definition at line 8 of file CodeBinaryOperatorType.cs.

◆ CodeRegionMode

Specifies the start or end of a code region.

Enumerator
None 

Not used.

Start 

Start of the region.

End 

End of the region.

Definition at line 8 of file CodeRegionMode.cs.

◆ CodeTypeReferenceOptions

Specifies how the code type reference is to be resolved.

Enumerator
GlobalReference 

Resolve the type from the root namespace.

GenericTypeParameter 

Resolve the type from the type parameter.

Definition at line 9 of file CodeTypeReferenceOptions.cs.

◆ FieldDirection

Defines identifiers used to indicate the direction of parameter and argument declarations.

Enumerator
In 

An incoming field.

Out 

An outgoing field.

Ref 

A field by reference.

Definition at line 8 of file FieldDirection.cs.

◆ MemberAttributes

Defines member attribute identifiers for class members.

Enumerator
Abstract 

An abstract member.

Final 

A member that cannot be overridden in a derived class.

Static 

A static member. In Visual Basic, this is equivalent to the Shared keyword.

Override 

A member that overrides a base class member.

Const 

A constant member.

New 

A new member.

Overloaded 

An overloaded member. Some languages, such as Visual Basic, require overloaded members to be explicitly indicated.

Assembly 

A member that is accessible to any class within the same assembly.

FamilyAndAssembly 

A member that is accessible within its class, and derived classes in the same assembly.

Family 

A member that is accessible within the family of its class and derived classes.

FamilyOrAssembly 

A member that is accessible within its class, its derived classes in any assembly, and any class in the same assembly.

Private 

A private member.

Public 

A public member.

AccessMask 

An access mask.

ScopeMask 

A scope mask.

VTableMask 

A VTable mask.

Definition at line 8 of file MemberAttributes.cs.