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)
274GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (27)
Contracts\CallingConvention\CallingConvention_1.cs (10)
105GenericContextLoc ctxLoc = rts.GetGenericContextLoc(methodDesc); 106requiresInstArg = ctxLoc is GenericContextLoc.InstArgMethodDesc or GenericContextLoc.InstArgMethodTable; 607GenericContextLoc ctxLoc = GenericContextLoc.None; 651if (ctxLoc == GenericContextLoc.None) 656GenericContextLoc.InstArgMethodDesc => GCRefMapToken.MethodParam, 657GenericContextLoc.InstArgMethodTable => GCRefMapToken.TypeParam, 833private static GenericContextLoc SafeGetGenericContextLoc(IRuntimeTypeSystem rts, MethodDescHandle md) 841return 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)
558public bool TryGetGenericContextStorage(GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage) 560if (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)
455bool IGCInfoDecoder.TryGetGenericContextStorage(GenericContextLoc contextKind, uint instructionOffset, out GenericContextStorage storage) 464if (contextKind is GenericContextLoc.InstArgMethodDesc or GenericContextLoc.InstArgMethodTable) 482if (contextKind != GenericContextLoc.ThisPtr)
Contracts\RuntimeTypeSystem_1.cs (5)
1649public GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) 1653return GenericContextLoc.None; 1655return GenericContextLoc.InstArgMethodDesc; 1657return GenericContextLoc.InstArgMethodTable; 1659return GenericContextLoc.ThisPtr;
Contracts\StackWalk\StackWalk_1.cs (3)
1134GenericContextLoc ctxLoc = rts.GetGenericContextLoc(md); 1135if (ctxLoc == GenericContextLoc.None) 1157return ctxLoc == GenericContextLoc.ThisPtr
Microsoft.Diagnostics.DataContractReader.Legacy (11)
Dbi\DacDbiImpl.cs (11)
2154GenericContextLoc genericContextLoc = rts.GetGenericContextLoc(md); 2155if (genericContextLoc != GenericContextLoc.None) 2165data.v.dwExactGenericArgsTokenIndex = genericContextLoc == GenericContextLoc.ThisPtr ? 0u : unchecked((uint)IlNum.TYPECTXT_ILNUM); 3648GenericContextLoc ctxLoc = rts.GetGenericContextLoc(pRepMethod); 3649if (ctxLoc == GenericContextLoc.None) 3657if (ctxLoc == GenericContextLoc.InstArgMethodDesc) 3664else if (ctxLoc == GenericContextLoc.InstArgMethodTable) 6334case GenericContextLoc.None: 6337case GenericContextLoc.InstArgMethodDesc: 6338case GenericContextLoc.InstArgMethodTable: 6341case GenericContextLoc.ThisPtr: