Ejemplo n.º 1
0
        public string Convert(Instruction instruction, MethodTranslateContext methodContext)
        {
            var             typeReference   = instruction.Operand as TypeReference;
            TypeInformation typeInformation = methodContext.TranslateContext.MetadataContext.GetTypeInformation(typeReference);

            return(StelemConvert.Convert(instruction, methodContext, typeInformation.CXXTypeName));
        }
Ejemplo n.º 2
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => StelemConvert.Convert(instruction, methodContext, "RTCLI::System::Double");
Ejemplo n.º 3
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => StelemConvert.Convert(instruction, methodContext, "int");