4 overrides of UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
833
internal override bool
UseUpdatedEscapeRules
Symbols\MissingModuleSymbol.cs (1)
200
internal sealed override bool
UseUpdatedEscapeRules
=> false;
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
320
internal override bool
UseUpdatedEscapeRules
=> _underlyingModule.UseUpdatedEscapeRules;
Symbols\Source\SourceModuleSymbol.cs (1)
642
internal override bool
UseUpdatedEscapeRules
29 references to UseUpdatedEscapeRules
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.cs (1)
159
internal bool UseUpdatedEscapeRules => Compilation.SourceModule.
UseUpdatedEscapeRules
;
Binder\RefSafetyAnalysis.cs (2)
22
useUpdatedEscapeRules: symbol.ContainingModule.
UseUpdatedEscapeRules
,
40
useUpdatedEscapeRules: symbol.ContainingModule.
UseUpdatedEscapeRules
,
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
191
bool useUpdatedEscapeRules = Compilation.SourceModule.
UseUpdatedEscapeRules
;
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
329
=> new FunctionPointerMethodSymbol(callingConvention, retAndParamTypes, useUpdatedEscapeRules: containingModule.
UseUpdatedEscapeRules
);
501
UseUpdatedEscapeRules = compilation.SourceModule.
UseUpdatedEscapeRules
;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1652
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourceMethodSymbol.cs (1)
85
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\SourceParameterSymbol.cs (1)
240
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Source\ThisParameterSymbol.cs (1)
187
=> _containingMethod?.UseUpdatedEscapeRules ?? _containingType.ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
314
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
343
internal sealed override bool UseUpdatedEscapeRules => _containingModule.
UseUpdatedEscapeRules
;
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
84
internal sealed override bool UseUpdatedEscapeRules => ContainingModule.
UseUpdatedEscapeRules
;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\AttributeTests_RefSafetyRules.cs (2)
174
Assert.Equal(useUpdatedEscapeRulesA, comp.SourceModule.
UseUpdatedEscapeRules
);
182
Assert.Equal(languageVersionB == LanguageVersion.CSharp11, comp.SourceModule.
UseUpdatedEscapeRules
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (14)
25677
Assert.Equal(version == 11, method.ContainingModule.
UseUpdatedEscapeRules
);
25716
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
25755
Assert.False(method.ContainingModule.
UseUpdatedEscapeRules
);
25806
Assert.Equal(expectedUseUpdatedEscapeRules, method.ContainingModule.
UseUpdatedEscapeRules
);
25860
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
25863
Assert.False(module.
UseUpdatedEscapeRules
);
25909
Assert.False(module.
UseUpdatedEscapeRules
);
25912
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
25926
Assert.Equal(languageVersion == LanguageVersion.CSharp11, module.
UseUpdatedEscapeRules
);
25929
Assert.False(module.
UseUpdatedEscapeRules
);
25973
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
25976
Assert.False(module.
UseUpdatedEscapeRules
);
25991
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);
25994
Assert.Equal(expectedUseUpdatedEscapeRules, module.
UseUpdatedEscapeRules
);