31 references to IsNullableType
Microsoft.CodeAnalysis (25)
Operations\ControlFlowGraphBuilder.cs (22)
2482
(ITypeSymbolHelpers.
IsNullableType
(left.Type) || !ITypeSymbolHelpers.
IsNullableType
(unaryOperatorMethod.Parameters[0].Type))))
2568
if (ITypeSymbolHelpers.
IsNullableType
(left.Type))
2570
if (unaryOperatorMethod == null ? isLifted : !ITypeSymbolHelpers.
IsNullableType
(unaryOperatorMethod.Parameters[0].Type))
2576
Debug.Assert(unaryOperatorMethod == null || !ITypeSymbolHelpers.
IsNullableType
(unaryOperatorMethod.Parameters[0].Type));
2580
else if (unaryOperatorMethod != null && ITypeSymbolHelpers.
IsNullableType
(unaryOperatorMethod.Parameters[0].Type))
2990
if (ITypeSymbolHelpers.
IsNullableType
(valueTypeOpt) &&
2991
(!testConversion.IsIdentity || !ITypeSymbolHelpers.
IsNullableType
(operation.Type)))
3315
Debug.Assert(ITypeSymbolHelpers.
IsNullableType
(valueType));
3338
Debug.Assert(ITypeSymbolHelpers.
IsNullableType
(value.Type));
3413
if (ITypeSymbolHelpers.
IsNullableType
(operation.Type) && !ITypeSymbolHelpers.
IsNullableType
(currentConditionalAccess.WhenNotNull.Type))
3441
(operation.Type.IsReferenceType && !ITypeSymbolHelpers.
IsNullableType
(operation.Type))
3529
if (ITypeSymbolHelpers.
IsNullableType
(testExpressionType))
4176
return type?.IsValueType == true && !ITypeSymbolHelpers.
IsNullableType
(type);
4823
if (ITypeSymbolHelpers.
IsNullableType
(stepValue.Type))
5052
if (ITypeSymbolHelpers.
IsNullableType
(operation.LimitValue.Type))
5223
bool isNullable = ITypeSymbolHelpers.
IsNullableType
(operation.StepValue.Type);
5283
Debug.Assert(ITypeSymbolHelpers.
IsNullableType
(controlVariableReferenceForIncrement.Type));
5456
bool leftIsNullable = ITypeSymbolHelpers.
IsNullableType
(operation.Value.Type);
5457
bool rightIsNullable = ITypeSymbolHelpers.
IsNullableType
(compareWith.Type);
5567
Debug.Assert(ITypeSymbolHelpers.
IsNullableType
(type));
SymbolDisplay\AbstractSymbolDisplayVisitor.cs (1)
93
if (ITypeSymbolHelpers.
IsNullableType
(type))
Symbols\ITypeSymbol.cs (2)
206
return
IsNullableType
(type) && IsBooleanType(GetNullableUnderlyingType(type));
211
Debug.Assert(
IsNullableType
(type));
Microsoft.CodeAnalysis.CSharp (3)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
88
!ITypeSymbolHelpers.
IsNullableType
(type) && !type.IsValueType)
217
if (ITypeSymbolHelpers.
IsNullableType
(symbol) && !symbol.IsDefinition)
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
20
else if (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || ITypeSymbolHelpers.
IsNullableType
(type))
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Extensions.cs (1)
663
return ITypeSymbolHelpers.
IsNullableType
(typeOpt);
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
1037
ITypeSymbolHelpers.
IsNullableType
(reference.Type) &&
Microsoft.CodeAnalysis.VisualBasic (1)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
100
If ITypeSymbolHelpers.
IsNullableType
(symbol) AndAlso symbol IsNot symbol.OriginalDefinition Then