9 references to IsCapturedPrimaryConstructorParameter
Microsoft.CodeAnalysis.CSharp (9)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
642
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
322
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
682
Debug.Assert((object)result == originalLHS ||
IsCapturedPrimaryConstructorParameter
(originalLHS)); // If this fails, we might need to add tests for new scenarios and relax the assert.
838
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
869
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
172
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(single));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
499
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expr));
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
488
Debug.Assert(!
IsCapturedPrimaryConstructorParameter
(expression));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
553
Debug.Assert(!LocalRewriter.
IsCapturedPrimaryConstructorParameter
(loweredReceiver));