13 references to TypeKindOptionsHelper
Microsoft.CodeAnalysis.Features (7)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (7)
127
typeKindValue = state.IsSimpleNameGeneric ?
TypeKindOptionsHelper
.RemoveOptions(typeKindValue, TypeKindOptions.GenericInCompatibleTypes) : typeKindValue;
128
typeKindValue = state.IsMembersWithModule ?
TypeKindOptionsHelper
.AddOption(typeKindValue, TypeKindOptions.Module) : typeKindValue;
129
typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ?
TypeKindOptionsHelper
.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue;
130
typeKindValue = state.IsDelegateAllowed ? typeKindValue :
TypeKindOptionsHelper
.RemoveOptions(typeKindValue, TypeKindOptions.Delegate);
131
typeKindValue = state.IsEnumNotAllowed ?
TypeKindOptionsHelper
.RemoveOptions(typeKindValue, TypeKindOptions.Enum) : typeKindValue;
166
typeKindValueFinal = state.IsSimpleNameGeneric ?
TypeKindOptionsHelper
.RemoveOptions(TypeKindOptions.MemberAccessWithNamespace, TypeKindOptions.GenericInCompatibleTypes) : TypeKindOptions.MemberAccessWithNamespace;
167
typeKindValueFinal = state.IsEnumNotAllowed ?
TypeKindOptionsHelper
.RemoveOptions(typeKindValueFinal, TypeKindOptions.Enum) : typeKindValueFinal;
Microsoft.VisualStudio.LanguageServices (6)
GenerateType\GenerateTypeDialogViewModel.cs (6)
208
if (
TypeKindOptionsHelper
.IsClass(_generateTypeDialogOptions.TypeKindOptions))
213
if (
TypeKindOptionsHelper
.IsEnum(_generateTypeDialogOptions.TypeKindOptions))
218
if (
TypeKindOptionsHelper
.IsStructure(_generateTypeDialogOptions.TypeKindOptions))
223
if (
TypeKindOptionsHelper
.IsInterface(_generateTypeDialogOptions.TypeKindOptions))
228
if (
TypeKindOptionsHelper
.IsDelegate(_generateTypeDialogOptions.TypeKindOptions))
233
if (
TypeKindOptionsHelper
.IsModule(_generateTypeDialogOptions.TypeKindOptions))