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