public AssemblyQualifiedTypeName(ITypeDefinition typeDefinition)
 {
     this.AssemblyName = typeDefinition.ParentModule.AssemblyName;
     this.TypeName     = typeDefinition.FullTypeName;
 }
Пример #2
0
 internal static bool IsKnownType(this FullTypeName typeName, KnownAttribute knownType)
 {
     return(typeName == knownType.GetTypeName());
 }
 public AssemblyQualifiedTypeName(FullTypeName typeName, string assemblyName)
 {
     this.AssemblyName = assemblyName;
     this.TypeName     = typeName;
 }
Пример #4
0
 public static bool IsKnownType(this FullTypeName typeName, KnownTypeCode knownType)
 {
     return(typeName == KnownTypeReference.Get(knownType).TypeName);
 }