CSharpCodeProvider.CreateCompiler Method

Definition

Caution

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.

Gets an instance of the C# code compiler.

public:
 override System::CodeDom::Compiler::ICodeCompiler ^ CreateCompiler();
public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
[System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")]
public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
[<System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")>]
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
Public Overrides Function CreateCompiler () As ICodeCompiler

Returns

An instance of the C# ICodeCompiler implementation.

Attributes

Applies to

See also