8 instantiations of TypeToken
mscorlib (8)
system\reflection\emit\modulebuilder.cs (4)
1719
return new
TypeToken
(GetTokenFromTypeSpec(sig, length));
1745
return new
TypeToken
(paramBuilder.MetadataTokenInternal);
1748
return new
TypeToken
(GetTypeRefNested(type, this, String.Empty));
1785
return new
TypeToken
(GetTypeRefNested(type, refedModule, strRefedModuleFileName));
system\reflection\emit\typebuilder.cs (3)
565
m_tdType = new
TypeToken
((int)MetadataTokenType.TypeDef);
702
m_tdType = new
TypeToken
(DefineType(m_module.GetNativeHandle(),
2330
m_tdType = new
TypeToken
(DefineGenericParam(m_module.GetNativeHandle(),
system\reflection\emit\typetoken.cs (1)
28
public static readonly TypeToken Empty = new
TypeToken
();
21 references to TypeToken
mscorlib (21)
system\reflection\emit\enumbuilder.cs (1)
68
public
TypeToken
TypeToken {
system\reflection\emit\modulebuilder.cs (6)
1668
internal
TypeToken
GetTypeTokenInternal(Type type)
1674
private
TypeToken
GetTypeTokenInternal(Type type, bool getGenericDefinition)
1683
public
TypeToken
GetTypeToken(Type type)
1691
private
TypeToken
GetTypeTokenWorkerNoLock(Type type, bool getGenericDefinition)
1788
public
TypeToken
GetTypeToken(String name)
2075
TypeToken
typeSpec = GetTypeTokenInternal(arrayClass);
system\reflection\emit\signaturehelper.cs (3)
392
TypeToken
tkType;
415
TypeToken
tkType;
611
private void InternalAddTypeToken(
TypeToken
clsToken, CorElementType CorType)
system\reflection\emit\typebuilder.cs (3)
532
private
TypeToken
m_tdType;
2528
TypeToken
tkInterface = m_module.GetTypeTokenInternal(interfaceType);
2578
public
TypeToken
TypeToken
system\reflection\emit\typetoken.cs (8)
28
public static readonly
TypeToken
Empty = new TypeToken();
53
if (obj is
TypeToken
)
54
return Equals((
TypeToken
)obj);
59
public bool Equals(
TypeToken
obj)
64
public static bool operator ==(
TypeToken
a,
TypeToken
b)
69
public static bool operator !=(
TypeToken
a,
TypeToken
b)