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