12 references to IsNullableType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (1)
2882
Debug.Assert(targetTypeWithAnnotations.HasType && targetTypeWithAnnotations.
IsNullableType
());
Binder\Binder_Symbols.cs (1)
552
else if (constructedType.
IsNullableType
())
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1777
if (source.
IsNullableType
() && target.
IsNullableType
())
Errors\LazyUseSiteDiagnosticsInfoForNullableType.cs (1)
33
if (_possiblyNullableTypeSymbol.
IsNullableType
())
FlowAnalysis\NullableWalker.cs (4)
2610
targetType.
IsNullableType
())
2695
fieldOrPropertyType.
IsNullableType
())
8867
if (conversionOperand is BoundObjectCreationExpressionBase && targetTypeWithNullability.
IsNullableType
())
9447
if (operandType.Type.IsNullableType() && !parameterType.
IsNullableType
())
Symbols\ConstraintsHelper.cs (2)
239
if (constraintType.
IsNullableType
())
1168
else if (typeArgument.
IsNullableType
())
Symbols\TypeWithAnnotations.cs (1)
309
(!HasType || (!
IsNullableType
() && !Type.IsValueType)))