15 references to new
Microsoft.CodeAnalysis.Workspaces (15)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (5)
73private static readonly SymbolKindOrTypeKind s_class = new(TypeKind.Class); 74private static readonly SymbolKindOrTypeKind s_struct = new(TypeKind.Struct); 75private static readonly SymbolKindOrTypeKind s_interface = new(TypeKind.Interface); 76private static readonly SymbolKindOrTypeKind s_enum = new(TypeKind.Enum); 82private static readonly SymbolKindOrTypeKind s_delegate = new(TypeKind.Delegate);
src\roslyn\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);