18 references to Delegate
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (14)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (14)
2290
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.Interface | TypeKindOptions.
Delegate
));
2556
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2593
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2628
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2663
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2698
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2729
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
2760
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.Class | TypeKindOptions.Structure | TypeKindOptions.
Delegate
));
3615
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.
Delegate
));
3642
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.
Delegate
));
3679
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.
Delegate
));
3708
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(false, TypeKindOptions.
Delegate
));
3821
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(true, TypeKindOptions.
Delegate
));
3862
assertGenerateTypeDialogOptions: new GenerateTypeDialogOptions(true, TypeKindOptions.
Delegate
));
Microsoft.CodeAnalysis.Features (4)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (2)
127
typeKindValue = state.IsDelegateAllowed ? typeKindValue : TypeKindOptionsHelper.RemoveOptions(typeKindValue, TypeKindOptions.
Delegate
);
156
typeKindValueFinal = TypeKindOptions.
Delegate
;
GenerateType\TypeKindOptions.cs (2)
22
AllOptions = Class | Structure | Interface | Enum |
Delegate
,
54
=> (option & TypeKindOptions.
Delegate
) != 0 ? true : false;