14 references to IsNullable
Microsoft.CodeAnalysis.CodeStyle (5)
AbstractPopulateSwitchDiagnosticAnalyzer.cs (1)
109if (value.Type.IsNullable())
ITypeSymbolExtensions.cs (4)
33var isNullableValueType = type.IsNullable(); 63=> symbol is { IsValueType: true } && !symbol.IsNullable(); 69if (IsNullable(symbol)) 725if (symbol.IsNullable())
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractAddParameterCodeFixProvider.cs (1)
543return parameterType.IsReferenceType || parameterType.IsNullable();
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
CastSimplifier.cs (1)
316if (isNullLiteralCast && !originalConvertedType.IsReferenceType && !originalConvertedType.IsNullable())
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
122if (asType.IsNullable())
CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
105if (isType.IsNullable())
CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
121if (rightType.IsNullable())
TypeStyleHelper.cs (1)
162var returnTypeName = returnType.IsNullable()
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
109var cannotUseVar = declaratorToRemoveType != null && (declaratorToRemoveType.IsReferenceType || declaratorToRemoveType.IsNullable());
ExpressionGenerator.cs (1)
93_ => type == null || type.IsReferenceType || type is IPointerTypeSymbol || type.IsNullable()
ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
231if (symbol.IsNullable())