7 references to WithNullability
Microsoft.CodeAnalysis.CSharp (7)
Binder\Semantics\BestTypeInferrer.cs (1)
289var conversionsWithoutNullability = conversions.WithNullability(false);
Binder\Semantics\Conversions\Conversions.cs (1)
523return (Conversions)base.WithNullability(includeNullability);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
2818var withoutNullability = Fix(_compilation, _conversions.WithNullability(false), typeParameter, exact, lower, upper, ref discardedUseSiteInfo).Type; 2932!ImplicitConversionExists(candidate2, candidate, ref useSiteInfo, conversions.WithNullability(false))) 3385if (!ImplicitConversionExists(source, destination, ref useSiteInfo, conversions.WithNullability(false)))
Symbols\ConstraintsHelper.cs (2)
1150if (SatisfiesConstraintType(args.Conversions.WithNullability(false), typeArgument, constraintType, ref useSiteInfo)) 1154if (!SatisfiesConstraintType(args.Conversions.WithNullability(true), typeArgument, constraintType, ref useSiteInfo) ||