6 references to RemoveOptions
Microsoft.CodeAnalysis.Features (6)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (6)
125
typeKindValue = state.IsSimpleNameGeneric ? TypeKindOptionsHelper.
RemoveOptions
(typeKindValue, TypeKindOptions.GenericInCompatibleTypes) : typeKindValue;
127
typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.
RemoveOptions
(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue;
128
typeKindValue = state.IsDelegateAllowed ? typeKindValue : TypeKindOptionsHelper.
RemoveOptions
(typeKindValue, TypeKindOptions.Delegate);
129
typeKindValue = state.IsEnumNotAllowed ? TypeKindOptionsHelper.
RemoveOptions
(typeKindValue, TypeKindOptions.Enum) : typeKindValue;
163
typeKindValueFinal = state.IsSimpleNameGeneric ? TypeKindOptionsHelper.
RemoveOptions
(TypeKindOptions.MemberAccessWithNamespace, TypeKindOptions.GenericInCompatibleTypes) : TypeKindOptions.MemberAccessWithNamespace;
164
typeKindValueFinal = state.IsEnumNotAllowed ? TypeKindOptionsHelper.
RemoveOptions
(typeKindValueFinal, TypeKindOptions.Enum) : typeKindValueFinal;