5 references to WithArms
Microsoft.CodeAnalysis.CSharp (1)
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
8927public SwitchExpressionSyntax AddArms(params SwitchExpressionArmSyntax[] items) => WithArms(this.Arms.AddRange(items));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\PopulateSwitch\CSharpPopulateSwitchExpressionCodeFixProvider.cs (2)
46return switchNode.WithArms(switchNode.Arms.InsertRangeWithTrailingSeparator( 50return switchNode.WithArms(switchNode.Arms.InsertRange(insertLocation, newArms));
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\PopulateSwitch\CSharpPopulateSwitchExpressionCodeFixProvider.cs (2)
46return switchNode.WithArms(switchNode.Arms.InsertRangeWithTrailingSeparator( 50return switchNode.WithArms(switchNode.Arms.InsertRange(insertLocation, newArms));