ReflectionPermission settings are required for PowerScript reflection functions and objects in .NET targets.
System function or object | Permission required |
---|---|
FindClassDefinition, FindTypeDefinition | TypeInformation |
ScriptDefinition object | TypeInformation |
<IPermission class= "System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="TypeInformation" />
<IPermission class="ReflectionPermission" version="1" Flags="TypeInformation"/>