8 references to WrapInSwitchLabel
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsRefactoringTests.cs (8)
175await ValidateAsync(WrapInSwitchLabel($"{pattern} when {expression}", "when"), WrapInSwitchLabel($"{expected}")); 176await ValidateAsync(WrapInSwitchLabel($"{pattern} when {expression}", "case"), WrapInSwitchLabel($"{expected}")); 181await ValidateAsync(WrapInSwitchLabel($"{pattern} when {expression} && B1 && B2", "when"), WrapInSwitchLabel($"{expected} when B1 && B2")); 182await ValidateAsync(WrapInSwitchLabel($"{pattern} when {expression} && B1 && B2", "case"), WrapInSwitchLabel($"{expected} when B1 && B2"));