1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\RefSafetyAnalysis.cs (1)
82
_diagnostics
= diagnostics;
14 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (14)
317
var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules,
_diagnostics
, _localEscapeScopes);
329
var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules,
_diagnostics
, _localEscapeScopes);
506
ValidateEscape(initializer, valEscapeScope, isByRef: false,
_diagnostics
);
532
ValidateEscape(expr, ReturnOnlyScope, node.RefKind != RefKind.None,
_diagnostics
);
542
ValidateEscape(expr, ReturnOnlyScope, isByRef: false,
_diagnostics
);
552
ValidateAssignment(node.Syntax, node.Left, node.Right, node.IsRef,
_diagnostics
);
560
ValidateAssignment(node.Syntax, node.Left, node, isRef: false,
_diagnostics
);
639
ValidateRefConditionalOperator(node.Syntax, node.Consequence, node.Alternative,
_diagnostics
);
678
_diagnostics
);
778
_diagnostics
);
825
Error(
_diagnostics
, ErrorCode.ERR_CallArgMixing, argument.Syntax, constructor, parameter.Name);
860
_diagnostics
);
883
_diagnostics
);
984
_diagnostics
);