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