|
static Dictionary< Type, HashSet< MemberInfo > > | AllowedOperands = new Dictionary<Type, HashSet<MemberInfo>>() |
|
static Dictionary< Assembly, HashSet< String > > | AllowedNamespacesCommon = new Dictionary<Assembly, HashSet<string>>() |
|
static Dictionary< Assembly, HashSet< String > > | AllowedNamespacesModAPI = new Dictionary<Assembly, HashSet<string>>() |
|
Definition at line 12 of file IlChecker.cs.
static bool VRage.Compiler.IlChecker.AllowNamespaceOfTypeCommon |
( |
Type |
type | ) |
|
|
inlinestatic |
Allows the namespace of the type for both ModAPI and ingame programmable blocks.
- Parameters
-
type | Type whose namespace needs to be whitelisted for common listing. |
- Returns
- True if it was added, false otherwise.
Definition at line 228 of file IlChecker.cs.
static bool VRage.Compiler.IlChecker.AllowNamespaceOfTypeModAPI |
( |
Type |
type | ) |
|
|
inlinestatic |
Allows the namespace of the type for ModAPI only.
- Parameters
-
type | Type whose namespace needs to be whitelisted for ModAPI. |
- Returns
- True if it was added, false otherwise.
Definition at line 214 of file IlChecker.cs.
static bool VRage.Compiler.IlChecker.CheckIl |
( |
List< IlReader.IlInstruction > |
instructions, |
|
|
out Type |
failed, |
|
|
bool |
isIngameScript, |
|
|
Dictionary< Type, HashSet< MemberInfo >> |
allowedTypes = null |
|
) |
| |
|
inlinestatic |
Checks list of IL instructions against dangerous types
- Parameters
-
dangerousTypeNames | Full names of dangerous types |
Definition at line 241 of file IlChecker.cs.
static bool VRage.Compiler.IlChecker.CheckTypeAndMember |
( |
Type |
type, |
|
|
bool |
isIngameScript, |
|
|
MemberInfo |
memberInfo = null |
|
) |
| |
|
inlinestatic |
static void VRage.Compiler.IlChecker.Clear |
( |
| ) |
|
|
inlinestatic |
static bool VRage.Compiler.IlChecker.HasMethodInvalidAtrributes |
( |
MethodAttributes |
Attributes | ) |
|
|
inlinestatic |
static bool VRage.Compiler.IlChecker.IsMethodFromParent |
( |
Type |
classType, |
|
|
MethodBase |
method |
|
) |
| |
|
inlinestatic |
Dictionary<Assembly, HashSet<String> > VRage.Compiler.IlChecker.AllowedNamespacesCommon = new Dictionary<Assembly, HashSet<string>>() |
|
static |
Dictionary<Assembly, HashSet<String> > VRage.Compiler.IlChecker.AllowedNamespacesModAPI = new Dictionary<Assembly, HashSet<string>>() |
|
static |
Dictionary<Type, HashSet<MemberInfo> > VRage.Compiler.IlChecker.AllowedOperands = new Dictionary<Type, HashSet<MemberInfo>>() |
|
static |
The documentation for this class was generated from the following file: