46 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)
282
GenericContextLoc
GetGenericContextLoc(MethodDescHandle methodDescHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (33)
Contracts\CallingConvention\CallingConvention_1.cs (10)
151
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(methodDesc);
152
requiresInstArg = ctxLoc is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable;
375
GenericContextLoc
ctxLoc =
GenericContextLoc
.None;
419
if (ctxLoc ==
GenericContextLoc
.None)
424
GenericContextLoc
.InstArgMethodDesc => GCRefMapToken.MethodParam,
425
GenericContextLoc
.InstArgMethodTable => GCRefMapToken.TypeParam,
589
private static
GenericContextLoc
SafeGetGenericContextLoc(IRuntimeTypeSystem rts, MethodDescHandle md)
597
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)
563
public bool TryGetGenericContextStorage(
GenericContextLoc
contextKind, uint instructionOffset, out GenericContextStorage storage)
565
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)
1703
public
GenericContextLoc
GetGenericContextLoc(MethodDescHandle methodDescHandle)
1707
return
GenericContextLoc
.None;
1709
return
GenericContextLoc
.InstArgMethodDesc;
1711
return
GenericContextLoc
.InstArgMethodTable;
1713
return
GenericContextLoc
.ThisPtr;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
228
(!dispatch && rts.GetGenericContextLoc(md) is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable))
Contracts\StackWalk\FrameHandling\MethodGCRefMapLookup.cs (4)
56
(!dispatch && _rts.GetGenericContextLoc(method) is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable))
252
_rts.GetGenericContextLoc(md) is
GenericContextLoc
.InstArgMethodDesc or
GenericContextLoc
.InstArgMethodTable)
Contracts\StackWalk\StackWalk_1.cs (3)
1207
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(md);
1208
if (ctxLoc ==
GenericContextLoc
.None)
1230
return ctxLoc ==
GenericContextLoc
.ThisPtr
Microsoft.Diagnostics.DataContractReader.Legacy (11)
Dbi\DacDbiImpl.cs (11)
2286
GenericContextLoc
genericContextLoc = rts.GetGenericContextLoc(md);
2287
if (genericContextLoc !=
GenericContextLoc
.None)
2297
data.v.dwExactGenericArgsTokenIndex = genericContextLoc ==
GenericContextLoc
.ThisPtr ? 0u : unchecked((uint)IlNum.TYPECTXT_ILNUM);
3820
GenericContextLoc
ctxLoc = rts.GetGenericContextLoc(pRepMethod);
3821
if (ctxLoc ==
GenericContextLoc
.None)
3829
if (ctxLoc ==
GenericContextLoc
.InstArgMethodDesc)
3836
else if (ctxLoc ==
GenericContextLoc
.InstArgMethodTable)
6587
case
GenericContextLoc
.None:
6590
case
GenericContextLoc
.InstArgMethodDesc:
6591
case
GenericContextLoc
.InstArgMethodTable:
6594
case
GenericContextLoc
.ThisPtr: