4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
833internal override bool UseUpdatedEscapeRules
Symbols\MissingModuleSymbol.cs (1)
200internal sealed override bool UseUpdatedEscapeRules => false;
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
320internal override bool UseUpdatedEscapeRules => _underlyingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceModuleSymbol.cs (1)
642internal override bool UseUpdatedEscapeRules
29 references to UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.cs (1)
159internal bool UseUpdatedEscapeRules => Compilation.SourceModule.UseUpdatedEscapeRules;
Binder\RefSafetyAnalysis.cs (2)
22useUpdatedEscapeRules: symbol.ContainingModule.UseUpdatedEscapeRules, 40useUpdatedEscapeRules: symbol.ContainingModule.UseUpdatedEscapeRules,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
191bool useUpdatedEscapeRules = Compilation.SourceModule.UseUpdatedEscapeRules;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
329=> new FunctionPointerMethodSymbol(callingConvention, retAndParamTypes, useUpdatedEscapeRules: containingModule.UseUpdatedEscapeRules); 501UseUpdatedEscapeRules = compilation.SourceModule.UseUpdatedEscapeRules;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1652internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceMethodSymbol.cs (1)
85internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceParameterSymbol.cs (1)
240internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\ThisParameterSymbol.cs (1)
187=> _containingMethod?.UseUpdatedEscapeRules ?? _containingType.ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
314internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
343internal sealed override bool UseUpdatedEscapeRules => _containingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
84internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\AttributeTests_RefSafetyRules.cs (2)
174Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.UseUpdatedEscapeRules); 182Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.UseUpdatedEscapeRules);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
25677Assert.Equal(version == 11, method.ContainingModule.UseUpdatedEscapeRules); 25716Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 25755Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 25806Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.UseUpdatedEscapeRules); 25860Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 25863Assert.False(module.UseUpdatedEscapeRules); 25909Assert.False(module.UseUpdatedEscapeRules); 25912Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 25926Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 25929Assert.False(module.UseUpdatedEscapeRules); 25973Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 25976Assert.False(module.UseUpdatedEscapeRules); 25991Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 25994Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules);