2 writes to _inExpressionLambda
Microsoft.CodeAnalysis.CSharp (2)
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
798_inExpressionLambda = true; 846_inExpressionLambda = wasInExpressionLambda;
58 references to _inExpressionLambda
Microsoft.CodeAnalysis.CSharp (58)
Lowering\DiagnosticsPass_ExpressionTrees.cs (55)
71if (_inExpressionLambda && !_reportedUnsafe) 81if (_inExpressionLambda && node.InitializerOpt != null && !arrayType.IsSZArray) 91if (_inExpressionLambda && 103if (_inExpressionLambda) 113if (_inExpressionLambda) 123if (_inExpressionLambda) 133if (_inExpressionLambda) 143if (_inExpressionLambda && node.ConstantValueOpt == null) 173if (_inExpressionLambda) 231if (_inExpressionLambda) 253if (_inExpressionLambda && node.Left.Kind != BoundKind.ObjectInitializerMember && node.Left.Kind != BoundKind.DynamicObjectInitializerMember) 263if (_inExpressionLambda) 286if (_inExpressionLambda) 321if (_inExpressionLambda) 373if (_inExpressionLambda && 387if (_inExpressionLambda) 397if (_inExpressionLambda) 407if (_inExpressionLambda) 417if (_inExpressionLambda) 427if (_inExpressionLambda) 437if (_inExpressionLambda && !node.Arguments.IsDefaultOrEmpty) 495if (_inExpressionLambda) 503if (_inExpressionLambda) 511if (_inExpressionLambda && node.AddMethod.IsStatic) 540if (_inExpressionLambda && property.RefKind != RefKind.None) 552if (_inExpressionLambda && (property.IsAbstract || property.IsVirtual) && property.IsStatic) 562if (_inExpressionLambda) 705if (_inExpressionLambda) 721if (_inExpressionLambda && node.OperatorKind.IsDynamic()) 729if (_inExpressionLambda && node.OperatorKind.IsDynamic()) 741if (_inExpressionLambda && node.MethodOpt is MethodSymbol method && (method.IsAbstract || method.IsVirtual) && method.IsStatic) 762if (_inExpressionLambda) 786bool wasInExpressionLambda = _inExpressionLambda; 806if (_inExpressionLambda) 816if (_inExpressionLambda) 823if (_inExpressionLambda) 830if (_inExpressionLambda) 838if (_inExpressionLambda && node.Conversion.Method is MethodSymbol method && (method.IsAbstract || method.IsVirtual) && method.IsStatic) 876Debug.Assert(!(!parentIsConversion && _inExpressionLambda)); 878if (_inExpressionLambda) 912if (_inExpressionLambda && (node.LeftOperand.IsLiteralNull() || node.LeftOperand.IsLiteralDefault())) 922if (_inExpressionLambda) 932if (_inExpressionLambda) 948if (_inExpressionLambda) 959if (_inExpressionLambda) 969if (_inExpressionLambda) 979if (_inExpressionLambda) 989if (_inExpressionLambda) 999if (_inExpressionLambda) 1009if (_inExpressionLambda) 1019if (_inExpressionLambda) 1029if (_inExpressionLambda) 1039if (_inExpressionLambda) 1049if (_inExpressionLambda) 1059if (_inExpressionLambda)
Lowering\DiagnosticsPass_Warnings.cs (3)
254if (_inExpressionLambda) 278if (_inExpressionLambda && node.OperatorKind.Operator() == BinaryOperatorKind.UnsignedRightShift) 298if (_inExpressionLambda)