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