4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
843
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)
700
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)
24
useUpdatedEscapeRules: symbol.ContainingModule.
UseUpdatedEscapeRules
,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
192
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)
1759
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourceMethodSymbol.cs (1)
96
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)
1596
if (!this.ContainingModule.
UseUpdatedEscapeRules
)
Symbols\Source\ThisParameterSymbol.cs (1)
202
=> _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)
92
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
235
Symbol symbol => symbol.ContainingModule.
UseUpdatedEscapeRules
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_RefSafetyRules.cs (2)
174
Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.
UseUpdatedEscapeRules
);
182
Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.
UseUpdatedEscapeRules
);
Semantics\CollectionExpressionTests.cs (1)
22712
Assert.False(comp.SourceModule.
UseUpdatedEscapeRules
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
27049
Assert.Equal(version == 11, method.ContainingModule.
UseUpdatedEscapeRules
);
27088
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27127
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27178
Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.
UseUpdatedEscapeRules
);
27232
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27235
Assert.False(module.
UseUpdatedEscapeRules
);
27281
Assert.False(module.
UseUpdatedEscapeRules
);
27284
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27298
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27301
Assert.False(module.
UseUpdatedEscapeRules
);
27345
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27348
Assert.False(module.
UseUpdatedEscapeRules
);
27363
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27366
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);