Example #1
0
 public override Func <IExtractContext, string[]> Apply(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Apply(
                elementType => elementType.IsInt32StackFriendlyType,
                decodeContext.PrepareContext.MetadataContext.Int16Type,
                decodeContext));
 }
Example #2
0
 public override Func <IExtractContext, string[]> Apply(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Apply(
                elementType => elementType.IsReferenceType,
                arrayType => arrayType.ElementType,
                decodeContext));
 }
Example #3
0
 public override Func <IExtractContext, string[]> Apply(ITypeInformation operand, DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Apply(
                elementType => operand.IsAssignableFrom(elementType),
                operand.MakeByReference(),
                true,
                decodeContext));
 }
Example #4
0
 public override ExpressionEmitter Prepare(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => elementType.IsInt32StackFriendlyType,
                decodeContext.PrepareContext.MetadataContext.Int16Type,
                false,
                decodeContext));
 }
Example #5
0
 public override ExpressionEmitter Prepare(ITypeInformation operand, DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => operand.IsAssignableFrom(elementType),
                operand.MakeByReference(),
                true,
                decodeContext));
 }
Example #6
0
 public override ExpressionEmitter Prepare(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => elementType.IsReferenceType,
                arrayType => arrayType.ElementType,
                false,
                decodeContext));
 }