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