1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
97_diagnostics = diagnostics;
13 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (13)
Binder\RefSafetyAnalysis.cs (13)
258ValidateEscape(value, CallingMethodScope, isByRef: field.RefKind != RefKind.None, _diagnostics); 267var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics, _localEscapeScopes); 279var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules, _diagnostics, _localEscapeScopes); 441ValidateEscape(initializer, valEscapeScope, isByRef: false, _diagnostics); 467ValidateEscape(expr, ReturnOnlyScope, node.RefKind != RefKind.None, _diagnostics); 477ValidateEscape(expr, ReturnOnlyScope, isByRef: false, _diagnostics); 487ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef, _diagnostics); 562ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative, _diagnostics); 598_diagnostics); 652_diagnostics); 675_diagnostics); 698_diagnostics); 788_diagnostics);