Beispiel #1
0
 public override ExpressionEmitter Prepare(ITypeInformation operand, DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => operand.IsAssignableFrom(elementType),
                operand.MakeByReference(),
                true,
                decodeContext));
 }
Beispiel #2
0
 public override ExpressionEmitter Prepare(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => elementType.IsInt32StackFriendlyType,
                decodeContext.PrepareContext.MetadataContext.Int16Type,
                false,
                decodeContext));
 }
Beispiel #3
0
 public override ExpressionEmitter Prepare(DecodeContext decodeContext)
 {
     return(LdelemConverterUtilities.Prepare(
                elementType => elementType.IsReferenceType,
                arrayType => arrayType.ElementType,
                false,
                decodeContext));
 }