10 references to ReportUnsafeIfNotAllowed
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Conversions.cs (1)
3030
&&
ReportUnsafeIfNotAllowed
(syntax, diagnostics))
Binder\Binder_Expressions.cs (4)
574
ReportUnsafeIfNotAllowed
(node, diagnostics);
1441
bool hasErrors = constantValue is null &&
ReportUnsafeIfNotAllowed
(node, diagnostics, type);
3677
ReportUnsafeIfNotAllowed
(argument.Syntax, diagnostics);
6848
hasError =
ReportUnsafeIfNotAllowed
(node, diagnostics) || hasError;
Binder\Binder_Invocation.cs (2)
1343
gotError =
ReportUnsafeIfNotAllowed
(node, diagnostics) || gotError;
2576
bool hasErrors =
ReportUnsafeIfNotAllowed
(node, diagnostics);
Binder\Binder_Statements.cs (1)
191
fixedBinder.
ReportUnsafeIfNotAllowed
(node, diagnostics);
Binder\Binder_Symbols.cs (2)
602
ReportUnsafeIfNotAllowed
(node, diagnostics);
928
ReportUnsafeIfNotAllowed
(node, diagnostics);