Home
last modified time | relevance | path

Searched refs:TKey (Results 1 – 25 of 28) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DmissingTypeArguments3.types9 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>;
10TKey>(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…
15TKey>(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 …]
DmissingTypeArguments3.symbols15 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 …]
DgenericSpecializationToTypeLiteral1.types66 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
67TKey>(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…
72TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele…
73 >keySelector : (element: T) => TKey
78TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
79TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele…
80 >keySelector : (element: T) => TKey
84 >compareSelector : (key: TKey) => TCompare
[all …]
DmissingTypeArguments3.js6 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 …]
DgenericSpecializationToTypeLiteral1.js22 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
23 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa…
24TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
27 interface IDictionary<TKey, TValue> {
28 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
DgenericSpecializationToTypeLiteral1.symbols118 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))
144TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
146 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 22, 17))
[all …]
DmappedTypeIndexedAccess.symbols8 [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))
DmappedTypeIndexedAccess.types7 [TKey in keyof T]: {
8 key: TKey;
9 >key : TKey
11 value: T[TKey];
12 >value : T[TKey]
DmappedTypeIndexedAccess.js5 [TKey in keyof T]: {
6 key: TKey;
7 value: T[TKey];
DunionTypeInference.js60 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
DdeclarationEmitMappedTypeTemplateTypeofSymbol.symbols8 [TKey in typeof timestampSymbol]: true;
9 >TKey : Symbol(TKey, Decl(a.d.ts, 3, 5))
DunionTypeInference.symbols204 { [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))
DmappedTypeIndexedAccess.errors.txt13 [TKey in keyof T]: {
14 key: TKey;
15 value: T[TKey];
DunionTypeInference.errors.txt68 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
DunionTypeInference.types203 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
DdeclarationEmitMappedTypeTemplateTypeofSymbol.js7 [TKey in typeof timestampSymbol]: true;
/third_party/typescript/tests/cases/compiler/
DmissingTypeArguments3.ts5 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 …]
DgenericSpecializationToTypeLiteral1.ts21 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
22 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa…
23TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
26 interface IDictionary<TKey, TValue> {
27 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
DmappedTypeIndexedAccess.ts6 [TKey in keyof T]: {
7 key: TKey;
8 value: T[TKey];
DdeclarationEmitMappedTypeTemplateTypeofSymbol.ts7 [TKey in typeof timestampSymbol]: true;
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs71 … 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 …]
DReadOnlyDictionary.cs42 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/
DunionTypeInference.ts62 { [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/
DMapFieldTest.cs527 … 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/
DMapFieldTest.cs630 … private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair()
632 return new KeyValuePair<TKey, TValue>(key, value); in NewKeyValuePair()

12