114 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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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 (17)
BackEnd\Components\Communications\LogMessagePacket.cs (2)
350var entry = new DictionaryEntry(key, value); 374var entry = new DictionaryEntry(itemType, taskItemData);
BackEnd\Components\Logging\ProjectLoggingContext.cs (4)
217properties = projectProperties.GetCopyOnReadEnumerable(property => new DictionaryEntry(property.Name, property.EvaluatedValue)); 221properties = projectProperties.Filter(p => p is not EnvironmentDerivedProjectPropertyInstance || EnvironmentUtilities.IsWellKnownEnvironmentDerivedProperty(p.Name), p => new DictionaryEntry(p.Name, p.EvaluatedValue)); 224items = projectItems?.GetCopyOnReadEnumerable(item => new DictionaryEntry(item.ItemType, new TaskItem(item))) ?? []; 244properties = projectPropertiesToSerialize.Select((ProjectPropertyInstance property) => new DictionaryEntry(property.Name, property.EvaluatedValue));
Collections\ArrayDictionary.cs (1)
241private DictionaryEntry CurrentDictionaryEntry => new DictionaryEntry(_dictionary.keys[_position], _dictionary.values[_position]);
Logging\BaseConsoleLogger.cs (1)
499Internal.Utilities.EnumerateProperties(properties, list, static (list, kvp) => list.Add(new DictionaryEntry(kvp.Key, kvp.Value)));
Logging\BinaryLogger\BuildEventArgsReader.cs (4)
1488list[i] = new DictionaryEntry(property.Key, property.Value); 1589list[i] = new DictionaryEntry(itemName, item); 1609list.Add(new DictionaryEntry(itemType, item)); 1636list.Add(new DictionaryEntry(itemType, item));
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\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);
Utilities\Utilities.cs (1)
853callback(new DictionaryEntry(tuple.Type, tuple.Value));
Microsoft.Build.Framework (2)
Collections\CopyOnWriteDictionary.cs (1)
376array.SetValue(new DictionaryEntry(entry.Key, entry.Value), index + i);
ProjectStartedEventArgs.cs (1)
465DictionaryEntry entry = new DictionaryEntry(key, value);
Microsoft.Build.Tasks.Core (4)
ManifestUtil\ManifestReader.cs (1)
194DictionaryEntry arg = new DictionaryEntry("manifest-type", manifestType);
ManifestUtil\ManifestWriter.cs (2)
162var arg = new DictionaryEntry("trust-file", temp); 187var arg = new DictionaryEntry("base-file", temp);
ManifestUtil\TrustInfo.cs (1)
636Stream s = tempPrivilegeDocument != null ? XmlUtil.XslTransform(trustInfoResource2, m, new DictionaryEntry("defaultRequestedPrivileges", tempPrivilegeDocument)) : XmlUtil.XslTransform(trustInfoResource2, m);
Microsoft.CodeAnalysis (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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.Extensions.Package (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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 (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (1)
49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\roslyn\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)
1414new DictionaryEntry(Current.Key, Current.Value) : 1418readonly 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)
436dictEntryArray[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.DirectoryServices (1)
System\DirectoryServices\PropertyCollection.cs (1)
210return new DictionaryEntry(_currentPropName, new PropertyValueCollection(_parentEntry, _currentPropName));
System.Private.CoreLib (13)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1609dictEntryArray[index++] = new DictionaryEntry(entries[i].key, entries[i].value); 1934return new DictionaryEntry(_current.Key, _current.Value); 1961return new DictionaryEntry(_current.Key, _current.Value);
src\runtime\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\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1131return 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\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1131return 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);