7 references to Enum
Microsoft.CodeAnalysis.Features (7)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (3)
127typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue; 129typeKindValue = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Enum) : typeKindValue; 164typeKindValueFinal = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValueFinal, TypeKindOptions.Enum) : typeKindValueFinal;
GenerateType\TypeKindOptions.cs (4)
24AllOptions = Class | Structure | Interface | Enum | Delegate, 35MemberAccessWithNamespace = Class | Structure | Enum | Module, 38GenericInCompatibleTypes = Enum | Module 53=> (option & TypeKindOptions.Enum) != 0 ? true : false;