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