40 references to GenericContextLoc
Microsoft.Diagnostics.DataContractReader.Abstractions (2)
Contracts\IGCInfo.cs (1)
146bool TryGetGenericContextStorage(IGCInfoHandle handle, GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage) => throw new NotImplementedException();
Contracts\IRuntimeTypeSystem.cs (1)
281GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (27)
Contracts\CallingConvention\CallingConvention_1.cs (10)
151GenericContextLoc ctxLoc = rts.GetGenericContextLoc(methodDesc); 152requiresInstArg = ctxLoc is GenericContextLoc.InstArgMethodDesc or GenericContextLoc.InstArgMethodTable; 375GenericContextLoc ctxLoc = GenericContextLoc.None; 419if (ctxLoc == GenericContextLoc.None) 424GenericContextLoc.InstArgMethodDesc => GCRefMapToken.MethodParam, 425GenericContextLoc.InstArgMethodTable => GCRefMapToken.TypeParam, 590private static GenericContextLoc SafeGetGenericContextLoc(IRuntimeTypeSystem rts, MethodDescHandle md) 598return GenericContextLoc.None;
Contracts\GCInfo\GCInfo_1.cs (1)
73bool IGCInfo.TryGetGenericContextStorage(IGCInfoHandle gcInfoHandle, GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage)
Contracts\GCInfo\GCInfoDecoder.cs (2)
560public bool TryGetGenericContextStorage(GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage) 562if (TTraits.IsInterpreter && contextKind == GenericContextLoc.ThisPtr)
Contracts\GCInfo\GCInfoX86_1.cs (1)
55bool IGCInfo.TryGetGenericContextStorage(IGCInfoHandle gcInfoHandle, GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage)
Contracts\GCInfo\IGCInfoDecoder.cs (1)
25bool TryGetGenericContextStorage(GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage);
Contracts\GCInfo\X86\GCInfo.cs (4)
457bool IGCInfoDecoder.TryGetGenericContextStorage(GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage) 466if (contextKind is GenericContextLoc.InstArgMethodDesc or GenericContextLoc.InstArgMethodTable) 484if (contextKind != GenericContextLoc.ThisPtr)
Contracts\RuntimeTypeSystem_1.cs (5)
1664public GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) 1668return GenericContextLoc.None; 1670return GenericContextLoc.InstArgMethodDesc; 1672return GenericContextLoc.InstArgMethodTable; 1674return GenericContextLoc.ThisPtr;
Contracts\StackWalk\StackWalk_1.cs (3)
1138GenericContextLoc ctxLoc = rts.GetGenericContextLoc(md); 1139if (ctxLoc == GenericContextLoc.None) 1161return ctxLoc == GenericContextLoc.ThisPtr
Microsoft.Diagnostics.DataContractReader.Legacy (11)
Dbi\DacDbiImpl.cs (11)
2257GenericContextLoc genericContextLoc = rts.GetGenericContextLoc(md); 2258if (genericContextLoc != GenericContextLoc.None) 2268data.v.dwExactGenericArgsTokenIndex = genericContextLoc == GenericContextLoc.ThisPtr ? 0u : unchecked((uint)IlNum.TYPECTXT_ILNUM); 3777GenericContextLoc ctxLoc = rts.GetGenericContextLoc(pRepMethod); 3778if (ctxLoc == GenericContextLoc.None) 3786if (ctxLoc == GenericContextLoc.InstArgMethodDesc) 3793else if (ctxLoc == GenericContextLoc.InstArgMethodTable) 6555case GenericContextLoc.None: 6558case GenericContextLoc.InstArgMethodDesc: 6559case GenericContextLoc.InstArgMethodTable: 6562case GenericContextLoc.ThisPtr: