/third_party/typescript/tests/baselines/reference/ |
D | missingTypeArguments3.types | 9 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 10 …TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; <TKey, TElement>(keySelec… 11 >keySelector : (element: T) => TKey 14 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 15 …TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; <TKey, TElement>(keySelec… 16 >keySelector : (element: T) => TKey 21 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 22 >ToDictionary : <TKey>(keySelector: (element: T) => TKey) => Dictionary<TKey, T> 23 >keySelector : (element: T) => TKey 34 interface Grouping<TKey, TElement> extends Enumerable<TElement> { [all …]
|
D | missingTypeArguments3.symbols | 15 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 17 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 21 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 24 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 27 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 29 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 34 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 41 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 44 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 46 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 6, 21)) [all …]
|
D | genericSpecializationToTypeLiteral1.types | 66 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 67 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 68 >keySelector : (element: T) => TKey 71 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 72 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 73 >keySelector : (element: T) => TKey 78 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 79 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 80 >keySelector : (element: T) => TKey 84 >compareSelector : (key: TKey) => TCompare [all …]
|
D | missingTypeArguments3.js | 6 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 7 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 8 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 15 interface Grouping<TKey, TElement> extends Enumerable<TElement> { 16 Key(): TKey; 19 interface Lookup<TKey, TElement> { 23 ToEnumerable(): Enumerable<Grouping<TKey, any>>; 26 interface Dictionary<TKey, TValue> { 27 Add(key: TKey, value: TValue): void; 28 Get(ke: TKey): TValue; [all …]
|
D | genericSpecializationToTypeLiteral1.js | 22 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 23 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 24 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 27 interface IDictionary<TKey, TValue> { 28 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
|
D | genericSpecializationToTypeLiteral1.symbols | 118 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 120 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 124 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 126 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 128 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 130 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 135 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 141 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 144 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 146 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 22, 17)) [all …]
|
D | mappedTypeIndexedAccess.symbols | 8 [TKey in keyof T]: { 9 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5)) 12 key: TKey; 14 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5)) 16 value: T[TKey]; 19 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5))
|
D | mappedTypeIndexedAccess.types | 7 [TKey in keyof T]: { 8 key: TKey; 9 >key : TKey 11 value: T[TKey]; 12 >value : T[TKey]
|
D | mappedTypeIndexedAccess.js | 5 [TKey in keyof T]: { 6 key: TKey; 7 value: T[TKey];
|
D | unionTypeInference.js | 60 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
D | declarationEmitMappedTypeTemplateTypeofSymbol.symbols | 8 [TKey in typeof timestampSymbol]: true; 9 >TKey : Symbol(TKey, Decl(a.d.ts, 3, 5))
|
D | unionTypeInference.symbols | 204 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> }; 205 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 208 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 211 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 215 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7))
|
D | mappedTypeIndexedAccess.errors.txt | 13 [TKey in keyof T]: { 14 key: TKey; 15 value: T[TKey];
|
D | unionTypeInference.errors.txt | 68 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
D | unionTypeInference.types | 203 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
D | declarationEmitMappedTypeTemplateTypeofSymbol.js | 7 [TKey in typeof timestampSymbol]: true;
|
/third_party/typescript/tests/cases/compiler/ |
D | missingTypeArguments3.ts | 5 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 6 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 7 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 14 interface Grouping<TKey, TElement> extends Enumerable<TElement> { 15 Key(): TKey; 18 interface Lookup<TKey, TElement> { 22 ToEnumerable(): Enumerable<Grouping<TKey, any>>; 25 interface Dictionary<TKey, TValue> { 26 Add(key: TKey, value: TValue): void; 27 Get(ke: TKey): TValue; [all …]
|
D | genericSpecializationToTypeLiteral1.ts | 21 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 22 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 23 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 26 interface IDictionary<TKey, TValue> { 27 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
|
D | mappedTypeIndexedAccess.ts | 6 [TKey in keyof T]: { 7 key: TKey; 8 value: T[TKey];
|
D | declarationEmitMappedTypeTemplateTypeofSymbol.ts | 7 [TKey in typeof timestampSymbol]: true;
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 71 … sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, T… 73 , IReadOnlyDictionary<TKey, TValue> 77 …ate static readonly EqualityComparer<TKey> KeyEqualityComparer = ProtobufEqualityComparers.GetEqua… 80 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map = 81 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>(KeyEqualityComparer); 82 …private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, T… 90 public MapField<TKey, TValue> Clone() in Clone() 92 var clone = new MapField<TKey, TValue>(); in Clone() 118 public void Add(TKey key, TValue value) in Add() 133 public bool ContainsKey(TKey key) in ContainsKey() [all …]
|
D | ReadOnlyDictionary.cs | 42 internal sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue> 44 private readonly IDictionary<TKey, TValue> wrapped; 46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped) in ReadOnlyDictionary() argument 51 public void Add(TKey key, TValue value) in Add() 56 public bool ContainsKey(TKey key) in ContainsKey() 61 public ICollection<TKey> Keys 66 public bool Remove(TKey key) in Remove() 71 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() 81 public TValue this[TKey key] 87 public void Add(KeyValuePair<TKey, TValue> item) in Add() argument [all …]
|
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/ |
D | unionTypeInference.ts | 62 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 527 … private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair() 529 return new KeyValuePair<TKey, TValue>(key, value); in NewKeyValuePair()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 630 … private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair() 632 return new KeyValuePair<TKey, TValue>(key, value); in NewKeyValuePair()
|