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