5 references to RemoveNullableIfPresent
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchDiagnosticAnalyzer.cs (3)
84var typeWithoutNullable = type.RemoveNullableIfPresent(); 102if (type.RemoveNullableIfPresent() is not { SpecialType: SpecialType.System_Boolean }) 119if (type.RemoveNullableIfPresent()?.TypeKind != TypeKind.Enum)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
109var underlyingType = type.RemoveNullableIfPresent();
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
186var underlyingType = type.RemoveNullableIfPresent();