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, SafeContext.ReturnOnly, node.RefKind != RefKind.None, _diagnostics); 533ValidateEscape(expr, SafeContext.ReturnOnly, isByRef: false, _diagnostics); 543ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef, _diagnostics); 551ValidateAssignment(node.Syntax, node.Left, node, isRef: false, _diagnostics); 655ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative, _diagnostics); 694_diagnostics); 795_diagnostics); 842Error(_diagnostics, ErrorCode.ERR_CallArgMixing, argument.Syntax, constructor, parameter.Name); 877_diagnostics); 900_diagnostics); 1001_diagnostics);