3 references to ReportUnsafeIfNotAllowed
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Conversions.cs (1)
2420
ReportUnsafeIfNotAllowed
(syntax.Location, diagnostics);
Binder\Binder_Expressions.cs (1)
5017
hasErrors =
ReportUnsafeIfNotAllowed
(errorLocation, diagnostics);
BoundTree\UnboundLambda.cs (1)
945
this.Binder.
ReportUnsafeIfNotAllowed
(this.ParameterLocation(i), diagnostics);