17 references to GenericContextSource
ILCompiler.Compiler (12)
Compiler\Compilation.cs (6)
380GenericContextSource contextSource; 384contextSource = GenericContextSource.MethodParameter; 388contextSource = GenericContextSource.TypeParameter; 393contextSource = GenericContextSource.ThisObject; 415if (contextSource == GenericContextSource.MethodParameter) 430if (contextSource == GenericContextSource.MethodParameter)
Compiler\GenericDictionaryLookup.cs (6)
29public readonly GenericContextSource ContextSource; 85return ContextSource == GenericContextSource.MethodParameter ? 1 : 2; 108private GenericDictionaryLookup(GenericContextSource contextSource, int offset1, int offset2, object helperObject) 116public static GenericDictionaryLookup CreateFixedLookup(GenericContextSource contextSource, int offset1, int offset2 = UseHelperOffset) 122public static GenericDictionaryLookup CreateHelperLookup(GenericContextSource contextSource, ReadyToRunHelperId helperId, object helperObject) 127public static GenericDictionaryLookup CreateNullLookup(GenericContextSource contextSource)
ILCompiler.RyuJit (5)
JitInterface\CorInfoImpl.RyuJit.cs (5)
240private static CORINFO_RUNTIME_LOOKUP_KIND GetLookupKindFromContextSource(GenericContextSource contextSource) 244case GenericContextSource.MethodParameter: 246case GenericContextSource.TypeParameter: 249Debug.Assert(contextSource == GenericContextSource.ThisObject); 290if (genericLookup.ContextSource == GenericContextSource.MethodParameter)