14 references to Enum
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\GenerateType\GenerateTypeTests_Dialog.cs (2)
3033
assertTypeKindAbsent: new[] { TypeKindOptions.
Enum
});
3070
assertTypeKindAbsent: new[] { TypeKindOptions.
Enum
});
Microsoft.CodeAnalysis.Features (7)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (3)
129
typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.
Enum
) : typeKindValue;
131
typeKindValue = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.
Enum
) : typeKindValue;
167
typeKindValueFinal = state.IsEnumNotAllowed ? TypeKindOptionsHelper.RemoveOptions(typeKindValueFinal, TypeKindOptions.
Enum
) : typeKindValueFinal;
GenerateType\TypeKindOptions.cs (4)
24
AllOptions = Class | Structure | Interface |
Enum
| Delegate,
35
MemberAccessWithNamespace = Class | Structure |
Enum
| Module,
38
GenericInCompatibleTypes =
Enum
| Module
53
=> (option & TypeKindOptions.
Enum
) != 0 ? true : false;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (5)
Diagnostics\GenerateType\GenerateTypeTests_Dialog.vb (5)
2151
assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.
Enum
})
2176
assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.
Enum
})
2211
assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.
Enum
})
2246
assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.
Enum
})
2277
assertTypeKindAbsent:=New TypeKindOptions() {TypeKindOptions.
Enum
})