8 references to ShouldCheckConstraints
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Symbols.cs (6)
538if (typeArgument.HasType && !ShouldCheckConstraints) 560if (!ShouldCheckConstraints) 656if (ShouldCheckConstraints) 753this.ShouldCheckConstraints, 754includeNullability: this.ShouldCheckConstraints && includeNullability, 1642if (ShouldCheckConstraints && ConstraintsHelper.RequiresChecking(type))
Binder\Binder_Unsafe.cs (2)
48if (ShouldCheckConstraints) 126AssertNotUnsafeMemberAccess(symbol, ShouldCheckConstraints);