3 references to ReportUnsafeIfNotAllowed
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Conversions.cs (1)
3026
ReportUnsafeIfNotAllowed
(syntax.Location, diagnostics, disallowedUnder: MemorySafetyRules.Legacy);
Binder\Binder_Expressions.cs (1)
5106
hasErrors =
ReportUnsafeIfNotAllowed
(errorLocation, diagnostics, disallowedUnder: MemorySafetyRules.Legacy);
BoundTree\UnboundLambda.cs (1)
975
this.Binder.
ReportUnsafeIfNotAllowed
(this.ParameterLocation(i), diagnostics, disallowedUnder: MemorySafetyRules.Legacy);