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)
312
var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules,
_diagnostics
);
321
var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules,
_diagnostics
);
497
ValidateEscape(initializer, valEscapeScope, isByRef: false,
_diagnostics
);
523
ValidateEscape(expr, ReturnOnlyScope, node.RefKind != RefKind.None,
_diagnostics
);
533
ValidateEscape(expr, ReturnOnlyScope, isByRef: false,
_diagnostics
);
543
ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef,
_diagnostics
);
551
ValidateAssignment(node.Syntax, node.Left, node, isRef: false,
_diagnostics
);
630
ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative,
_diagnostics
);
669
_diagnostics
);
770
_diagnostics
);
817
Error(
_diagnostics
, ErrorCode.ERR_CallArgMixing, argument.Syntax, constructor, parameter.Name);
852
_diagnostics
);
875
_diagnostics
);
976
_diagnostics
);