24 references to SymbolKindOrTypeKind
Microsoft.CodeAnalysis.Workspaces (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (5)
104private static readonly SymbolKindOrTypeKind s_class = new(TypeKind.Class); 105private static readonly SymbolKindOrTypeKind s_struct = new(TypeKind.Struct); 106private static readonly SymbolKindOrTypeKind s_interface = new(TypeKind.Interface); 107private static readonly SymbolKindOrTypeKind s_enum = new(TypeKind.Enum); 113private static readonly SymbolKindOrTypeKind s_delegate = new(TypeKind.Delegate);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (10)
62new SymbolKindOrTypeKind(TypeKind.Class), 63new SymbolKindOrTypeKind(TypeKind.Struct), 64new SymbolKindOrTypeKind(TypeKind.Interface), 65new SymbolKindOrTypeKind(TypeKind.Delegate), 66new SymbolKindOrTypeKind(TypeKind.Enum), 67new SymbolKindOrTypeKind(TypeKind.Module), 68new SymbolKindOrTypeKind(TypeKind.Pointer), 75new SymbolKindOrTypeKind(TypeKind.TypeParameter), 433=> new((TypeKind)Enum.Parse(typeof(TypeKind), typeKindElement.Value)); 442=> new(symbolKind);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\NamingStyleTestUtilities.cs (1)
75TypeKind typeKind => new SymbolSpecification.SymbolKindOrTypeKind(typeKind),
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
EditorConfigParsing\NamingStyleParserTests.cs (5)
157symbolKind => Assert.Equal(new SymbolKindOrTypeKind(TypeKind.Class), symbolKind), 158symbolKind => Assert.Equal(new SymbolKindOrTypeKind(TypeKind.Struct), symbolKind), 159symbolKind => Assert.Equal(new SymbolKindOrTypeKind(TypeKind.Interface), symbolKind), 160symbolKind => Assert.Equal(new SymbolKindOrTypeKind(TypeKind.Enum), symbolKind), 166symbolKind => Assert.Equal(new SymbolKindOrTypeKind(TypeKind.Delegate), symbolKind),
Options\EditorConfigNamingStyleParserTests.cs (3)
175new SymbolKindOrTypeKind(TypeKind.Delegate) 223new SymbolKindOrTypeKind(TypeKind.Delegate) 448var expectedApplicableTypeKindList = new[] { new SymbolKindOrTypeKind(TypeKind.Interface) };