24 references to GenericContextLoc
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeTypeSystem.cs (1)
243GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (15)
Contracts\CallingConvention\CallingConvention_1.cs (10)
105GenericContextLoc ctxLoc = rts.GetGenericContextLoc(methodDesc); 106requiresInstArg = ctxLoc is GenericContextLoc.InstArgMethodDesc or GenericContextLoc.InstArgMethodTable; 609GenericContextLoc ctxLoc = GenericContextLoc.None; 626if (ctxLoc == GenericContextLoc.None) 631GenericContextLoc.InstArgMethodDesc => GCRefMapToken.MethodParam, 632GenericContextLoc.InstArgMethodTable => GCRefMapToken.TypeParam, 810private static GenericContextLoc SafeGetGenericContextLoc(IRuntimeTypeSystem rts, MethodDescHandle md) 818return GenericContextLoc.None;
Contracts\RuntimeTypeSystem_1.cs (5)
1556public GenericContextLoc GetGenericContextLoc(MethodDescHandle methodDescHandle) 1560return GenericContextLoc.None; 1562return GenericContextLoc.InstArgMethodDesc; 1564return GenericContextLoc.InstArgMethodTable; 1566return GenericContextLoc.ThisPtr;
Microsoft.Diagnostics.DataContractReader.Legacy (8)
Dbi\DacDbiImpl.cs (8)
2899GenericContextLoc ctxLoc = rts.GetGenericContextLoc(pRepMethod); 2900if (ctxLoc == GenericContextLoc.None) 2908if (ctxLoc == GenericContextLoc.InstArgMethodDesc) 2915else if (ctxLoc == GenericContextLoc.InstArgMethodTable) 5556case GenericContextLoc.None: 5559case GenericContextLoc.InstArgMethodDesc: 5560case GenericContextLoc.InstArgMethodTable: 5563case GenericContextLoc.ThisPtr: