1 write to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (1)
Binder\SwitchBinder.cs (1)
31
SwitchSyntax
= switchSyntax;
13 references to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (13)
Binder\SwitchBinder.cs (9)
36
((CSharpParseOptions)
SwitchSyntax
.SyntaxTree.Options)?.IsFeatureEnabled(MessageID.IDS_FeaturePatternMatching) != false;
138
foreach (var section in
SwitchSyntax
.Sections)
150
foreach (var section in
SwitchSyntax
.Sections)
180
foreach (var section in
SwitchSyntax
.Sections)
330
if (
SwitchSyntax
== scopeDesignator)
340
if (
SwitchSyntax
== scopeDesignator)
352
return
SwitchSyntax
;
374
Debug.Assert(ScopeDesignator ==
SwitchSyntax
);
375
ExpressionSyntax node =
SwitchSyntax
.Expression;
Binder\SwitchBinder_Patterns.cs (4)
31
Debug.Assert(
SwitchSyntax
.Equals(node));
143
Debug.Assert(this.
SwitchSyntax
== node.Parent.Parent);
166
var boundSwitchSectionsBuilder = ArrayBuilder<BoundSwitchSection>.GetInstance(
SwitchSyntax
.Sections.Count);
168
foreach (SwitchSectionSyntax sectionSyntax in
SwitchSyntax
.Sections)