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