4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
732
internal override bool
UseUpdatedEscapeRules
Symbols\MissingModuleSymbol.cs (1)
201
internal sealed override bool
UseUpdatedEscapeRules
=> false;
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
320
internal override bool
UseUpdatedEscapeRules
=> _underlyingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceModuleSymbol.cs (1)
730
internal override bool
UseUpdatedEscapeRules
31 references to UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.cs (1)
160
internal bool UseUpdatedEscapeRules => Compilation.SourceModule.
UseUpdatedEscapeRules
;
Binder\RefSafetyAnalysis.cs (1)
26
useUpdatedEscapeRules: symbol.ContainingModule.
UseUpdatedEscapeRules
,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
186
bool useUpdatedEscapeRules = Compilation.SourceModule.
UseUpdatedEscapeRules
;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
331
=> new FunctionPointerMethodSymbol(callingConvention, retAndParamTypes, useUpdatedEscapeRules: containingModule.
UseUpdatedEscapeRules
);
503
UseUpdatedEscapeRules = compilation.SourceModule.
UseUpdatedEscapeRules
;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1806
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourceMethodSymbol.cs (1)
94
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourceParameterSymbol.cs (1)
254
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourcePropertySymbolBase.cs (1)
1630
if (!this.ContainingModule.
UseUpdatedEscapeRules
)
Symbols\Source\ThisParameterSymbol.cs (1)
207
=> _containingMethod?.UseUpdatedEscapeRules ?? _containingType.ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
317
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
359
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedMethodSymbol.cs (1)
98
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
233
Symbol symbol => symbol.ContainingModule.
UseUpdatedEscapeRules
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_RefSafetyRules.cs (2)
198
Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.
UseUpdatedEscapeRules
);
206
Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.
UseUpdatedEscapeRules
);
Semantics\CollectionExpressionTests.cs (1)
24689
Assert.False(comp.SourceModule.
UseUpdatedEscapeRules
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
26955
Assert.Equal(version == 11, method.ContainingModule.
UseUpdatedEscapeRules
);
26997
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27039
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27093
Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.
UseUpdatedEscapeRules
);
27147
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27150
Assert.False(module.
UseUpdatedEscapeRules
);
27196
Assert.False(module.
UseUpdatedEscapeRules
);
27199
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27213
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27216
Assert.False(module.
UseUpdatedEscapeRules
);
27260
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27263
Assert.False(module.
UseUpdatedEscapeRules
);
27278
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27281
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);