6 references to FeatureStrictEnabled
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
3140
if (Compilation.
FeatureStrictEnabled
|| !isDelegateCreation)
Binder\Binder.ValueChecks.cs (1)
1705
(Compilation.
FeatureStrictEnabled
Binder\LockBinder.cs (2)
46
if (expr.ConstantValueOpt != ConstantValue.Null || Compilation.
FeatureStrictEnabled
) // Dev10 allows the null literal.
52
else if (!exprType.IsReferenceType && (exprType.IsValueType || Compilation.
FeatureStrictEnabled
))
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
55
bool value = _binder.Compilation.
FeatureStrictEnabled
;
FlowAnalysis\NullableWalker.cs (1)
13808
if (argument is { Type: null, ConstantValueOpt.IsNull: true, IsSuppressed: false } && !compilation.
FeatureStrictEnabled
)