コード例 #1
0
 private GenericDictionaryLookup(GenericContextSource contextSource, int offset1, int offset2, object helperObject)
 {
     ContextSource = contextSource;
     _offset1      = checked ((short)offset1);
     _offset2      = checked ((short)offset2);
     _helperObject = helperObject;
 }
コード例 #2
0
 public static GenericDictionaryLookup CreateHelperLookup(GenericContextSource contextSource, ReadyToRunHelperId helperId, object helperObject)
 {
     return(new GenericDictionaryLookup(contextSource, UseHelperOffset, checked ((short)helperId), helperObject, indirectLastOffset: false));
 }
コード例 #3
0
 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));
 }
コード例 #4
0
 public static GenericDictionaryLookup CreateHelperLookup(GenericContextSource contextSource)
 {
     return(new GenericDictionaryLookup(contextSource, UseHelperOffset, UseHelperOffset));
 }
コード例 #5
0
 public static GenericDictionaryLookup CreateFixedLookup(GenericContextSource contextSource, int offset1, int offset2 = UseHelperOffset)
 {
     Debug.Assert(offset1 != UseHelperOffset);
     return(new GenericDictionaryLookup(contextSource, offset1, offset2));
 }
コード例 #6
0
 private GenericDictionaryLookup(GenericContextSource contextSource, int offset1, int offset2)
 {
     ContextSource = contextSource;
     _offset1      = checked ((short)offset1);
     _offset2      = checked ((short)offset2);
 }