4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
849
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)
703
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)
1766
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)
1604
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)
174
Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.
UseUpdatedEscapeRules
);
182
Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.
UseUpdatedEscapeRules
);
Semantics\CollectionExpressionTests.cs (1)
24643
Assert.False(comp.SourceModule.
UseUpdatedEscapeRules
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
27038
Assert.Equal(version == 11, method.ContainingModule.
UseUpdatedEscapeRules
);
27077
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27116
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
27167
Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.
UseUpdatedEscapeRules
);
27221
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27224
Assert.False(module.
UseUpdatedEscapeRules
);
27270
Assert.False(module.
UseUpdatedEscapeRules
);
27273
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27287
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
27290
Assert.False(module.
UseUpdatedEscapeRules
);
27334
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27337
Assert.False(module.
UseUpdatedEscapeRules
);
27352
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
27355
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);