1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
55_diagnostics = diagnostics;
9 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (9)
Lowering\DiagnosticsPass_ExpressionTrees.cs (7)
61_diagnostics.Add(code, node.Syntax.Location, args); 153ExecutableCodeBinder.ValidateIteratorMethod(_compilation, node.Symbol, _diagnostics); 278Binder.ReportDiagnosticsIfObsolete(_diagnostics, node.EventSymbol.AssociatedField, node.Syntax, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None); 292Binder.ReportDiagnosticsIfObsolete(_diagnostics, node.Event, ((AssignmentExpressionSyntax)node.Syntax).Left, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None); 577_diagnostics.Add(ErrorCode.ERR_ByRefParameterInExpressionTree, location); 581_diagnostics.Add(ErrorCode.ERR_ExpressionTreeCantContainRefStruct, p.GetFirstLocation(), p.Type.Name); 586_diagnostics.Add(ErrorCode.ERR_LambdaWithAttributesToExpressionTree, p.GetFirstLocation());
Lowering\DiagnosticsPass_Warnings.cs (2)
333_diagnostics.Add(ErrorCode.WRN_BadRefCompareLeft, node.Syntax.Location, t); 338_diagnostics.Add(ErrorCode.WRN_BadRefCompareRight, node.Syntax.Location, t);