Beispiel #1
0
        public void MangledName_SimplifySynthesizedLocalName()
        {
            IDkmClrFullNameProvider2 fullNameProvider = new CSharpFormatter();
            var inspectionContext = CreateDkmInspectionContext();

            // The synthesized locals name should just become an empty string since it's compiler generated.
            Assert.Equal(string.Empty, fullNameProvider.GetClrNameForLocalVariable(inspectionContext, null, default, default, new DkmClrLocalVariable("CS$<>8__locals0")));