VisualBasicCompiler

Ecng.Compilation.Roslyn

Represents a Visual Basic compiler that supports compiling source files into an assembly.

Hereda de: RoslynCompiler

Constructores

VisualBasicCompiler
public VisualBasicCompiler()
visualBasicCompiler = VisualBasicCompiler()

Initializes a new instance of the VisualBasicCompiler class.

Propiedades

IsCaseSensitive
public override bool IsCaseSensitive { get; }
value = visualBasicCompiler.IsCaseSensitive

Gets a value indicating whether the language is case sensitive.

IsReferencesSupported
public override bool IsReferencesSupported { get; }
value = visualBasicCompiler.IsReferencesSupported

Gets a value indicating whether the compiler supports external references.

IsTabsSupported
public override bool IsTabsSupported { get; }
value = visualBasicCompiler.IsTabsSupported

Gets a value indicating whether the compiler supports tabs in the source code.

Métodos

Create
protected override Compilation Create(string assemblyName, IEnumerable<string> sources, PortableExecutableReference[] references, CancellationToken cancellationToken)
result = visualBasicCompiler.Create(assemblyName, sources, references, cancellationToken)

Creates a new compilation instance.

assemblyName
The name of the assembly.
sources
The source code files as strings.
references
A collection of references.
cancellationToken
CancellationToken

Devuelve: Compilation