1 write to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (1)
Binder\SwitchBinder.cs (1)
33SwitchSyntax = switchSyntax;
13 references to SwitchSyntax
Microsoft.CodeAnalysis.CSharp (13)
Binder\SwitchBinder_Patterns.cs (4)
31Debug.Assert(SwitchSyntax.Equals(node)); 153Debug.Assert(this.SwitchSyntax == node.Parent.Parent); 176var boundSwitchSectionsBuilder = ArrayBuilder<BoundSwitchSection>.GetInstance(SwitchSyntax.Sections.Count); 178foreach (SwitchSectionSyntax sectionSyntax in SwitchSyntax.Sections)
Binder\SwitchBinder.cs (9)
39((CSharpParseOptions)SwitchSyntax.SyntaxTree.Options)?.IsFeatureEnabled(MessageID.IDS_FeaturePatternMatching) != false; 141foreach (var section in SwitchSyntax.Sections) 153foreach (var section in SwitchSyntax.Sections) 180foreach (var section in SwitchSyntax.Sections) 353if (SwitchSyntax == scopeDesignator) 363if (SwitchSyntax == scopeDesignator) 375return SwitchSyntax; 397Debug.Assert(ScopeDesignator == SwitchSyntax); 398ExpressionSyntax node = SwitchSyntax.Expression;