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