154 instantiations of 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);
340 references to DictionaryEntry
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
213foreach (DictionaryEntry de in Environment.GetEnvironmentVariables())
dotnet-svcutil-lib (18)
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
223foreach (DictionaryEntry de in _names) 232foreach (DictionaryEntry de in _wildcards) 2332foreach (DictionaryEntry entry in _elements) 2349foreach (DictionaryEntry entry in _elements)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (3)
706foreach (DictionaryEntry entry in redefine.Groups) 710foreach (DictionaryEntry entry in redefine.AttributeGroups) 714foreach (DictionaryEntry entry in redefine.SchemaTypes)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNamespaceManager.cs (1)
52foreach (DictionaryEntry entry in namespaces)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (1)
370public DictionaryEntry Entry
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (3)
972DictionaryEntry[] oldLocations = new DictionaryEntry[_schemaLocations.Count]; 998internal XmlSchema FindSchemaByNSAndUrl(Uri schemaUri, string ns, DictionaryEntry[] locationsTable)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
341DictionaryEntry[] oldLocations = new DictionaryEntry[schemaLocations.Count];
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
775foreach (DictionaryEntry de in _typeDescs)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (1)
1596foreach (DictionaryEntry target in _targets)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
1474foreach (DictionaryEntry entry in xmlns.Namespaces)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
139foreach (DictionaryEntry userData in codeCompileUnit.UserData)
GenerateDocumentationAndConfigFiles (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Metrics (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Metrics.Legacy (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.AspNetCore.Grpc.JsonTranscoding (3)
Internal\Json\JsonConverterHelper.cs (1)
143foreach (DictionaryEntry item in newValues)
Internal\Json\StructConverter.cs (1)
31foreach (DictionaryEntry entry in fields)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
257foreach (DictionaryEntry value in dictionaryValues)
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
257foreach (DictionaryEntry value in dictionaryValues)
Microsoft.Build.Framework (5)
ProjectStartedEventArgs.cs (5)
306? (DictionaryEntry[])[] 332? (DictionaryEntry[])[] 386var validProperties = properties.Cast<DictionaryEntry>().Where(entry => entry.Key != null && entry.Value != null); 395foreach (var propertyPair in validProperties) 466DictionaryEntry entry = new DictionaryEntry(key, value);
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.Collections.Package (4)
Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.Extensions.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (1)
589var entry = enumerator.Entry;
Microsoft.CodeAnalysis.Scripting.TestUtilities (2)
ObjectFormatterFixtures\Custom.cs (2)
474public DictionaryEntry Entry 476get { return (DictionaryEntry)Current; }
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.UnitTests (9)
Collections\ImmutableDictionaryBuilderTestBase.cs (5)
222Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 223Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value); 250var entryArray = new DictionaryEntry[builder.Count + 1]; 252Assert.Equal(default(DictionaryEntry), entryArray[0]); 253Assert.Equal(new DictionaryEntry[] { default, new DictionaryEntry("b", 2) }, entryArray);
Collections\ImmutableDictionaryTestBase.cs (4)
147var array = new DictionaryEntry[2]; 150Assert.Equal(new DictionaryEntry("a", 1), (DictionaryEntry)array[1]); 210Assert.Equal(enumerator.Key, ((DictionaryEntry)enumerator.Current).Key); 211Assert.Equal(enumerator.Value, ((DictionaryEntry)enumerator.Current).Value);
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
245string propertyCategory = e.Properties?.Cast<DictionaryEntry>().LastOrDefault(p => p.Key.ToString().Equals(s_TelemetryMarker)).Value?.ToString();
Microsoft.Extensions.Localization (1)
Internal\ResourceManagerStringProvider.cs (1)
77foreach (DictionaryEntry? entry in resourceSet)
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
82return sampleData.Cast<DictionaryEntry>().ToDictionary(k => (string)k.Key, v => (string)v.Value);
Microsoft.ML.Maml (1)
MAML.cs (1)
276foreach (DictionaryEntry kvp in ex.Data)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\FileIO\FileSystem.vb (1)
996For Each Entry As DictionaryEntry In Exceptions
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
86[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.DictionaryEntry))]
netstandard (1)
netstandard.cs (1)
104[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.DictionaryEntry))]
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (1)
369foreach (DictionaryEntry entry in _assemblyPathTable)
PresentationCore (17)
System\Windows\Input\AccessKeyManager.cs (2)
673foreach (DictionaryEntry entry in Current._keyToElements) 694foreach (DictionaryEntry entry in Current._keyToElements)
System\Windows\Media\Animation\Clock.cs (2)
4366foreach (DictionaryEntry e in _objectTable) 4376foreach (DictionaryEntry e in removeTable)
System\Windows\Media\Animation\Timeline.cs (2)
1159foreach (DictionaryEntry e in _objectTable) 1169foreach (DictionaryEntry e in removeTable)
System\Windows\Media\CharacterMetricsDictionary.cs (5)
183SC.DictionaryEntry[] typedArray = array as SC.DictionaryEntry[]; 200if (!elementType.IsAssignableFrom(typeof(SC.DictionaryEntry))) 201throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType)); 579SC.DictionaryEntry SC.IDictionaryEnumerator.Entry
System\Windows\Media\CultureSpecificStringDictionary.cs (5)
152SC.DictionaryEntry[] typedArray = array as SC.DictionaryEntry[]; 169if (!elementType.IsAssignableFrom(typeof(SC.DictionaryEntry))) 170throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(SC.DictionaryEntry), elementType)); 398public SC.DictionaryEntry Entry
System\Windows\Media\Imaging\ImagingCache.cs (1)
72foreach (DictionaryEntry de in table)
PresentationFramework (37)
MS\Internal\Data\StaticPropertyChangedEventManager.cs (3)
397foreach (DictionaryEntry de in _dict) 407foreach (DictionaryEntry de in _dict) 555foreach (DictionaryEntry de in _dict)
MS\Internal\Data\ValueTable.cs (1)
245foreach (DictionaryEntry de in _table)
MS\Internal\Data\ViewManager.cs (3)
247foreach (DictionaryEntry de in this) 650foreach (DictionaryEntry de in vt) 788foreach (DictionaryEntry de in this)
MS\Internal\DataStreams.cs (1)
226foreach (DictionaryEntry entry in _customJournaledObjects)
System\Windows\Controls\Grid.cs (1)
1302foreach (DictionaryEntry e in spanStore)
System\Windows\Documents\AdornerLayer.cs (4)
413DictionaryEntry[] zOrderMapEntries = new DictionaryEntry[_zOrderMap.Count]; 447DictionaryEntry[] zOrderMapEntries = new DictionaryEntry[_zOrderMap.Count];
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (6)
43public DictionaryEntry Entry 45get => (DictionaryEntry)_enumerator.Current; 67public DictionaryEntry Current 293public void CopyTo(DictionaryEntry[] array, int arrayIndex) 310DictionaryEntry entry = new(pair.Key, pair.Value); 361CopyTo(array as DictionaryEntry[], index);
System\Windows\Markup\Primitives\ElementMarkupObject.cs (6)
501DictionaryEntry[] entries = new DictionaryEntry[dictionary.Count]; 503Array.Sort(entries, delegate(DictionaryEntry one, DictionaryEntry two) 507foreach (DictionaryEntry entry in entries) 1164foreach (DictionaryEntry entry in _value)
System\Windows\Markup\XamlTypeMapper.cs (2)
299foreach ( DictionaryEntry de in dict ) 369foreach (DictionaryEntry entry in _assemblyPathTable)
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
56foreach (DictionaryEntry entry in typeMapper.PITable) 144foreach (DictionaryEntry piEntry in _typeMapper.PITable)
System\Windows\Markup\XmlnsDictionary.cs (1)
206public void CopyTo(DictionaryEntry[] array, int index)
System\Windows\Media\Animation\Storyboard.cs (1)
609foreach( DictionaryEntry entry in clockMappings )
System\Windows\ResourceDictionary.cs (5)
70public void CopyTo(DictionaryEntry[] array, int arrayIndex) 85private void CopyToWithoutLock(DictionaryEntry[] array, int arrayIndex) 94DictionaryEntry entry = array[i]; 960CopyTo(array as DictionaryEntry[], arrayIndex); 2175DictionaryEntry IDictionaryEnumerator.Entry
System\Windows\StyleHelper.cs (1)
2294foreach (DictionaryEntry entry in parentTemplateValues)
ReachFramework (1)
Serialization\VisualTreeFlattener.cs (1)
773foreach (DictionaryEntry e in res)
Replay (1)
Replay.cs (1)
103foreach (DictionaryEntry entry in Environment.GetEnvironmentVariables())
Roslyn.Diagnostics.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
1417readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
System\Collections\Generic\SortedDictionary.cs (1)
499DictionaryEntry IDictionaryEnumerator.Entry
System\Collections\Generic\SortedList.cs (1)
810DictionaryEntry IDictionaryEnumerator.Entry
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenDictionary.cs (1)
431else if (array is DictionaryEntry[] dictEntryArray)
System\Collections\Immutable\DictionaryEnumerator.cs (1)
19public DictionaryEntry Entry
System.Collections.NonGeneric (2)
System\Collections\SortedList.cs (2)
346DictionaryEntry entry = new DictionaryEntry(keys[i], values[i]); 841public DictionaryEntry Entry
System.Collections.Specialized (21)
System\Collections\Specialized\ListDictionary.cs (1)
286public DictionaryEntry Entry
System\Collections\Specialized\OrderedDictionary.cs (20)
156return ((DictionaryEntry)objectsArray[index]!).Value; 170object key = ((DictionaryEntry)objectsArray[index]!).Key; 288object o = ((DictionaryEntry)_objectsArray[i]!).Key; 337object key = ((DictionaryEntry)objectsArray[index]!).Key; 423DictionaryEntry entry; 427entry = (DictionaryEntry)o; 468return ((DictionaryEntry)_arrayEnumerator.Current).Key; 472return ((DictionaryEntry)_arrayEnumerator.Current).Value; 481public DictionaryEntry Entry 486return new DictionaryEntry(((DictionaryEntry)_arrayEnumerator.Current).Key, ((DictionaryEntry)_arrayEnumerator.Current).Value); 498return ((DictionaryEntry)_arrayEnumerator.Current).Key; 510return ((DictionaryEntry)_arrayEnumerator.Current).Value; 564array.SetValue(IsKeys ? ((DictionaryEntry)o).Key : ((DictionaryEntry)o).Value, index); 591if (object.Equals(((DictionaryEntry)o).Value, value)) 606object entryKey = ((DictionaryEntry)_objects[i]!).Key; 619else if (object.Equals(((DictionaryEntry)_objects[i]!).Value, value)) 635DictionaryEntry entry = (DictionaryEntry)_objects[index]!;
System.ComponentModel.TypeConverter (4)
System\ComponentModel\ComponentResourceManager.cs (1)
252foreach (DictionaryEntry de in resourceSet)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
45foreach (DictionaryEntry keyAndValue in context._savedLicenseKeys)
System\ComponentModel\PropertyDescriptorCollection.cs (1)
601public DictionaryEntry Entry
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
1477DictionaryEntry de = e.Entry;
System.Configuration.ConfigurationManager (12)
System\Configuration\ClientSettingsStore.cs (1)
185foreach (DictionaryEntry entry in newSettings)
System\Configuration\ConfigurationElementCollection.cs (2)
1264private DictionaryEntry _current; 1292DictionaryEntry IDictionaryEnumerator.Entry => _current;
System\Configuration\ConfigurationLockCollection.cs (3)
70foreach (DictionaryEntry de in _internalDictionary) 93foreach (DictionaryEntry de in _internalDictionary) 280foreach (DictionaryEntry de in _internalDictionary)
System\Configuration\ConfigurationSectionCollection.cs (1)
21foreach (DictionaryEntry de in _configRecord.SectionFactories)
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
22foreach (DictionaryEntry de in _configRecord.SectionGroupFactories)
System\Configuration\MgmtConfigurationRecord.cs (1)
1536foreach (DictionaryEntry de in _sectionRecords)
System\Configuration\SectionUpdates.cs (2)
210foreach (DictionaryEntry de in _groups) 231foreach (DictionaryEntry de in _groups)
System\Configuration\SettingsPropertyValueCollection.cs (1)
58foreach (DictionaryEntry de in _indices)
System.Data.Common (6)
System\Data\PropertyCollection.cs (1)
33foreach (DictionaryEntry pair in this)
System\Data\xmlsaver.cs (1)
70foreach (DictionaryEntry entry in props)
System\Xml\XmlDataDocument.cs (4)
63foreach (DictionaryEntry entry in _pointers) 893foreach (DictionaryEntry entry in _pointers) 1432foreach (DictionaryEntry entry in _pointers) 1690foreach (DictionaryEntry entry in _pointers)
System.Diagnostics.Process (1)
System\Diagnostics\ProcessStartInfo.cs (1)
108DictionaryEntry entry = e.Entry;
System.Net.Primitives (2)
System\Net\CookieContainer.cs (2)
350DictionaryEntry entry = (DictionaryEntry)item;
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
140DictionaryEntry pair = e.Entry;
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (3)
822private void CopyToEntries(DictionaryEntry[] array, int index) 1893if (array is DictionaryEntry[] entries) 2296public DictionaryEntry Entry => new DictionaryEntry(_enumerator.Current.Key, _enumerator.Current.Value);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (2)
1494else if (array is DictionaryEntry[] dictEntryArray) 1844DictionaryEntry IDictionaryEnumerator.Entry
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
564DictionaryEntry entry = new DictionaryEntry(keyv, lbuckets[i].val); 1449public DictionaryEntry Entry
src\libraries\System.Private.CoreLib\src\System\Collections\IDictionaryEnumerator.cs (1)
62DictionaryEntry Entry
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (1)
224public DictionaryEntry Entry
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (2)
185if (array is DictionaryEntry[] dictEntryArray) 225public DictionaryEntry Entry
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1102public DictionaryEntry Entry
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
135public DictionaryEntry Entry => throw new InvalidOperationException(SR.InvalidOperation_EnumOpCantHappen);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
226DictionaryEntry entry = e.Entry;
System.Private.Xml (11)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
693foreach (DictionaryEntry entry in redefine.Groups) 698foreach (DictionaryEntry entry in redefine.AttributeGroups) 703foreach (DictionaryEntry entry in redefine.SchemaTypes)
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
340public DictionaryEntry Entry
System\Xml\Schema\XmlSchemaSet.cs (3)
809DictionaryEntry[] oldLocations = new DictionaryEntry[_schemaLocations.Count]; 831internal XmlSchema? FindSchemaByNSAndUrl(Uri? schemaUri, string ns, DictionaryEntry[]? locationsTable)
System\Xml\Schema\XmlSchemaValidator.cs (2)
330DictionaryEntry[] oldLocations = new DictionaryEntry[schemaLocations.Count];
System\Xml\Serialization\Types.cs (1)
745foreach (DictionaryEntry de in _typeDescs)
System\Xml\Serialization\XmlSerializationReader.cs (1)
1495foreach (DictionaryEntry target in _targets)
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1102public DictionaryEntry Entry
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
75[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.DictionaryEntry))]
System.Runtime.Caching (2)
System\Runtime\Caching\MemoryCacheStore.cs (2)
231foreach (DictionaryEntry e in _entries) 262foreach (DictionaryEntry e in _entries)
System.Security.Permissions (2)
System\Security\Policy\NetCodeGroup.cs (2)
18public System.Collections.DictionaryEntry[] GetConnectAccessRules() { return default(System.Collections.DictionaryEntry[]); }
System.Text.RegularExpressions.Generator (4)
RegexGenerator.Emitter.cs (4)
156AppendHashtableContents(writer, rm.Tree.CaptureNumberSparseMapping.Cast<DictionaryEntry>().OrderBy(de => de.Key as int?)); 162AppendHashtableContents(writer, rm.Tree.CaptureNameToNumberMapping.Cast<DictionaryEntry>().OrderBy(de => de.Key as string, StringComparer.Ordinal)); 182static void AppendHashtableContents(IndentedTextWriter writer, IEnumerable<DictionaryEntry> contents) 185foreach (DictionaryEntry en in contents)
System.Windows.Forms (2)
misc\CollectionHelper.cs (1)
34else if (target is DictionaryEntry[] dictionaryTarget)
System\Windows\Forms\Layout\DefaultLayout.cs (1)
1047foreach (DictionaryEntry entry in dictionary)
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\StatementContext.cs (1)
208public readonly DictionaryEntry Entry
System\Drawing\Design\ToolboxItem.cs (1)
710foreach (DictionaryEntry de in Properties)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
166foreach (DictionaryEntry entry in resourceList) 275foreach (DictionaryEntry entry in reader)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
228foreach (DictionaryEntry de in properties)
System.Windows.Forms.Tests (42)
misc\CollectionHelperTests.cs (9)
99var target = new DictionaryEntry[2]; 103var firstTargetItem = target[0]; 104Assert.Equal(typeof(DictionaryEntry), firstTargetItem.GetType()); 108var secondTargetItem = target[1]; 109Assert.Equal(typeof(DictionaryEntry), secondTargetItem.GetType()); 126var firstTargetItem = (DictionaryEntry)target[0]; 130var secondTargetItem = (DictionaryEntry)target[1];
System\Resources\ResXResourceWriterTests.cs (14)
140var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 161var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 182var currentEntry = (DictionaryEntry)metadataEnumerator.Current; 203var currentEntry = (DictionaryEntry)enumerator.Current; 224var currentEntry = (DictionaryEntry)enumerator.Current; 245var currentEntry = (DictionaryEntry)enumerator.Current; 267var currentEntry = (DictionaryEntry)enumerator.Current;
System\Windows\Forms\BindingContextTests.cs (19)
42var array = new DictionaryEntry[4]; 175Assert.NotNull(Assert.IsType<DictionaryEntry>(array[1]).Key); 176Assert.Equal(source.CurrencyManager, Assert.IsType<WeakReference>(Assert.IsType<DictionaryEntry>(array[1]).Value).Target); 188var array = new DictionaryEntry[4]; 204Assert.IsType<DictionaryEntry>(destArray[1]); 205Assert.IsType<DictionaryEntry>(destArray[2]); 217var array = new DictionaryEntry[4]; 232Assert.IsType<DictionaryEntry>(enumerator.Current); 234Assert.IsType<DictionaryEntry>(enumerator.Current); 687PropertyManager parentManager = Assert.IsType<PropertyManager>(Assert.IsType<WeakReference>(Assert.IsType<DictionaryEntry>(Assert.Single(context)).Value).Target); 716WeakReference reference = Assert.IsType<WeakReference>(Assert.IsType<DictionaryEntry>(Assert.Single(context)).Value); 781DictionaryEntry entry1 = Assert.IsType<DictionaryEntry>(Assert.Single(context1)); 782DictionaryEntry entry2 = Assert.IsType<DictionaryEntry>(Assert.Single(context2)); 783DictionaryEntry entry3 = Assert.IsType<DictionaryEntry>(Assert.Single(context3)); 784DictionaryEntry entry4 = Assert.IsType<DictionaryEntry>(Assert.Single(context3));
System.Xaml (11)
System\Xaml\NameScope.cs (1)
120foreach (DictionaryEntry entry in _nameMap)
System\Xaml\Runtime\ClrObjectRuntime.cs (6)
374public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType) 400return (IEnumerable<DictionaryEntry>)method.Invoke(null, new object[] { enumerator }); 743private static IEnumerable<DictionaryEntry> DictionaryEntriesFromIDictionaryEnumerator( 752private static IEnumerable<DictionaryEntry> DictionaryEntriesFromIEnumerator(IEnumerator enumerator) 756yield return (DictionaryEntry)enumerator.Current; 760private static IEnumerable<DictionaryEntry> DictionaryEntriesFromIEnumeratorKvp<TKey, TValue>(IEnumerator<KeyValuePair<TKey, TValue>> enumerator)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (1)
405public override IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType)
System\Xaml\XamlObjectReader.cs (2)
417foreach (var entry in context.Runtime.GetDictionaryItems(propertyValue, propertyType)) 472public static bool ShouldOmitKey(DictionaryEntry entry, SerializerContext context)
System\Xaml\XamlRuntime.cs (1)
68public abstract IEnumerable<DictionaryEntry> GetDictionaryItems(object dictionary, XamlType dictionaryType);
Test.Utilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
Text.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
38/// <see cref="System.Collections.DictionaryEntry"/>. This is the return value for instances of this 49readonly DictionaryEntry IDictionaryEnumerator.Entry => new(Current.Key, Current.Value);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (2)
906else if (array is DictionaryEntry[] dictEntryArray) 1252readonly DictionaryEntry IDictionaryEnumerator.Entry
UIAutomationClient (4)
MS\Internal\Automation\ProxyManager.cs (4)
138if( o is DictionaryEntry ) 139o = ((DictionaryEntry)o).Value; 166if( o is DictionaryEntry ) 167o = ((DictionaryEntry)o).Value;
XmlFileLogger (3)
ObjectModel\Project.cs (1)
132Properties.AddProperties(projectStartedEventArgs.Properties.Cast<DictionaryEntry>());
PropertyBag.cs (2)
80public void AddProperties(IEnumerable<DictionaryEntry> newProperties) 87foreach (var property in newProperties)