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)
86
Debug.Assert(
_assignmentTarget
!= null);
95
Contract.ThrowIfNull(
_assignmentTarget
);
99
left:
_assignmentTarget
,
106
Contract.ThrowIfFalse(
_assignmentTarget
is IdentifierNameSyntax);
117
identifier: ((IdentifierNameSyntax)
_assignmentTarget
).Identifier,