static private InExecutionContext ( |
||
type | ||
return | bool |
internal static bool InExecutionContext(Type type) {
if (type == null)
return true;
Assembly assembly = type.Assembly;
return !assembly.ReflectionOnly || assembly.Location != typeof(TypeReferences).Assembly.Location;
}