40 references to GenericContextLoc
Microsoft.Diagnostics.DataContractReader.Abstractions (2)
Contracts\IGCInfo.cs (1)
146
bool TryGetGenericContextStorage(IGCInfoHandle handle,
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage) => throw new NotImplementedException();
Contracts\IRuntimeTypeSystem.cs (1)
274
GenericContextLoc
GetGenericContextLoc(MethodDescHandle methodDescHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (27)
Contracts\CallingConvention\CallingConvention_1.cs (10)
151
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(methodDesc);
152
requiresInstArg = ctxLoc is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable;
376
GenericContextLoc
ctxLoc =
GenericContextLoc
.None;
420
if (ctxLoc ==
GenericContextLoc
.None)
425
GenericContextLoc
.InstArgMethodDesc => GCRefMapToken.MethodParam,
426
GenericContextLoc
.InstArgMethodTable => GCRefMapToken.TypeParam,
601
private static
GenericContextLoc
SafeGetGenericContextLoc(IRuntimeTypeSystem rts, MethodDescHandle md)
609
return
GenericContextLoc
.None;
Contracts\GCInfo\GCInfo_1.cs (1)
73
bool IGCInfo.TryGetGenericContextStorage(IGCInfoHandle gcInfoHandle,
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage)
Contracts\GCInfo\GCInfoDecoder.cs (2)
558
public bool TryGetGenericContextStorage(
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage)
560
if (TTraits.IsInterpreter && contextKind ==
GenericContextLoc
.ThisPtr)
Contracts\GCInfo\GCInfoX86_1.cs (1)
55
bool IGCInfo.TryGetGenericContextStorage(IGCInfoHandle gcInfoHandle,
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage)
Contracts\GCInfo\IGCInfoDecoder.cs (1)
25
bool TryGetGenericContextStorage(
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage);
Contracts\GCInfo\X86\GCInfo.cs (4)
457
bool IGCInfoDecoder.TryGetGenericContextStorage(
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage)
466
if (contextKind is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable)
484
if (contextKind !=
GenericContextLoc
.ThisPtr)
Contracts\RuntimeTypeSystem_1.cs (5)
1649
public
GenericContextLoc
GetGenericContextLoc(MethodDescHandle methodDescHandle)
1653
return
GenericContextLoc
.None;
1655
return
GenericContextLoc
.InstArgMethodDesc;
1657
return
GenericContextLoc
.InstArgMethodTable;
1659
return
GenericContextLoc
.ThisPtr;
Contracts\StackWalk\StackWalk_1.cs (3)
1138
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(md);
1139
if (ctxLoc ==
GenericContextLoc
.None)
1161
return ctxLoc ==
GenericContextLoc
.ThisPtr
Microsoft.Diagnostics.DataContractReader.Legacy (11)
Dbi\DacDbiImpl.cs (11)
2238
GenericContextLoc
genericContextLoc = rts.GetGenericContextLoc(md);
2239
if (genericContextLoc !=
GenericContextLoc
.None)
2249
data.v.dwExactGenericArgsTokenIndex = genericContextLoc ==
GenericContextLoc
.ThisPtr ? 0u : unchecked((uint)IlNum.TYPECTXT_ILNUM);
3758
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(pRepMethod);
3759
if (ctxLoc ==
GenericContextLoc
.None)
3767
if (ctxLoc ==
GenericContextLoc
.InstArgMethodDesc)
3774
else if (ctxLoc ==
GenericContextLoc
.InstArgMethodTable)
6535
case
GenericContextLoc
.None:
6538
case
GenericContextLoc
.InstArgMethodDesc:
6539
case
GenericContextLoc
.InstArgMethodTable:
6542
case
GenericContextLoc
.ThisPtr: