Exemplo 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));
        }
Exemplo n.º 2
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => StelemConvert.Convert(instruction, methodContext, "RTCLI::System::Double");
Exemplo n.º 3
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => StelemConvert.Convert(instruction, methodContext, "int");