10 references to Interface
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (5)
2115assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(true, TypeKindOptions.Interface, false)); 2139assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(true, TypeKindOptions.Interface, false)); 2290assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.Interface | TypeKindOptions.Delegate)); 2481assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Interface, false)); 2518assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Interface, false));
Microsoft.CodeAnalysis.CSharp.Features (1)
GenerateType\CSharpGenerateTypeService.cs (1)
646typeKindValue = TypeKindOptions.Interface;
Microsoft.CodeAnalysis.Features (4)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (1)
126typeKindValue = state.IsInterfaceOrEnumNotAllowedInTypeContext ? TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.Interface, TypeKindOptions.Enum) : typeKindValue;
GenerateType\TypeKindOptions.cs (3)
22AllOptions = Class | Structure | Interface | Enum | Delegate, 28BaseList = Class | Interface, 48=> (option & TypeKindOptions.Interface) != 0 ? true : false;