12 references to GetTypeToken
mscorlib (12)
system\reflection\emit\ilgenerator.cs (1)
735tempVal = modBuilder.GetTypeToken( cls ).Token;
system\reflection\emit\modulebuilder.cs (5)
750tkParent = GetTypeToken(method.DeclaringType).Token; 1796return GetTypeToken(InternalModule.GetType(name, false, true)); 1846tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token; 1885tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token; 1905tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token;
system\reflection\emit\signaturehelper.cs (6)
330int token = m_module.GetTypeToken(t).Token; 353int token = m_module.GetTypeToken(t).Token; 400tkType = m_module.GetTypeToken(clsArgument); 423tkType = m_module.GetTypeToken(clsArgument); 497InternalAddTypeToken(m_module.GetTypeToken(clsArgument), CorElementType.ValueType); 501InternalAddTypeToken(m_module.GetTypeToken(clsArgument), CorElementType.Class);