4 references to InUnsafeRegion
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Await.cs (1)
205
if (this.
InUnsafeRegion
&& !this.Flags.Includes(BinderFlags.AllowAwaitInUnsafeContext))
Binder\Binder_Unsafe.cs (1)
65
else if (!this.
InUnsafeRegion
)
Symbols\Source\SourceMemberFieldSymbol.cs (1)
577
if (!binder.
InUnsafeRegion
)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelAPITests.cs (1)
2272
Assert.True(binder.
InUnsafeRegion
, "must be in unsafe code");