6 references to RemoveNullableIfPresent
Microsoft.CodeAnalysis.CodeStyle (1)
AbstractPopulateSwitchDiagnosticAnalyzer.cs (1)
96var type = value.Type.RemoveNullableIfPresent();
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
CastSimplifier.cs (3)
161if (Equals(enumType, parentCastType.RemoveNullableIfPresent())) 228conversionOperation.Type.RemoveNullableIfPresent() is var type1 && 229conversionOperation.Operand.Type.RemoveNullableIfPresent() is var type2 &&
CSharpTypeStyleHelper.State.cs (1)
112type = type.RemoveNullableIfPresent();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
133var governingType = semanticModel.GetTypeInfo(p.Target.Syntax).Type.RemoveNullableIfPresent();