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);
153
ExecutableCodeBinder.ValidateIteratorMethod(_compilation, node.Symbol,
_diagnostics
);
278
Binder.ReportDiagnosticsIfObsolete(
_diagnostics
, node.EventSymbol.AssociatedField, node.Syntax, hasBaseReceiver, _containingSymbol, _containingSymbol.ContainingType, BinderFlags.None);
292
Binder.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);