8 references to IsCapturedPrimaryConstructorParameter
Microsoft.CodeAnalysis.CSharp (8)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
646
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
572
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
774
Debug.Assert((object)result == originalLHS ||
IsCapturedPrimaryConstructorParameter
(originalLHS)); // If this fails, we might need to add tests for new scenarios and relax the assert.
936
IsCapturedPrimaryConstructorParameter
(expression); // captured primary constructor parameters should be treated as a field
966
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
172
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(single));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
712
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
639
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));