4 references to IsUnsafe
Microsoft.CodeAnalysis.CSharp (4)
Binder\ExecutableCodeBinder.cs (1)
129if (((iterator as SourceMemberMethodSymbol)?.IsUnsafe == true || (iterator as LocalFunctionSymbol)?.IsUnsafe == true)
Binder\RefSafetyAnalysis.cs (1)
38if (symbol is SourceMemberMethodSymbol { IsUnsafe: true })
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
510if (definition.IsUnsafe != implementation.IsUnsafe && definition.CompilationAllowsUnsafe()) // Don't cascade.