4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
843internal override bool UseUpdatedEscapeRules
Symbols\MissingModuleSymbol.cs (1)
201internal sealed override bool UseUpdatedEscapeRules => false;
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
320internal override bool UseUpdatedEscapeRules => _underlyingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceModuleSymbol.cs (1)
700internal override bool UseUpdatedEscapeRules
31 references to UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.cs (1)
160internal bool UseUpdatedEscapeRules => Compilation.SourceModule.UseUpdatedEscapeRules;
Binder\RefSafetyAnalysis.cs (1)
24useUpdatedEscapeRules: symbol.ContainingModule.UseUpdatedEscapeRules,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
192bool useUpdatedEscapeRules = Compilation.SourceModule.UseUpdatedEscapeRules;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
331=> new FunctionPointerMethodSymbol(callingConvention, retAndParamTypes, useUpdatedEscapeRules: containingModule.UseUpdatedEscapeRules); 503UseUpdatedEscapeRules = compilation.SourceModule.UseUpdatedEscapeRules;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1759internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceMethodSymbol.cs (1)
96internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceParameterSymbol.cs (1)
254internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Source\SourcePropertySymbolBase.cs (1)
1596if (!this.ContainingModule.UseUpdatedEscapeRules)
Symbols\Source\ThisParameterSymbol.cs (1)
202=> _containingMethod?.UseUpdatedEscapeRules ?? _containingType.ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
317internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
359internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedMethodSymbol.cs (1)
92internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
235Symbol symbol => symbol.ContainingModule.UseUpdatedEscapeRules,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_RefSafetyRules.cs (2)
174Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.UseUpdatedEscapeRules); 182Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.UseUpdatedEscapeRules);
Semantics\CollectionExpressionTests.cs (1)
22712Assert.False(comp.SourceModule.UseUpdatedEscapeRules);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
27049Assert.Equal(version == 11, method.ContainingModule.UseUpdatedEscapeRules); 27088Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 27127Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 27178Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.UseUpdatedEscapeRules); 27232Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27235Assert.False(module.UseUpdatedEscapeRules); 27281Assert.False(module.UseUpdatedEscapeRules); 27284Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27298Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27301Assert.False(module.UseUpdatedEscapeRules); 27345Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 27348Assert.False(module.UseUpdatedEscapeRules); 27363Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 27366Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules);