56 references to CorTokenType
ILCompiler.ReadyToRun (56)
IBC\IBCDataModel.cs (38)
360
public static uint RidToToken(uint rid,
CorTokenType
tktype) { return (((uint)rid) | ((uint)tktype)); }
361
public static uint TokenFromRid(uint rid,
CorTokenType
tktype) { return (((uint)rid) | ((uint)tktype)); }
363
public static
CorTokenType
TypeFromToken(uint tk) { return ((
CorTokenType
)(((uint)tk) & 0xff000000)); }
389
ModuleProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtModule >> 24),
390
TypeRefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtTypeRef >> 24),
391
TypeProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtTypeDef >> 24),
392
FieldDefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtFieldDef >> 24),
393
MethodProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtMethodDef >> 24),
394
ParamDefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtParamDef >> 24),
395
InterfaceImplProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtInterfaceImpl >> 24),
396
MemberRefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtMemberRef >> 24),
397
ConstantProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtConstant >> 24),
398
CustomAttributeProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtCustomAttribute >> 24),
399
FieldMarshalProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtFieldMarshal >> 24),
400
PermissionProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtPermission >> 24),
401
ClassLayoutProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtClassLayout >> 24),
402
FieldLayoutProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtFieldLayout >> 24),
403
SignatureProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtSignature >> 24),
404
EventMapProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtEventMap >> 24),
405
EventProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtEvent >> 24),
406
PropertyMapProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtPropertyMap >> 24),
407
PropertyProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtProperty >> 24),
408
MethodSemanticsProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtMethodSemantics >> 24),
409
MethodImplProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtMethodImpl >> 24),
410
ModuleRefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtModuleRef >> 24),
411
TypeSpecProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtTypeSpec >> 24),
412
ImplMapProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtImplMap >> 24),
413
FieldRVAProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtFieldRVA >> 24),
414
AssemblyProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtAssembly >> 24),
415
AssemblyRefProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtAssemblyRef >> 24),
416
FileProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtFile >> 24),
417
ExportedTypeProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtExportedType >> 24),
418
ManifestResourceProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtManifestResource >> 24),
419
NestedClassProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtNestedClass >> 24),
420
GenericParamProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtGenericParam >> 24),
421
MethodSpecProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtMethodSpec >> 24),
422
GenericParamConstraintProfilingData = CONSTANT.FirstTokenFlagSection + ((int)
CorTokenType
.mdtGenericParamConstraint >> 24),
IBC\IBCProfileParser.cs (18)
106
case
CorTokenType
.mdtMethodDef:
107
case
CorTokenType
.mdtMemberRef:
108
case
CorTokenType
.mdtMethodSpec:
121
case
CorTokenType
.ibcMethodSpec:
208
if ((Cor.Macros.TypeFromToken(blob.Token) ==
CorTokenType
.ibcTypeSpec) ||
209
(Cor.Macros.TypeFromToken(blob.Token) ==
CorTokenType
.ibcMethodSpec))
303
return Cor.Macros.RidToToken(0,
CorTokenType
.mdtTypeDef); // Nil TypeDef token
320
if (Cor.Macros.TypeFromToken(nameSpaceToken) !=
CorTokenType
.ibcExternalNamespace)
328
return Cor.Macros.RidToToken(0,
CorTokenType
.mdtTypeDef); // Nil TypeDef token
337
if (Cor.Macros.TypeFromToken(enclosingTypeTokenValue) !=
CorTokenType
.mdtTypeDef)
373
return Cor.Macros.RidToToken(0,
CorTokenType
.mdtTypeDef); // Nil TypeDef token
392
return Cor.Macros.RidToToken(0,
CorTokenType
.mdtTypeDef); // Nil TypeDef token
460
return EcmaModule.GetObject(MetadataTokens.EntityHandle(((int)
CorTokenType
.mdtAssemblyRef) | index), NotFoundBehavior.ReturnNull) as EcmaModule;
672
uint ibcToken = Cor.Macros.TokenFromRid(rid,
CorTokenType
.ibcExternalType);
677
case
CorTokenType
.mdtTypeDef:
678
case
CorTokenType
.mdtTypeRef:
726
methodToken = Cor.Macros.TokenFromRid(methodRid,
CorTokenType
.mdtMethodDef);
730
uint ibcToken = Cor.Macros.TokenFromRid(methodRid,
CorTokenType
.ibcExternalMethod);