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

GetTypeReference() приватный Метод

private GetTypeReference ( TypeReference typeRef ) : Type
typeRef TypeReference
Результат System.Type
    private Type GetTypeReference(TypeReference typeRef) {
      Type type = this._typeTable[(int)typeRef];
      if (null == type) {
        string prefix = "Microsoft.JScript.";
        if ((int)typeRef >= TypeReferenceStartOfSpecialCases) {
          // Special Cases
          switch (typeRef) {
            case TypeReference.BaseVsaStartup: prefix = "Microsoft.Vsa."; break;
            case TypeReference.VsaEngine: prefix = "Microsoft.JScript.Vsa."; break;
          }
        }
        
        type = this.JScriptReferenceModule.GetType(prefix+System.Enum.GetName(typeof(TypeReference), (int)typeRef));
        this._typeTable[(int)typeRef] = type;
      }
      return type;
    }