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