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