7 references to IsCapturedPrimaryConstructorParameter
Microsoft.CodeAnalysis.CSharp (7)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
642
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
556
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
694
Debug.Assert((object)result == originalLHS ||
IsCapturedPrimaryConstructorParameter
(originalLHS)); // If this fails, we might need to add tests for new scenarios and relax the assert.
855
IsCapturedPrimaryConstructorParameter
(expression); // captured primary constructor parameters should be treated as a field
885
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
755
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
492
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));