コード例 #1
0
 /// <summary>
 /// Parses a type name and creates a <see cref="IType"/>
 /// </summary>
 /// <returns>A new <see cref="IType"/> instance</returns>
 /// <exception cref="TypeNameParserException">If parsing failed</exception>
 internal ITypeDefOrRef Parse()
 {
     return(ownerModule.UpdateRowId(ParseAsTypeSig().ToTypeDefOrRef()));
 }
コード例 #2
0
 AssemblyRef CreateCorLibAssemblyRef()
 {
     return(module.UpdateRowId(AssemblyRefUser.CreateMscorlibReferenceCLR20()));
 }