5 references to RemoveNullableIfPresent
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchDiagnosticAnalyzer.cs (3)
82var typeWithoutNullable = type.RemoveNullableIfPresent(); 100if (type.RemoveNullableIfPresent() is not { SpecialType: SpecialType.System_Boolean }) 117if (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();