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

            return(LdelemConvert.Convert(instruction, methodContext, typeInformation.CXXTypeName));
        }
Exemple #2
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => LdelemConvert.Convert(instruction, methodContext, "RTCLI::System::UInt16");
Exemple #3
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => LdelemConvert.Convert(instruction, methodContext, "RTCLI::NativeInt");
Exemple #4
0
 public string Convert(Instruction instruction, MethodTranslateContext methodContext)
 => LdelemConvert.Convert(instruction, methodContext, "");