14 references to Enum
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\GenerateType\GenerateTypeTests_Dialog.cs (2)
3033assertTypeKindAbsent: new[] { TypeKindOptions.Enum }); 3070assertTypeKindAbsent: new[] { TypeKindOptions.Enum });
Microsoft.CodeAnalysis.Features (7)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (3)
129typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue; 131typeKindValue = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Enum) : typeKindValue; 167typeKindValueFinal = 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;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (5)
Diagnostics\GenerateType\GenerateTypeTests_Dialog.vb (5)
2151assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.Enum}) 2176assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.Enum}) 2211assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.Enum}) 2246assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.Enum}) 2277assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.Enum})