1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
81_diagnostics = diagnostics;
14 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (14)
312var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics); 321var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules, _diagnostics); 497ValidateEscape(initializer, valEscapeScope, isByRef: false, _diagnostics); 523ValidateEscape(expr, ReturnOnlyScope, node.RefKind != RefKind.None, _diagnostics); 533ValidateEscape(expr, ReturnOnlyScope, isByRef: false, _diagnostics); 543ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef, _diagnostics); 551ValidateAssignment(node.Syntax, node.Left, node, isRef: false, _diagnostics); 630ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative, _diagnostics); 669_diagnostics); 770_diagnostics); 817Error(_diagnostics, ErrorCode.ERR_CallArgMixing, argument.Syntax, constructor, parameter.Name); 852_diagnostics); 875_diagnostics); 976_diagnostics);