1 write to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (1)
Binder\SwitchBinder.cs (1)
30
SwitchSyntax
= switchSyntax;
13 references to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (13)
Binder\SwitchBinder.cs (9)
35
((CSharpParseOptions)
SwitchSyntax
.SyntaxTree.Options)?.IsFeatureEnabled(MessageID.IDS_FeaturePatternMatching) != false;
134
foreach (var section in
SwitchSyntax
.Sections)
146
foreach (var section in
SwitchSyntax
.Sections)
176
foreach (var section in
SwitchSyntax
.Sections)
326
if (
SwitchSyntax
== scopeDesignator)
336
if (
SwitchSyntax
== scopeDesignator)
348
return
SwitchSyntax
;
370
Debug.Assert(ScopeDesignator ==
SwitchSyntax
);
371
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)