CodeCompiler Class

CodeCompiler Class

 

Provides an example implementation of the ICodeCompiler interface.

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

System.Object
  System.CodeDom.Compiler.CodeGenerator
    System.CodeDom.Compiler.CodeCompiler

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class CodeCompiler : CodeGenerator, ICodeCompiler

NameDescription
System_CAPS_protmethodCodeCompiler()

Initializes a new instance of the CodeCompiler class.

NameDescription
System_CAPS_protpropertyCompilerName

Gets the name of the compiler executable.

System_CAPS_protpropertyCurrentClass

Gets the code type declaration for the current class.(Inherited from CodeGenerator.)

System_CAPS_protpropertyCurrentMember

Gets the current member of the class.(Inherited from CodeGenerator.)

System_CAPS_protpropertyCurrentMemberName

Gets the current member name.(Inherited from CodeGenerator.)

System_CAPS_protpropertyCurrentTypeName

Gets the current class name.(Inherited from CodeGenerator.)

System_CAPS_protpropertyFileExtension

Gets the file name extension to use for source files.

System_CAPS_protpropertyIndent

Gets or sets the amount of spaces to indent each indentation level.(Inherited from CodeGenerator.)

System_CAPS_protpropertyIsCurrentClass

Gets a value indicating whether the current object being generated is a class.(Inherited from CodeGenerator.)

System_CAPS_protpropertyIsCurrentDelegate

Gets a value indicating whether the current object being generated is a delegate.(Inherited from CodeGenerator.)

System_CAPS_protpropertyIsCurrentEnum

Gets a value indicating whether the current object being generated is an enumeration.(Inherited from CodeGenerator.)

System_CAPS_protpropertyIsCurrentInterface

Gets a value indicating whether the current object being generated is an interface.(Inherited from CodeGenerator.)

System_CAPS_protpropertyIsCurrentStruct

Gets a value indicating whether the current object being generated is a value type or struct.(Inherited from CodeGenerator.)

System_CAPS_protpropertyNullToken

Gets the token that represents null.(Inherited from CodeGenerator.)

System_CAPS_protpropertyOptions

Gets the options to be used by the code generator.(Inherited from CodeGenerator.)

System_CAPS_protpropertyOutput

Gets the text writer to use for output.(Inherited from CodeGenerator.)

NameDescription
System_CAPS_protmethodCmdArgsFromParameters(CompilerParameters)

Gets the command arguments to be passed to the compiler from the specified CompilerParameters.

System_CAPS_protmethodContinueOnNewLine(String)

Generates a line-continuation character and outputs the specified string on a new line.(Inherited from CodeGenerator.)

System_CAPS_protmethodCreateEscapedIdentifier(String)

Creates an escaped identifier for the specified value.(Inherited from CodeGenerator.)

System_CAPS_protmethodCreateValidIdentifier(String)

Creates a valid identifier for the specified value.(Inherited from CodeGenerator.)

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_protmethodFromDom(CompilerParameters, CodeCompileUnit)

Compiles the specified compile unit using the specified options, and returns the results from the compilation.

System_CAPS_protmethodFromDomBatch(CompilerParameters, CodeCompileUnit[])

Compiles the specified compile units using the specified options, and returns the results from the compilation.

System_CAPS_protmethodFromFile(CompilerParameters, String)

Compiles the specified file using the specified options, and returns the results from the compilation.

System_CAPS_protmethodFromFileBatch(CompilerParameters, String[])

Compiles the specified files using the specified options, and returns the results from the compilation.

System_CAPS_protmethodFromSource(CompilerParameters, String)

Compiles the specified source code string using the specified options, and returns the results from the compilation.

System_CAPS_protmethodFromSourceBatch(CompilerParameters, String[])

Compiles the specified source code strings using the specified options, and returns the results from the compilation.

System_CAPS_protmethodGenerateArgumentReferenceExpression(CodeArgumentReferenceExpression)

Generates code for the specified argument reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateArrayCreateExpression(CodeArrayCreateExpression)

Generates code for the specified array creation expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateArrayIndexerExpression(CodeArrayIndexerExpression)

Generates code for the specified array indexer expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateAssignStatement(CodeAssignStatement)

Generates code for the specified assignment statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateAttachEventStatement(CodeAttachEventStatement)

Generates code for the specified attach event statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateAttributeDeclarationsEnd(CodeAttributeDeclarationCollection)

Generates code for the specified attribute block end.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateAttributeDeclarationsStart(CodeAttributeDeclarationCollection)

Generates code for the specified attribute block start.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateBaseReferenceExpression(CodeBaseReferenceExpression)

Generates code for the specified base reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateBinaryOperatorExpression(CodeBinaryOperatorExpression)

Generates code for the specified binary operator expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCastExpression(CodeCastExpression)

Generates code for the specified cast expression.(Inherited from CodeGenerator.)

System_CAPS_pubmethodGenerateCodeFromMember(CodeTypeMember, TextWriter, CodeGeneratorOptions)

Generates code for the specified class member using the specified text writer and code generator options.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateComment(CodeComment)

Generates code for the specified comment.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCommentStatement(CodeCommentStatement)

Generates code for the specified comment statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCommentStatements(CodeCommentStatementCollection)

Generates code for the specified comment statements.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCompileUnit(CodeCompileUnit)

Generates code for the specified compile unit.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCompileUnitEnd(CodeCompileUnit)

Generates code for the end of a compile unit.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateCompileUnitStart(CodeCompileUnit)

Generates code for the start of a compile unit.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateConditionStatement(CodeConditionStatement)

Generates code for the specified conditional statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateConstructor(CodeConstructor, CodeTypeDeclaration)

Generates code for the specified constructor.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDecimalValue(Decimal)

Generates code for the specified decimal value.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDefaultValueExpression(CodeDefaultValueExpression)

Generates code for the specified reference to a default value.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDelegateCreateExpression(CodeDelegateCreateExpression)

Generates code for the specified delegate creation expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDelegateInvokeExpression(CodeDelegateInvokeExpression)

Generates code for the specified delegate invoke expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDirectionExpression(CodeDirectionExpression)

Generates code for the specified direction expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDirectives(CodeDirectiveCollection)

Generates code for the specified code directives.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateDoubleValue(Double)

Generates code for a double-precision floating point number.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateEntryPointMethod(CodeEntryPointMethod, CodeTypeDeclaration)

Generates code for the specified entry point method.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateEvent(CodeMemberEvent, CodeTypeDeclaration)

Generates code for the specified event.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateEventReferenceExpression(CodeEventReferenceExpression)

Generates code for the specified event reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateExpression(CodeExpression)

Generates code for the specified code expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateExpressionStatement(CodeExpressionStatement)

Generates code for the specified expression statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateField(CodeMemberField)

Generates code for the specified member field.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateFieldReferenceExpression(CodeFieldReferenceExpression)

Generates code for the specified field reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateGotoStatement(CodeGotoStatement)

Generates code for the specified goto statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateIndexerExpression(CodeIndexerExpression)

Generates code for the specified indexer expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateIterationStatement(CodeIterationStatement)

Generates code for the specified iteration statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateLabeledStatement(CodeLabeledStatement)

Generates code for the specified labeled statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateLinePragmaEnd(CodeLinePragma)

Generates code for the specified line pragma end.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateLinePragmaStart(CodeLinePragma)

Generates code for the specified line pragma start.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateMethod(CodeMemberMethod, CodeTypeDeclaration)

Generates code for the specified method.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateMethodInvokeExpression(CodeMethodInvokeExpression)

Generates code for the specified method invoke expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateMethodReferenceExpression(CodeMethodReferenceExpression)

Generates code for the specified method reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateMethodReturnStatement(CodeMethodReturnStatement)

Generates code for the specified method return statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespace(CodeNamespace)

Generates code for the specified namespace.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespaceEnd(CodeNamespace)

Generates code for the end of a namespace.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespaceImport(CodeNamespaceImport)

Generates code for the specified namespace import.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespaceImports(CodeNamespace)

Generates code for the specified namespace import.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespaces(CodeCompileUnit)

Generates code for the namespaces in the specified compile unit.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateNamespaceStart(CodeNamespace)

Generates code for the start of a namespace.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateObjectCreateExpression(CodeObjectCreateExpression)

Generates code for the specified object creation expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateParameterDeclarationExpression(CodeParameterDeclarationExpression)

Generates code for the specified parameter declaration expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGeneratePrimitiveExpression(CodePrimitiveExpression)

Generates code for the specified primitive expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateProperty(CodeMemberProperty, CodeTypeDeclaration)

Generates code for the specified property.(Inherited from CodeGenerator.)

System_CAPS_protmethodGeneratePropertyReferenceExpression(CodePropertyReferenceExpression)

Generates code for the specified property reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGeneratePropertySetValueReferenceExpression(CodePropertySetValueReferenceExpression)

Generates code for the specified property set value reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateRemoveEventStatement(CodeRemoveEventStatement)

Generates code for the specified remove event statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateSingleFloatValue(Single)

Generates code for a single-precision floating point number.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateSnippetCompileUnit(CodeSnippetCompileUnit)

Outputs the code of the specified literal code fragment compile unit.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateSnippetExpression(CodeSnippetExpression)

Outputs the code of the specified literal code fragment expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateSnippetMember(CodeSnippetTypeMember)

Outputs the code of the specified literal code fragment class member.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateSnippetStatement(CodeSnippetStatement)

Outputs the code of the specified literal code fragment statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateStatement(CodeStatement)

Generates code for the specified statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateStatements(CodeStatementCollection)

Generates code for the specified statement collection.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateThisReferenceExpression(CodeThisReferenceExpression)

Generates code for the specified this reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateThrowExceptionStatement(CodeThrowExceptionStatement)

Generates code for the specified throw exception statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTryCatchFinallyStatement(CodeTryCatchFinallyStatement)

Generates code for the specified try...catch...finally statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypeConstructor(CodeTypeConstructor)

Generates code for the specified class constructor.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypeEnd(CodeTypeDeclaration)

Generates code for the specified end of the class.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypeOfExpression(CodeTypeOfExpression)

Generates code for the specified type of expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypeReferenceExpression(CodeTypeReferenceExpression)

Generates code for the specified type reference expression.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypes(CodeNamespace)

Generates code for the specified namespace and the classes it contains.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateTypeStart(CodeTypeDeclaration)

Generates code for the specified start of the class.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateVariableDeclarationStatement(CodeVariableDeclarationStatement)

Generates code for the specified variable declaration statement.(Inherited from CodeGenerator.)

System_CAPS_protmethodGenerateVariableReferenceExpression(CodeVariableReferenceExpression)

Generates code for the specified variable reference expression.(Inherited from CodeGenerator.)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_protmethodGetResponseFileCmdArgs(CompilerParameters, String)

Gets the command arguments to use when invoking the compiler to generate a response file.

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodGetTypeOutput(CodeTypeReference)

Gets the name of the specified data type.(Inherited from CodeGenerator.)

System_CAPS_protmethodIsValidIdentifier(String)

Gets a value indicating whether the specified value is a valid identifier.(Inherited from CodeGenerator.)

System_CAPS_protmethodSystem_CAPS_staticJoinStringArray(String[], String)

Joins the specified string arrays.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_protmethodOutputAttributeArgument(CodeAttributeArgument)

Outputs an argument in an attribute block.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputAttributeDeclarations(CodeAttributeDeclarationCollection)

Generates code for the specified attribute declaration collection.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputDirection(FieldDirection)

Generates code for the specified FieldDirection.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputExpressionList(CodeExpressionCollection)

Generates code for the specified expression list.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputExpressionList(CodeExpressionCollection, Boolean)

Generates code for the specified expression list.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputFieldScopeModifier(MemberAttributes)

Outputs a field scope modifier that corresponds to the specified attributes.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputIdentifier(String)

Outputs the specified identifier.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputMemberAccessModifier(MemberAttributes)

Generates code for the specified member access modifier.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputMemberScopeModifier(MemberAttributes)

Generates code for the specified member scope modifier.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputOperator(CodeBinaryOperatorType)

Generates code for the specified operator.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputParameters(CodeParameterDeclarationExpressionCollection)

Generates code for the specified parameters.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputType(CodeTypeReference)

Generates code for the specified type.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputTypeAttributes(TypeAttributes, Boolean, Boolean)

Generates code for the specified type attributes.(Inherited from CodeGenerator.)

System_CAPS_protmethodOutputTypeNamePair(CodeTypeReference, String)

Generates code for the specified object type and name pair.(Inherited from CodeGenerator.)

System_CAPS_protmethodProcessCompilerOutputLine(CompilerResults, String)

Processes the specified line from the specified CompilerResults.

System_CAPS_protmethodQuoteSnippetString(String)

Converts the specified string by formatting it with escape codes.(Inherited from CodeGenerator.)

System_CAPS_protmethodSupports(GeneratorSupport)

Gets a value indicating whether the specified code generation support is provided.(Inherited from CodeGenerator.)

System_CAPS_pubmethodToString()

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

System_CAPS_protmethodValidateIdentifier(String)

Throws an exception if the specified string is not a valid identifier.(Inherited from CodeGenerator.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromDom.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters, CodeCompileUnit[])

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromDomBatch.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromFile(CompilerParameters, String)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromFile.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters, String[])

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromFileBatch.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromSource(CompilerParameters, String)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromSource.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters, String[])

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICodeCompiler.CompileAssemblyFromSourceBatch.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.CreateEscapedIdentifier(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an escaped identifier for the specified value.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.CreateValidIdentifier(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a valid identifier for the specified value.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GenerateCodeFromCompileUnit(CodeCompileUnit, TextWriter, CodeGeneratorOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates code for the specified Code Document Object Model (CodeDOM) compilation unit and outputs it to the specified text writer using the specified options.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GenerateCodeFromExpression(CodeExpression, TextWriter, CodeGeneratorOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates code for the specified Code Document Object Model (CodeDOM) expression and outputs it to the specified text writer.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GenerateCodeFromNamespace(CodeNamespace, TextWriter, CodeGeneratorOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates code for the specified Code Document Object Model (CodeDOM) namespace and outputs it to the specified text writer using the specified options.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GenerateCodeFromStatement(CodeStatement, TextWriter, CodeGeneratorOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates code for the specified Code Document Object Model (CodeDOM) statement and outputs it to the specified text writer using the specified options.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GenerateCodeFromType(CodeTypeDeclaration, TextWriter, CodeGeneratorOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates code for the specified Code Document Object Model (CodeDOM) type declaration and outputs it to the specified text writer using the specified options.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.GetTypeOutput(CodeTypeReference)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type indicated by the specified CodeTypeReference.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.IsValidIdentifier(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates whether the specified value is a valid identifier for the current language.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.Supports(GeneratorSupport)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value indicating whether the generator provides support for the language features represented by the specified GeneratorSupport object.(Inherited from CodeGenerator.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICodeGenerator.ValidateIdentifier(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Throws an exception if the specified value is not a valid identifier.(Inherited from CodeGenerator.)

CodeCompiler is a useful utility base class for code generators to derive from in order to provide code compilation functions.

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.

LinkDemand

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

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:
© 2016 Microsoft