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