10 references to ReportUnsafeIfNotAllowed
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Conversions.cs (1)
3036&& ReportUnsafeIfNotAllowed(syntax, diagnostics))
Binder\Binder_Expressions.cs (4)
599ReportUnsafeIfNotAllowed(node, diagnostics); 1466bool hasErrors = constantValue is null && ReportUnsafeIfNotAllowed(node, diagnostics, type); 3711ReportUnsafeIfNotAllowed(argument.Syntax, diagnostics); 6883hasError = ReportUnsafeIfNotAllowed(node, diagnostics) || hasError;
Binder\Binder_Invocation.cs (2)
1327gotError = ReportUnsafeIfNotAllowed(node, diagnostics) || gotError; 2574bool hasErrors = ReportUnsafeIfNotAllowed(node, diagnostics);
Binder\Binder_Statements.cs (1)
191fixedBinder.ReportUnsafeIfNotAllowed(node, diagnostics);
Binder\Binder_Symbols.cs (2)
603ReportUnsafeIfNotAllowed(node, diagnostics); 929ReportUnsafeIfNotAllowed(node, diagnostics);