1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
82_diagnostics = diagnostics;
15 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (15)
353var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics); 362var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules, _diagnostics); 538ValidateEscape(initializer, valEscapeScope, isByRef: false, _diagnostics); 564ValidateEscape(expr, SafeContext.ReturnOnly, node.RefKind != RefKind.None, _diagnostics); 574ValidateEscape(expr, SafeContext.ReturnOnly, isByRef: false, _diagnostics); 584ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef, _diagnostics); 602_diagnostics); 610ValidateAssignment(node.Syntax, node.Left, node, isRef: false, _diagnostics); 718ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative, _diagnostics); 818_diagnostics); 937_diagnostics); 978Error(_diagnostics, ErrorCode.ERR_CallArgMixing, argument.Syntax, node.Constructor, parameter.Name); 1008_diagnostics); 1026_diagnostics); 1140_diagnostics);