예제 #1
0
        public static TypeReference ParseType(ModuleDefinition module, string fullname)
        {
            if (string.IsNullOrEmpty(fullname))
            {
                return(null);
            }

            var parser = new TypeParser(fullname);

            return(GetTypeReference(module, parser.ParseType(true)));
        }
예제 #2
0
 public TypeReference GetType(string fullName, bool runtimeName)
 {
     return(runtimeName
                         ? TypeParser.ParseType(this, fullName)
                         : GetType(fullName));
 }