11 instantiations of MethodToken
mscorlib (11)
system\reflection\emit\assemblybuilder.cs (1)
2075assemblyModule.SetEntryPoint(new MethodToken(m_assemblyData.m_entryPointModule.m_moduleData.FileToken));
system\reflection\emit\methodbuilder.cs (2)
745MethodToken currentToken = new MethodToken(0); 787m_tkMethod = new MethodToken(token);
system\reflection\emit\methodtoken.cs (1)
27public static readonly MethodToken Empty = new MethodToken();
system\reflection\emit\modulebuilder.cs (7)
585return new MethodToken( mr ); 1840return new MethodToken(methodToken); 1851return new MethodToken(GetMemberRefToken(method, null)); 1928return new MethodToken(mr); 1942return new MethodToken(GetMethodTokenInternal(constructor, optionalParameterTypes, false)); 1964return new MethodToken(GetMethodTokenInternal(method, optionalParameterTypes, true)); 2077return new MethodToken(GetArrayMethodToken(GetNativeHandle(),
35 references to MethodToken
mscorlib (35)
system\reflection\emit\assemblybuilder.cs (1)
1642MethodToken entryMethodToken = m_assemblyData.m_entryPointModule.GetMethodToken(entryMethod);
system\reflection\emit\constructorbuilder.cs (2)
42MethodToken token; 173public MethodToken GetToken()
system\reflection\emit\methodbuilder.cs (5)
32private MethodToken m_tkMethod; // The token of this method 377internal void SetToken(MethodToken token) 727public MethodToken GetToken() 745MethodToken currentToken = new MethodToken(0); 779private MethodToken GetTokenNoLock()
system\reflection\emit\methodtoken.cs (8)
27public static readonly MethodToken Empty = new MethodToken(); 45if (obj is MethodToken) 46return Equals((MethodToken)obj); 51public bool Equals(MethodToken obj) 56public static bool operator ==(MethodToken a, MethodToken b) 61public static bool operator !=(MethodToken a, MethodToken b)
system\reflection\emit\modulebuilder.cs (12)
104private MethodToken m_EntryPoint; 379internal void SetEntryPoint(MethodToken entryPoint) 514internal MethodToken InternalGetConstructorToken(ConstructorInfo con, bool usingRef) 1800public MethodToken GetMethodToken(MethodInfo method) 1809internal MethodToken GetMethodTokenInternal(MethodInfo method) 1822private MethodToken GetMethodTokenNoLock(MethodInfo method, bool getGenericTypeDefinition) 1932public MethodToken GetConstructorToken(ConstructorInfo constructor, IEnumerable<Type> optionalParameterTypes) 1947public MethodToken GetMethodToken(MethodInfo method, IEnumerable<Type> optionalParameterTypes) 2036public MethodToken GetArrayMethodToken(Type arrayClass, String methodName, CallingConventions callingConvention, 2046private MethodToken GetArrayMethodTokenNoLock(Type arrayClass, String methodName, CallingConventions callingConvention, 2093MethodToken token = GetArrayMethodToken(arrayClass, methodName, callingConvention, returnType, parameterTypes); 2100public MethodToken GetConstructorToken(ConstructorInfo con)
system\reflection\emit\symbolmethod.cs (4)
25private MethodToken m_mdMethod; 32internal SymbolMethod(ModuleBuilder mod, MethodToken token, Type arrayClass, String methodName, 72internal MethodToken GetToken(ModuleBuilder mod) 179public MethodToken GetToken()
system\reflection\emit\typebuilder.cs (3)
809MethodToken token = method.GetToken(); 1642MethodToken tkBody; 1643MethodToken tkDecl;