private GenericDictionaryLookup(GenericContextSource contextSource, int offset1, int offset2, object helperObject) { ContextSource = contextSource; _offset1 = checked ((short)offset1); _offset2 = checked ((short)offset2); _helperObject = helperObject; }
public static GenericDictionaryLookup CreateHelperLookup(GenericContextSource contextSource, ReadyToRunHelperId helperId, object helperObject) { return(new GenericDictionaryLookup(contextSource, UseHelperOffset, checked ((short)helperId), helperObject, indirectLastOffset: false)); }
public static GenericDictionaryLookup CreateFixedLookup(GenericContextSource contextSource, int offset1, int offset2 = UseHelperOffset, bool indirectLastOffset = false) { Debug.Assert(offset1 != UseHelperOffset); return(new GenericDictionaryLookup(contextSource, offset1, offset2, null, indirectLastOffset)); }
public static GenericDictionaryLookup CreateHelperLookup(GenericContextSource contextSource) { return(new GenericDictionaryLookup(contextSource, UseHelperOffset, UseHelperOffset)); }
public static GenericDictionaryLookup CreateFixedLookup(GenericContextSource contextSource, int offset1, int offset2 = UseHelperOffset) { Debug.Assert(offset1 != UseHelperOffset); return(new GenericDictionaryLookup(contextSource, offset1, offset2)); }
private GenericDictionaryLookup(GenericContextSource contextSource, int offset1, int offset2) { ContextSource = contextSource; _offset1 = checked ((short)offset1); _offset2 = checked ((short)offset2); }