CompilerSettings Class

Defines the settings of a Compiler

Definition

Namespace: DevCase.Core.Diagnostics.CodeCompilation
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class CompilerSettings : IDisposable
Inheritance
Object    CompilerSettings
Implements
IDisposable

Constructors

CompilerSettings Initializes a new instance of the CompilerSettings class.

Properties

CodeProvider Gets or sets the code provider.
GenerateDebugInformation Gets or sets a value that instructs the compiler to generate debug information file (pdb).
GenerateWarnings Gets or sets a value that instructs the compiler to be able to generate warnings.
GenerateXmlDocumentation Gets or sets a value that instructs the compiler to generate Xml documentation file
HighEntropyEnabled Gets or sets a value that indicates whether a 64-bit executable or an executable that's marked by the AnyCpu compiler option supports high entropy Address Space Layout Randomization (ASLR).
IntegerOverflowChecksEnabled Gets or sets a value that turns overflow-error checking for integer operations on or off.
LibraryPaths Gets or sets a value that specifies additional directories in which to search for assembly references.
OptimizationsEnabled Gets or sets a value that enables or disables compiler optimizations.
OutputLanguage Gets or sets the language that the compiler will use to display the output messages.

This option is only available for C# compiler.

Platform Gets or sets a value that specifies which platform version of common language runtime (CLR) can run the output file.
SubsystemVersion Gets or sets a value that specifies the minimum version of the subsystem on which the generated executable file can run, thereby determining the versions of Windows on which the executable file can run. Most commonly, this option ensures that the executable file can leverage particular security features that aren’t available with older versions of Windows.
TempFileCollection Gets or sets the temporary files collection where the compiler stores the temporary files generated during a build.
TreatWarningsAsErrors Gets or sets a value instructs the compiler to treat warnings as errors.
Verbose Gets or sets a value that instructs the compiler to produce verbose status and error messages.
VerboseSyntax Gets or sets a value that instructs the compiler from displaying code for syntax-related errors and warnings.
WarningLevel Gets or sets the level at which the compiler should start displaying warnings.

Methods

Dispose Releases all the resources used by this instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also