1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
54_diagnostics = diagnostics;
9 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (9)
Lowering\DiagnosticsPass_ExpressionTrees.cs (7)
60_diagnostics.Add(code, node.Syntax.Location, args); 142ExecutableCodeBinder.ValidateIteratorMethod(_compilation, node.Symbol, _diagnostics); 267Binder.ReportDiagnosticsIfObsolete(_diagnostics, node.EventSymbol.AssociatedField, node.Syntax, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None); 281Binder.ReportDiagnosticsIfObsolete(_diagnostics, node.Event, ((AssignmentExpressionSyntax)node.Syntax).Left, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None); 534_diagnostics.Add(ErrorCode.ERR_ByRefParameterInExpressionTree, p.Locations[0]); 538_diagnostics.Add(ErrorCode.ERR_ExpressionTreeCantContainRefStruct, p.Locations[0], p.Type.Name); 543_diagnostics.Add(ErrorCode.ERR_LambdaWithAttributesToExpressionTree, p.Locations[0]);
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);