1 write to _assignmentTarget
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
182_assignmentTarget ??= node.Left;
5 references to _assignmentTarget
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (5)
86Debug.Assert(_assignmentTarget != null); 95Contract.ThrowIfNull(_assignmentTarget); 99left: _assignmentTarget, 106Contract.ThrowIfFalse(_assignmentTarget is IdentifierNameSyntax); 117identifier: ((IdentifierNameSyntax)_assignmentTarget).Identifier,