7 references to IsNullable
Microsoft.CodeAnalysis.CodeStyle (3)
ITypeSymbolExtensions.cs (1)
637
if (type.
IsNullable
(out var underlyingType))
PopulateSwitchExpressionHelpers.cs (1)
26
switchExpressionType = switchExpressionType.
IsNullable
(out var underlyingType) ? underlyingType : switchExpressionType;
PopulateSwitchStatementHelpers.cs (1)
55
switchExpressionType = switchExpressionType.
IsNullable
(out var underlyingType) ? underlyingType : switchExpressionType;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractPopulateSwitchCodeFixProvider.cs (1)
167
if (enumType.
IsNullable
(out var underlyingType))
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CastSimplifier.cs (1)
880
if (castSideType.
IsNullable
(out var underlyingType) && Equals(underlyingType, castedExpressionType))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1134
return leftTypes.Select(x => x.InferredType.
IsNullable
(out var underlying)
ExpressionGenerator.cs (1)
64
if (type.
IsNullable
(out var underlyingType))