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