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