internal SymbolSpecification GetSymbolSpecification() { return(new SymbolSpecification( ID, ItemName, SymbolKindList.Where(s => s.IsChecked).Select(s => s.CreateSymbolKindOrTypeKind()).ToList(), AccessibilityList.Where(a => a.IsChecked).Select(a => new SymbolSpecification.AccessibilityKind(a._accessibility)).ToList(), ModifierList.Where(m => m.IsChecked).Select(m => new ModifierKind(m._modifier)).ToList())); }
internal SymbolSpecification GetSymbolSpecification() { return(new SymbolSpecification( ID, ItemName, SymbolKindList.Where(s => s.IsChecked).Select(s => s.CreateSymbolOrTypeOrMethodKind()).ToImmutableArray(), AccessibilityList.Where(a => a.IsChecked).Select(a => a._accessibility).ToImmutableArray(), ModifierList.Where(m => m.IsChecked).Select(m => new ModifierKind(m._modifier)).ToImmutableArray())); }
internal SymbolSpecification GetSymbolSpecification() { return(new SymbolSpecification( id: ID, symbolSpecName: ItemName, symbolKindList: SymbolKindList.Where(s => s.IsChecked).Select(s => s.CreateSymbolKindOrTypeKind()).ToList(), accessibilityList: AccessibilityList.Where(a => a.IsChecked).Select(a => a._accessibility).ToList(), modifiers: ModifierList.Where(m => m.IsChecked).Select(m => new ModifierKind(m._modifier)).ToList())); }