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