Space Engineers
Static Public Member Functions | Static Public Attributes | List of all members
VRage.Compiler.IlCompiler Class Reference

Static Public Member Functions

static string[] UpdateCompatibility (string[] files)
 
static string UpdateCompatibility (string filename)
 
static bool CompileFileModAPI (string assemblyName, string[] files, out Assembly assembly, List< string > errors)
 
static bool CompileStringIngame (string assemblyName, string[] source, out Assembly assembly, List< string > errors)
 
static bool Compile (string assemblyName, string[] fileContents, out Assembly assembly, List< string > errors, bool isIngameScript)
 
static bool Compile (string[] instructions, out Assembly assembly, bool isIngameScript, bool wrap=true)
 

Static Public Attributes

static System.CodeDom.Compiler.CompilerParameters Options
 
static string CompatibilityUsings
 Usings that will be added to scripts before compilation. Those usings will replace default ones. More...
 
static StringBuilder Buffer = new StringBuilder()
 

Detailed Description

Definition at line 62 of file IlCompiler.cs.

Member Function Documentation

static bool VRage.Compiler.IlCompiler.Compile ( string  assemblyName,
string[]  fileContents,
out Assembly  assembly,
List< string >  errors,
bool  isIngameScript 
)
inlinestatic

Definition at line 245 of file IlCompiler.cs.

static bool VRage.Compiler.IlCompiler.Compile ( string[]  instructions,
out Assembly  assembly,
bool  isIngameScript,
bool  wrap = true 
)
inlinestatic

Definition at line 253 of file IlCompiler.cs.

static bool VRage.Compiler.IlCompiler.CompileFileModAPI ( string  assemblyName,
string[]  files,
out Assembly  assembly,
List< string >  errors 
)
inlinestatic

Definition at line 164 of file IlCompiler.cs.

static bool VRage.Compiler.IlCompiler.CompileStringIngame ( string  assemblyName,
string[]  source,
out Assembly  assembly,
List< string >  errors 
)
inlinestatic

Definition at line 175 of file IlCompiler.cs.

static string [] VRage.Compiler.IlCompiler.UpdateCompatibility ( string[]  files)
inlinestatic

Definition at line 130 of file IlCompiler.cs.

static string VRage.Compiler.IlCompiler.UpdateCompatibility ( string  filename)
inlinestatic

Definition at line 141 of file IlCompiler.cs.

Member Data Documentation

StringBuilder VRage.Compiler.IlCompiler.Buffer = new StringBuilder()
static

Definition at line 287 of file IlCompiler.cs.

string VRage.Compiler.IlCompiler.CompatibilityUsings
static
Initial value:
= "using VRage;\r\n"
+ "using VRage.Game.Components;\r\n"
+ "using VRage.ObjectBuilders;\r\n"
+ "using VRage.ModAPI;\r\n"
+ "using VRage.Game.ModAPI;\r\n"
+ "using Sandbox.Common.ObjectBuilders;\r\n"
+ "using VRage.Game;\r\n"
+ "using Sandbox.ModAPI;\r\n"
+ "using VRage.Game.ModAPI.Interfaces;\r\n"
+ "using SpaceEngineers.Game.ModAPI;\r\n"

Usings that will be added to scripts before compilation. Those usings will replace default ones.

Definition at line 71 of file IlCompiler.cs.

System.CodeDom.Compiler.CompilerParameters VRage.Compiler.IlCompiler.Options
static

Definition at line 66 of file IlCompiler.cs.


The documentation for this class was generated from the following file: