154 references to DictionaryEntry
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
332return new DictionaryEntry(currentKey, currentValue); 382return new DictionaryEntry(currentKey, currentValue);
GenerateDocumentationAndConfigFiles (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Metrics (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Metrics.Legacy (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.Build.Framework (1)
ProjectStartedEventArgs.cs (1)
466DictionaryEntry entry = new DictionaryEntry(key, value);
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.Collections.Package (4)
Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.Extensions.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
456get { return new DictionaryEntry(_i, _i); }
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.UnitTests (18)
Collections\ImmutableDictionaryBuilderTestBase.cs (9)
199Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 202Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 210Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 213Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 217Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 220Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 227Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 230Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 253Assert.Equal(new DictionaryEntry[] { default, new DictionaryEntry("b", 2) }, entryArray);
Collections\ImmutableDictionaryTestBase.cs (9)
150Assert.Equal(new DictionaryEntry("a", 1), (DictionaryEntry)array[1]); 187Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 190Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 198Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 201Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 205Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 208Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry); 215Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Current); 218Assert.Equal(new DictionaryEntry(null!, 0), enumerator.Entry);
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
PresentationCore (7)
System\Windows\Media\CharacterMetricsDictionary.cs (4)
189typedArray[index++] = new SC.DictionaryEntry(item.Key, item.Value); 205array.SetValue(new SC.DictionaryEntry(item.Key, item.Value), index++); 558return new SC.DictionaryEntry(entry.Key, entry.Value); 584return new SC.DictionaryEntry(entry.Key, entry.Value);
System\Windows\Media\CultureSpecificStringDictionary.cs (3)
158typedArray[index++] = new SC.DictionaryEntry(item.Key, item.Value); 174array.SetValue(new SC.DictionaryEntry(item.Key, item.Value), index++); 403return new SC.DictionaryEntry(entry.Key, entry.Value);
PresentationFramework (2)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
310DictionaryEntry entry = new(pair.Key, pair.Value);
System\Windows\ResourceDictionary.cs (1)
2181return new DictionaryEntry(key, value);
Roslyn.Diagnostics.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
System.Collections (6)
System\Collections\Generic\OrderedDictionary.cs (2)
1413new DictionaryEntry(Current.Key, Current.Value) : 1417readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
System\Collections\Generic\SortedDictionary.cs (2)
466return new DictionaryEntry(Current.Key, Current.Value); 508return new DictionaryEntry(Current.Key, Current.Value);
System\Collections\Generic\SortedList.cs (2)
819return new DictionaryEntry(_key!, _value); 836return new DictionaryEntry(_key!, _value);
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
435dictEntryArray[index++] = new DictionaryEntry(item.Key, item.Value);
System\Collections\Immutable\DictionaryEnumerator.cs (1)
21get { return new DictionaryEntry(_inner.Current.Key, _inner.Current.Value); }
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
337array.SetValue(new DictionaryEntry(item.Key, item.Value), arrayIndex++);
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
764array.SetValue(new DictionaryEntry(item.Key, item.Value), arrayIndex++);
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (1)
222array.SetValue(new DictionaryEntry(item.Key, item.Value), arrayIndex++);
System.Collections.NonGeneric (3)
System\Collections\SortedList.cs (3)
346DictionaryEntry entry = new DictionaryEntry(keys[i], values[i]); 847return new DictionaryEntry(_key, _value); 862return new DictionaryEntry(_key, _value);
System.Collections.Specialized (7)
System\Collections\Specialized\ListDictionary.cs (2)
215array.SetValue(new DictionaryEntry(node.key, node.value), index); 294return new DictionaryEntry(_current.key, _current.value);
System\Collections\Specialized\OrderedDictionary.cs (5)
171objectsArray[index] = new DictionaryEntry(key, value); 200objectsArray[IndexOfKey(key)] = new DictionaryEntry(key, value); 233objectsArray.Add(new DictionaryEntry(key, value)); 321objectsArray.Insert(index, new DictionaryEntry(key, value)); 486return new DictionaryEntry(((DictionaryEntry)_arrayEnumerator.Current).Key, ((DictionaryEntry)_arrayEnumerator.Current).Value);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\PropertyDescriptorCollection.cs (1)
606return new DictionaryEntry(curProp.Name, curProp);
System.Diagnostics.Process (1)
System\Collections\Specialized\StringDictionaryWrapper.cs (1)
57yield return new DictionaryEntry(keyValuePair.Key, keyValuePair.Value);
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (2)
828array[index] = new DictionaryEntry(current._key, current._value); 2296public DictionaryEntry Entry => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1501dictEntryArray[index++] = new DictionaryEntry(entries[i].key, entries[i].value); 1826return new DictionaryEntry(_current.Key, _current.Value); 1853return new DictionaryEntry(_current.Key, _current.Value);
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (3)
564DictionaryEntry entry = new DictionaryEntry(keyv, lbuckets[i].val); 1455return new DictionaryEntry(_currentKey!, _currentValue); 1471return new DictionaryEntry(_currentKey!, _currentValue);
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
162array.SetValue(new DictionaryEntry(node.key, node.value), index); 232return new DictionaryEntry(current.key, current.value);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (2)
189dictEntryArray[index++] = new DictionaryEntry(item.Key, item.Value); 227get => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value);
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1135return new DictionaryEntry(key, value);
System.Private.Xml (2)
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
302return new DictionaryEntry(currentKey!, currentValue); 352return new DictionaryEntry(currentKey!, currentValue);
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1135return new DictionaryEntry(key, value);
System.Windows.Forms (2)
misc\CollectionHelper.cs (2)
40dictionaryTarget[index++] = new DictionaryEntry(kvp.Key, kvp.Value); 57objects[index++] = new DictionaryEntry(kvp.Key, kvp.Value);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\StatementContext.cs (1)
228return new DictionaryEntry(entry.Owner, entry.Statements);
System.Xaml (1)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
764yield return new DictionaryEntry(enumerator.Current.Key, enumerator.Current.Value);
Test.Utilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);
Text.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
913dictEntryArray[index++] = new DictionaryEntry(entries[i]._key, entries[i]._value); 1234return new DictionaryEntry(_current.Key, _current.Value); 1261return new DictionaryEntry(_current.Key, _current.Value);