|
static RoslynCSharp | Settings [get] |
| Get the active settings. This will cause the settings to be loaded from resources if they are not already loaded.
|
|
bool | SecurityCheckCode [get, set] |
| Should loaded or compiled code be security checked.
|
|
bool | AllowPInvoke [get, set] |
| Should external pinvoke calls be allowed. It is highly recommended that this options remains disabled to prevent external unverified code from running.
|
|
CodeSecurityRestrictions | SecurityRestrictions [get] |
| The restrictions that are used to security check code.
|
|
LogDetail | LogLevel [get, set] |
| The log level used to determine which types of messages get logged to the console.
|
|
bool | AllowUnsafeCode [get, set] |
| Should the compiler allow unsafe code to be compiled.
|
|
bool | AllowOptimizeCode [get, set] |
| Should the compiler optimize the output.
|
|
bool | AllowConcurrentCompile [get, set] |
| Should the compiler use multiple threads to compile the code.
|
|
bool | Deterministic [get, set] |
|
bool | GenerateInMemory [get, set] |
| Should the compiler generate the output in memory or write it to the file system.
|
|
bool | GenerateSymbols [get, set] |
| Should the debug symbols pdb file be generated. When enabled, a pdb file or memory image will be generated depending upon the value of GenerateInMemory.
|
|
int | WarningLevel [get, set] |
| The current compiler warning level.
|
|
LanguageVersion | LanguageVersion [get, set] |
| The target C# language version that should be supported.
|
|
Platform | TargetPlatform [get, set] |
| The target platform architecture.
|
|
IList< string > | References [get] |
| A list of assembly references used by the compiler.
|
|
IList< AssemblyReferenceAsset > | ReferenceAssets [get] |
| A list of assembly reference assets used by the compiler.
|
|
IList< string > | DefineSymbols [get] |
| A list of define symbols used by the compiler.
|
|
bool | AllowHotReloading [get, set] |
| Should hot reloading be enabled while in play mode.
|
|
bool | HotReloadCopySerializedFields [get, set] |
| Should serialized fields be copied when a script is hot reloaded.
|
|
bool | HotReloadCopyNonSerializedFields [get, set] |
| Should non serialized fields be copied when a script is hot reloaded.
|
|
bool | HotReloadDestroyOriginalScript [get, set] |
| Should the original script be destroyed when a script is hot reloaded.
|
|
bool | HotReloadDisableOriginalScript [get, set] |
| Should the original script be disabled when a script is hot reloaded.
|
|
bool | HotReloadSecurityCheckCode [get, set] |
| Should code security verification checks run on reloaded code. It is recommended that you disable this option for quicker reload times.
|
|
bool | HotReloadUseCSharpProjectReferences [get, set] |
| Should reference assemblies by automatically detected by parsing the .csproj file generated by Unity. It is recommended that you enable this option to avoid missing reference errors when attempting to hot reload code at runtime.
|
|
The main settings for Roslyn C#.