4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
849internal 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)
703internal 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)
26useUpdatedEscapeRules: symbol.ContainingModule.UseUpdatedEscapeRules,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
186bool 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)
1766internal 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)
1604if (!this.ContainingModule.UseUpdatedEscapeRules)
Symbols\Source\ThisParameterSymbol.cs (1)
207=> _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)
98internal sealed override bool UseUpdatedEscapeRules => ContainingModule.UseUpdatedEscapeRules;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
233Symbol 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)
24643Assert.False(comp.SourceModule.UseUpdatedEscapeRules);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
27038Assert.Equal(version == 11, method.ContainingModule.UseUpdatedEscapeRules); 27077Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 27116Assert.False(method.ContainingModule.UseUpdatedEscapeRules); 27167Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.UseUpdatedEscapeRules); 27221Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27224Assert.False(module.UseUpdatedEscapeRules); 27270Assert.False(module.UseUpdatedEscapeRules); 27273Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27287Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.UseUpdatedEscapeRules); 27290Assert.False(module.UseUpdatedEscapeRules); 27334Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 27337Assert.False(module.UseUpdatedEscapeRules); 27352Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules); 27355Assert.Equal(expectedUseUpdatedEscapeRules, module.UseUpdatedEscapeRules);