Configurationclass
Constructors1
Showing 1 constructors
public Configuration()
No results match this filter.
Methods3
Showing 3 methods
public void Clean()
void—public Microsoft.CodeAnalysis.CSharp.CSharpParseOptions GetParseOptions()
Returns the CSharpParseOptions for this configuration, which includes the preprocessor symbols defined in `Sandbox.Compiler.Configuration.DefineConstants`.
CSharpParseOptions—public System.Collections.Generic.HashSet`1<string> GetPreprocessorSymbols()
Fetches the preprocessor symbols, which might've changed based on criteria
HashSet<string>—No results match this filter.
Properties13
Showing 13 properties
public System.Collections.Generic.List`1<string> Sandbox.Compiler.Configuration.AssemblyReferences { get; set; }
References to non-package assemblies, by assembly name.
List<string>—public string Sandbox.Compiler.Configuration.DefineConstants { get; set; }
string—public System.Collections.Generic.IReadOnlySet`1<string> Sandbox.Compiler.Configuration.DistinctAssemblyReferences { get; set; }
Each unique element of `Sandbox.Compiler.Configuration.AssemblyReferences`
IReadOnlySet<string>—public System.Collections.Generic.HashSet`1<string> Sandbox.Compiler.Configuration.IgnoreFolders { get; set; }
Folders to ignore when walking the tree
HashSet<string>—public string Sandbox.Compiler.Configuration.NoWarn { get; set; }
string—public bool Sandbox.Compiler.Configuration.Nullables { get; set; }
bool—public Sandbox.Compiler.ReleaseMode Sandbox.Compiler.Configuration.ReleaseMode { get; set; }
The current release mode. This only matters during local development. Published games are always built in release mode, where optimizations are enabled and debugging is limited (breakpoints, sequence points, and locals may be unavailable).
public System.Collections.Generic.Dictionary`2<string,string> Sandbox.Compiler.Configuration.ReplacementDirectives { get; set; }
Maps file patterns to preprocessor directives they should be wrapped in
Dictionary<string,string>—public string Sandbox.Compiler.Configuration.RootNamespace { get; set; }
string—public bool Sandbox.Compiler.Configuration.TreatWarningsAsErrors { get; set; }
bool—public bool Sandbox.Compiler.Configuration.Unsafe { get; set; }
If true, we'll compile with /unsafe. This means that the package won't be able to be published on the platform.
bool—public string Sandbox.Compiler.Configuration.WarningsAsErrors { get; set; }
string—public bool Sandbox.Compiler.Configuration.Whitelist { get; set; }
If true, we will be using the whitelist system. If false then this package won't be "sandboxed", so won't be able to be published on the platform.
bool—No results match this filter.