Implemented interface member:
property
Keys
System.Collections.IDictionary.Keys
1 override of Keys
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1348public override ICollection Keys
97 references to Keys
BinaryFormatTests (6)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (2)
55foreach (object? key in hashtable.Keys) 112foreach (object? key in hashtable.Keys)
FormatTests\FormattedObject\HashTableTests.cs (3)
110foreach (object? key in hashtable.Keys) 133foreach (object? key in hashtable.Keys) 150foreach (object? key in hashtable.Keys)
SerializationRecordExtensionsTests.cs (1)
38foreach (object? key in hashtable.Keys)
dotnet-svcutil-lib (31)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (5)
128return _files.Keys.GetEnumerator(); 134return _files.Keys.GetEnumerator(); 140_files.Keys.CopyTo(array, start); 148_files.Keys.CopyTo(fileNames, start); 264_files.Keys.CopyTo(fileNames, 0);
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (2)
149foreach (XmlQualifiedName name in _names.Keys) 158foreach (string wildcard in _wildcards.Keys)
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (5)
97return _set.Keys; 137foreach (string s in _set.Keys) 185foreach (string ns in sub._set.Keys) 214foreach (string ns in o2._set.Keys) 353foreach (string ns in o1._set.Keys)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (2)
556foreach (string tns in disallowedNamespaces.Keys) 1488ICollection chameleonKeys = _chameleonSchemas.Keys;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
2475foreach (KeySequence ks in vcs[i].keyrefTable.Keys)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
1156foreach (KeySequence ks in vcs[i].keyrefTable.Keys)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
305foreach (object k in _cache.Keys)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
295return new ArrayList(_scope.Keys);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
1439get { return _typeDescs.Keys; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
418foreach (string key in serializers.Keys)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
476foreach (string alias in _namespaces.Namespaces.Keys) 509foreach (string alias in _namespaces.Namespaces.Keys) 540foreach (string alias in _namespaces.Namespaces.Keys)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (2)
616foreach (XmlSerializerMappingKey mappingKey in pendingKeys.Keys) 624foreach (XmlSerializerMappingKey mappingKey in pendingKeys.Keys)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (2)
100foreach (string key in Namespaces.Keys) 126foreach (string prefix in _namespaces.Keys)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
954foreach (XmlSchema schema in imports.Keys) 975foreach (XmlSchema schema in imports.Keys)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (1)
390foreach (object key in _entries.Keys)
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (1)
91foreach (Type extensionPointType in table.Keys)
PresentationCore (3)
System\Windows\Input\InputManager.cs (1)
261return _inputProviders.Keys;
System\Windows\Media\Animation\Clock.cs (1)
4217_objectTable.Keys.CopyTo(idTable, 0);
System\Windows\Media\Animation\Timeline.cs (1)
996_objectTable.Keys.CopyTo(idTable, 0);
PresentationFramework (9)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
312ICollection keys = _xamlElementContentDescriptorDictionary.Keys;
MS\Internal\WeakHashSet.cs (1)
85foreach (object key in _hashTable.Keys)
MS\Internal\WeakHashtable.cs (1)
107foreach (object o in Keys)
MS\Internal\WeakObjectHashtable.cs (1)
105foreach (object o in Keys)
System\Windows\Documents\FixedSchema.cs (1)
303foreach (ContentType ct in _requiredResourceMimeTypes.Keys)
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
195foreach (Uri resUri in validResources.Keys)
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
184result.Keys.CopyTo(keys, 0);
System\Windows\ResourceDictionary.cs (1)
580_baseDictionary.Keys.CopyTo(keysCollection, 0);
System\Windows\SystemResources.cs (1)
1208foreach (object key in _resourceCache.Keys)
System.CodeDom (5)
src\libraries\Common\src\System\IO\TempFileCollection.cs (5)
96public IEnumerator GetEnumerator() => _files.Keys.GetEnumerator(); 98IEnumerator IEnumerable.GetEnumerator() => _files.Keys.GetEnumerator(); 100void ICollection.CopyTo(Array array, int start) => _files.Keys.CopyTo(array, start); 102public void CopyTo(string[] fileNames, int start) => _files.Keys.CopyTo(fileNames, start); 201_files.Keys.CopyTo(fileNames, 0);
System.Collections.NonGeneric (1)
System\Collections\DictionaryBase.cs (1)
51get { return InnerHashtable.Keys; }
System.Collections.Specialized (2)
System\Collections\Specialized\HybridDictionary.cs (1)
170return hashtable.Keys;
System\Collections\Specialized\StringDictionary.cs (1)
88return contents.Keys;
System.ComponentModel.TypeConverter (2)
System\ComponentModel\TypeDescriptor.cs (1)
2508foreach (Type t in refreshedTypes.Keys)
System\ComponentModel\WeakHashtable.cs (1)
78foreach (object o in Keys)
System.Configuration.ConfigurationManager (5)
src\libraries\Common\src\System\IO\TempFileCollection.cs (5)
96public IEnumerator GetEnumerator() => _files.Keys.GetEnumerator(); 98IEnumerator IEnumerable.GetEnumerator() => _files.Keys.GetEnumerator(); 100void ICollection.CopyTo(Array array, int start) => _files.Keys.CopyTo(array, start); 102public void CopyTo(string[] fileNames, int start) => _files.Keys.CopyTo(fileNames, start); 201_files.Keys.CopyTo(fileNames, 0);
System.Data.Common (12)
System\Data\DataColumn.cs (1)
1550foreach (object key in _extendedProperties.Keys)
System\Data\DataRelation.cs (1)
740foreach (object key in _extendedProperties.Keys)
System\Data\DataSet.cs (1)
1213foreach (object key in _extendedProperties.Keys)
System\Data\DataTable.cs (2)
2475foreach (object key in clonedConstraint.ExtendedProperties.Keys) 2510foreach (object key in _extendedProperties.Keys)
System\Data\ForeignKeyConstraint.cs (2)
748foreach (object key in ExtendedProperties.Keys) 788foreach (object key in ExtendedProperties.Keys)
System\Data\UniqueConstraint.cs (2)
307foreach (object key in ExtendedProperties.Keys) 332foreach (object key in ExtendedProperties.Keys)
System\Data\xmlsaver.cs (3)
812foreach (string ns in _namespaces.Keys) 843foreach (string ns in _namespaces.Keys) 875foreach (string imp_ns in _namespaces.Keys)
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
31internal ICollection PrefixCollection => _uriPrefixes.Keys;
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1354return _table.Keys;
System.Private.Xml (17)
System\Xml\Schema\NamespaceList.cs (5)
92return _set!.Keys; 132foreach (string? s in _set!.Keys) 180foreach (string? ns in sub._set!.Keys) 209foreach (string? ns in o2._set!.Keys) 347foreach (string? ns in o1._set!.Keys)
System\Xml\Schema\XmlSchemaSet.cs (2)
443foreach (string? tns in disallowedNamespaces.Keys) 1321ICollection chameleonKeys = _chameleonSchemas.Keys;
System\Xml\Schema\XmlSchemaValidator.cs (1)
2460foreach (KeySequence? ks in vcs[i].keyrefTable!.Keys)
System\Xml\Schema\XsdValidator.cs (1)
1139foreach (KeySequence? ks in vcs[i].keyrefTable!.Keys)
System\Xml\Serialization\Compilation.cs (2)
308var scopes = new TypeScope[scopeTable.Keys.Count]; 309scopeTable.Keys.CopyTo(scopes, 0);
System\Xml\Serialization\ImportContext.cs (1)
221return new ArrayList(_scope.Keys);
System\Xml\Serialization\Types.cs (1)
1431get { return _typeDescs.Keys; }
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
321foreach (string key in serializers.Keys)
System\Xml\Serialization\XmlSerializationReader.cs (1)
2311foreach (string id in _idNames.Keys)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
248foreach (string methName in _methods.Keys)
System\Xml\Xsl\XsltOld\RootAction.cs (1)
126CheckAttributeSets_RecurceInList(new Hashtable(), _attributeSetTable.Keys);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Utils.cs (1)
478foreach (string key in namespaces.Keys)
System.Web.Services.Description (1)
System\Web\Services\Configuration\WebServicesSection.cs (1)
86foreach (Type extensionPointType in table.Keys) {