3 references to CompilationAllowsUnsafe
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
510
if (definition.IsUnsafe != implementation.IsUnsafe && definition.
CompilationAllowsUnsafe
()) // Don't cascade.
Symbols\Source\SourcePropertySymbol.cs (1)
730
if ((_modifiers & DeclarationModifiers.Unsafe) != (implementation._modifiers & DeclarationModifiers.Unsafe) && this.
CompilationAllowsUnsafe
()) // Don't cascade.
Symbols\SymbolExtensions.cs (1)
303
!symbol.
CompilationAllowsUnsafe
())