The methods of the CSharpCodeGenerator class are listed below. For a complete list of CSharpCodeGenerator class members, see the CSharpCodeGenerator Members topic.
Equals (inherited from Object) | Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the Object. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
FromDOM (inherited from CodeCompiler) | [To be supplied.] |
FromDOMBatch (inherited from CodeCompiler) | [To be supplied.] |
FromFile (inherited from CodeCompiler) | [To be supplied.] |
FromFileBatch | Gets the compiler results after compiling the specified batch of files using the specified compiler parameters. |
FromSource (inherited from CodeCompiler) | [To be supplied.] |
FromSourceBatch (inherited from CodeCompiler) | [To be supplied.] |
GenerateArrayCreateExpression | Generates code for the specified CodeDOM based array creation expression representation. |
GenerateAssignStatement | Generates code for the specified CodeDOM based assignment statement representation. |
GenerateAttributeBlockEnd | Generates code for the specified CodeDOM based attribute block end representation. |
GenerateAttributeBlockStart | Generates code for the specified CodeDOM based attribute block start representation. |
GenerateBaseReferenceExpression | Generates code for the specified CodeDOM based base reference expression representation. |
GenerateBinaryOperatorExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based binary operator expression representation. |
GenerateCastExpression | Generates code for the specified CodeDOM based cast expression representation. |
GenerateClassConstructor | Generates code for the specified CodeDOM based class constructor representation. |
GenerateClassEnd | Generates code for the specified CodeDOM based class end representation. |
GenerateClasses (inherited from CodeGenerator) | Generates classes using CodeDOM representation for the specified namespace. |
GenerateClassStart | Generates code for the specified CodeDOM based class start representation. |
GenerateCommentStatement | Generates code for the specified CodeDOM based comment statement representation. |
GenerateConstructor | Generates code for the specified CodeDOM based constructor representation. |
GenerateDelegateCreateExpression | Generates code for the specified CodeDOM based delegate creation expression representation. |
GenerateDelegateInvokeExpression | Generates code for the specified CodeDOM based delegate invoke expression representation. |
GenerateDelegateInvokeStatement | Generates code for the specified CodeDOM based delegate invoke statement representation. |
GenerateExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based code expression. |
GenerateField | Generates code for the specified CodeDOM based field representation. |
GenerateFieldReferenceExpression | Generates code for the specified CodeDOM based field reference expression representation. |
GenerateForLoopStatement | Generates code for the specified CodeDOM based for loop statement representation. |
GenerateIfStatement | Generates code for the specified CodeDOM based if statement representation. |
GenerateIndexerExpression | Generates code for the specified CodeDOM based indexer expression representation. |
GenerateLinePragmaEnd | Generates code for the specified CodeDOM based line pragma end representation. |
GenerateLinePragmaStart | Generates code for the specified CodeDOM based line pragma start representation. |
GenerateLiteralExpression | Generates code for the specified CodeDOM based literal expression representation. |
GenerateLiteralMember | Generates code for the specified CodeDOM based literal class member representation. |
GenerateLiteralStatement | Generates code for the specified CodeDOM based literal statement representation. |
GenerateMethod | Generates code for the specified CodeDOM based member method representation. |
GenerateMethodInvokeExpression | Generates code for the specified CodeDOM based method invoke expression representation. |
GenerateMethodInvokeStatement | Generates code for the specified CodeDOM based method invoke statement representation. |
GenerateMethodReturnStatement | Generates code for the specified CodeDOM based method return statement representation. |
GenerateNamespace (inherited from CodeGenerator) | Generates code for the specified CodeDOM based namespace representation. |
GenerateNamespaceEnd | Generates code for the specified CodeDOM based namespace end representation. |
GenerateNamespaceImport | Generates code for the specified CodeDOM based namespace import representation. |
GenerateNamespaceImports (inherited from CodeGenerator) | Generates code for the specified CodeDOM based namespace import representation. |
GenerateNamespaceStart | Generates code for the specified CodeDOM based namespace start representation. |
GenerateObjectCreateExpression | Generates code for the specified CodeDOM based object creation expression representation. |
GenerateParameterDeclarationExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based parameter declaration expression representation. |
GeneratePrimitiveExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based primitive expression representation. |
GenerateProperty | Generates code for the specified CodeDOM based property representation. |
GeneratePropertyReferenceExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based property reference expression representation. |
GenerateStatement (inherited from CodeGenerator) | Generates code for the specified CodeDOM based statement representation. |
GenerateStatements (inherited from CodeGenerator) | Generates code for the specified CodeDOM based statement representations. |
GenerateThisReferenceExpression | Generates code for the specified CodeDOM based this reference expression representation. |
GenerateThrowExceptionStatement | Generates code for the specified CodeDOM based throw exception statement representation. |
GenerateTryCatchFinallyStatement | Generates code for the specified CodeDOM based try catch finally statement representation. |
GenerateTypeOfExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based type of expression representation. |
GenerateTypeReferenceExpression (inherited from CodeGenerator) | Generates code for the specified CodeDOM based type reference expression representation. |
GenerateVariableDeclarationStatement | Generates code for the specified CodeDOM based variable declaration statement representation. |
GetNullToken | Gets the token used to represent a null reference (in Visual Basic Nothing). |
GetTypeArrayRank (inherited from CodeGenerator) | [To be supplied.] |
GetTypeBaseType (inherited from CodeGenerator) | Gets the base type of the specified type. |
IsValidIdentifier | Gets whether the specified value is a valid identifier. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OutputAttributeArgument (inherited from CodeGenerator) | Outputs an argument in a attribute block. |
OutputAttributeBlock (inherited from CodeGenerator) | Generates code for the specified CodeAttributeBlock. |
OutputDirection (inherited from CodeGenerator) | Generates code for the specified FieldDirection. |
OutputExpressionList (inherited from CodeGenerator) | Overloaded. [To be supplied.] |
OutputMemberAccessModifier (inherited from CodeGenerator) | Generates code for the specified member access modifier. |
OutputMemberScopeModifier (inherited from CodeGenerator) | Generates code for the specified member scope modifier. |
OutputOperator (inherited from CodeGenerator) | Generates code for the specified operator. |
OutputParameters (inherited from CodeGenerator) | Generates code for the specified parameters. |
OutputType | Sets the output type. |
OutputTypeAttributes (inherited from CodeGenerator) | Generates code for the specified type attributes. |
OutputTypeNamePair (inherited from CodeGenerator) | Generates code for the specified object type and name pair. |
QuoteLiteralString | Provides conversion to formatting with escape codes. |
QuoteLiteralStringCStyle | Provides conversion to C-style formatting with escape codes. |
ValidateIdentifier (inherited from CodeGenerator) | Gets whether the specified identifier is valid. |
CSharpCodeGenerator Class | System.CodeDOM.Compiler Namespace