12 references to IsNullableType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (1)
2879
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)
2549
targetType.
IsNullableType
())
2634
fieldOrPropertyType.
IsNullableType
())
8806
if (conversionOperand is BoundObjectCreationExpressionBase && targetTypeWithNullability.
IsNullableType
())
9386
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)))