Microsoft.JScript.TypeReferences.InExecutionContext C# (CSharp) Метод

InExecutionContext() статический приватный Метод

static private InExecutionContext ( Type type ) : bool
type System.Type
Результат 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;
    }