4 references to ReportUnsafeIfNotAllowed
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (2)
3652
ReportUnsafeIfNotAllowed
(argument.Syntax, diagnostics);
6808
hasError =
ReportUnsafeIfNotAllowed
(node, diagnostics) || hasError;
Binder\Binder_Invocation.cs (2)
1320
gotError =
ReportUnsafeIfNotAllowed
(node, diagnostics) || gotError;
2491
bool hasErrors =
ReportUnsafeIfNotAllowed
(node, diagnostics);