13 references to TypeKindOptionsHelper
Microsoft.CodeAnalysis.Features (7)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (7)
124typeKindValue = state.IsSimpleNameGeneric ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.GenericInCompatibleTypes) : typeKindValue; 125typeKindValue = state.IsMembersWithModule ? TypeKindOptionsHelper.AddOption(typeKindValue, TypeKindOptions.Module) : typeKindValue; 126typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue; 127typeKindValue = state.IsDelegateAllowed ? typeKindValue : TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Delegate); 128typeKindValue = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Enum) : typeKindValue; 162typeKindValueFinal = state.IsSimpleNameGeneric ? TypeKindOptionsHelper.RemoveOptions(TypeKindOptions.MemberAccessWithNamespace, TypeKindOptions.GenericInCompatibleTypes) : TypeKindOptions.MemberAccessWithNamespace; 163typeKindValueFinal = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValueFinal, TypeKindOptions.Enum) : typeKindValueFinal;
Microsoft.VisualStudio.LanguageServices (6)
GenerateType\GenerateTypeDialogViewModel.cs (6)
188if (TypeKindOptionsHelper.IsClass(_generateTypeDialogOptions.TypeKindOptions)) 193if (TypeKindOptionsHelper.IsEnum(_generateTypeDialogOptions.TypeKindOptions)) 198if (TypeKindOptionsHelper.IsStructure(_generateTypeDialogOptions.TypeKindOptions)) 203if (TypeKindOptionsHelper.IsInterface(_generateTypeDialogOptions.TypeKindOptions)) 208if (TypeKindOptionsHelper.IsDelegate(_generateTypeDialogOptions.TypeKindOptions)) 213if (TypeKindOptionsHelper.IsModule(_generateTypeDialogOptions.TypeKindOptions))