1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
82_diagnostics = diagnostics;
14 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (14)
317var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics, _localEscapeScopes); 329var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules, _diagnostics, _localEscapeScopes); 506ValidateEscape(initializer, valEscapeScope, isByRef: false, _diagnostics); 532ValidateEscape(expr, ReturnOnlyScope, node.RefKind != RefKind.None, _diagnostics); 542ValidateEscape(expr, ReturnOnlyScope, isByRef: false, _diagnostics); 552ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef, _diagnostics); 560ValidateAssignment(node.Syntax, node.Left, node, isRef: false, _diagnostics); 639ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative, _diagnostics); 678_diagnostics); 778_diagnostics); 825Error(_diagnostics, ErrorCode.ERR_CallArgMixing, argument.Syntax, constructor, parameter.Name); 860_diagnostics); 883_diagnostics); 984_diagnostics);