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;
    }