System.CodeDom.Compiler.CodeDomProvider.CreateCompiler Method

When overridden in a derived class, creates a new code compiler.

Syntax

[System.Obsolete("ICodeCompiler is obsolete")]
public abstract ICodeCompiler CreateCompiler ()

Returns

An System.CodeDom.Compiler.ICodeCompiler that can be used for compilation of System.CodeDom based source code representations.

Remarks

This method is obsolete in the dnprdnext. The recommended alternative is to call the System.CodeDom.Compiler.ICodeCompiler methods that are directly available in the code provider.

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0