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