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)
353
var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules,
_diagnostics
);
362
var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules,
_diagnostics
);
538
ValidateEscape(initializer, valEscapeScope, isByRef: false,
_diagnostics
);
564
ValidateEscape(expr, SafeContext.ReturnOnly, node.RefKind != RefKind.None,
_diagnostics
);
574
ValidateEscape(expr, SafeContext.ReturnOnly, isByRef: false,
_diagnostics
);
584
ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef,
_diagnostics
);
602
_diagnostics
);
610
ValidateAssignment(node.Syntax, node.Left, node, isRef: false,
_diagnostics
);
718
ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative,
_diagnostics
);
818
_diagnostics
);
937
_diagnostics
);
978
Error(
_diagnostics
, ErrorCode.ERR_CallArgMixing, argument.Syntax, node.Constructor, parameter.Name);
1008
_diagnostics
);
1026
_diagnostics
);
1140
_diagnostics
);