12 types derived from Hashtable
PresentationFramework (2)
MS\Internal\WeakHashtable.cs (1)
19internal sealed class WeakHashtable : Hashtable, IWeakHashtable
MS\Internal\WeakObjectHashtable.cs (1)
25internal sealed class WeakObjectHashtable : Hashtable, IWeakHashtable
System.ComponentModel.TypeConverter (1)
System\ComponentModel\WeakHashtable.cs (1)
14internal sealed class WeakHashtable : Hashtable
System.Configuration.ConfigurationManager (2)
System\Configuration\SettingsAttributeDictionary.cs (1)
9public class SettingsAttributeDictionary : Hashtable
System\Configuration\SettingsContext.cs (1)
9public class SettingsContext : Hashtable
System.Data.Common (2)
System\Data\PropertyCollection.cs (1)
16public class PropertyCollection : Hashtable, ICloneable
System\Data\XmlToDatasetMap.cs (1)
41internal sealed class XmlNodeIdHashtable : Hashtable
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1249private sealed class SyncHashtable : Hashtable, IEnumerable
System.Private.Xml (1)
System\Xml\Xsl\QIL\QilValidationVisitor.cs (1)
149private sealed class ObjectHashtable : Hashtable
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SurrogateSelector.cs (1)
191internal sealed class SurrogateHashtable : Hashtable
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2510private class LegacyExpressionTable : Hashtable
System\Drawing\Design\ToolboxItem.cs (1)
805private class LockableDictionary : Hashtable
617 instantiations of Hashtable
BinaryFormatTests (21)
FormatTests\FormattedObject\HashTableTests.cs (21)
22Hashtable hashtable = new() 66Hashtable hashtable = new(new CustomHashCodeProvider(), StringComparer.OrdinalIgnoreCase) 85Hashtable hashtable = new(new CustomHashCodeProvider(), StringComparer.OrdinalIgnoreCase) 158new Hashtable(), 159new Hashtable() 163new Hashtable() 167new Hashtable() 171new Hashtable() 176new Hashtable() 180new Hashtable() 184new Hashtable() 190new Hashtable() 196new Hashtable() 202new Hashtable() 208new Hashtable() 226new Hashtable() 230new Hashtable() 234new Hashtable() 238new Hashtable() 242new Hashtable() 250Hashtable result = new(countOfEntries);
dotnet-svcutil-lib (138)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (1)
58_files = new Hashtable(StringComparer.OrdinalIgnoreCase);
FrameworkFork\Microsoft.CodeDom\Configuration\CodeDomCompilationConfiguration.cs (2)
22_compilerLanguages = new Hashtable(StringComparer.OrdinalIgnoreCase); 23_compilerExtensions = new Hashtable(StringComparer.OrdinalIgnoreCase);
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (2)
26private Hashtable _keys = new Hashtable(StringComparer.OrdinalIgnoreCase); 127_keys = new Hashtable(StringComparer.OrdinalIgnoreCase);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (1)
591_elemIdMap = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (2)
183_htElementIDAttrDecl = new Hashtable(); 236_htElementIdMap = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
696Hashtable prefixes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (1)
36this.qualifiedTable = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
54_names = new Hashtable(); 130_wildcards = new Hashtable(); 1548Hashtable stateTable = new Hashtable(); 2259_elements = new Hashtable(size);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
109private static Hashtable s_builtinTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (2)
47_attPresence = new Hashtable(); 419_IDs = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
655Hashtable table = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (2)
48_set = new Hashtable(); 352nslist._set = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
86_referenceNamespaces = new Hashtable(); 87_processedExternals = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
62_schemaLocations = new Hashtable(); //new Dictionary<Uri, Uri>(); 268_referenceNamespaces = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
27private Hashtable _schemasToCompile = new Hashtable(); 28private Hashtable _importedSchemas = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (2)
392private Hashtable _UndeclaredElements = new Hashtable(); 729builder._ElementDef._AttDefList = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (2)
53_attPresence = new Hashtable(); 643_IDs = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (1)
67private Hashtable _ids = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
57_collection = Hashtable.Synchronized(new Hashtable());
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (4)
103_schemaLocations = new Hashtable(); 104_chameleonSchemas = new Hashtable(); 105_targetNamespaces = new Hashtable(); 522Hashtable disallowedNamespaces = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (4)
199_validatedNamespaces = new Hashtable(); 211_attPresence = new Hashtable(); 1929_IDs = new Hashtable(); 2219constraintStructures[j].keyrefTable = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
760_namespaces = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (3)
70_attPresence = new Hashtable(); 777_IDs = new Hashtable(); 899constraints[j].keyrefTable = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
61_exNames = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (3)
80_exportedClasses = new Hashtable(); 90_exportedMappings = new Hashtable(); 196Hashtable typesIncluded = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (4)
53_identifiers = new Hashtable(); 54_reservedIdentifiers = new Hashtable(); 59_identifiers = new Hashtable(comparer); 60_reservedIdentifiers = new Hashtable(comparer);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (3)
32private Hashtable _assemblies = new Hashtable(); 291private Hashtable _cache = new Hashtable(); 304Hashtable clone = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (7)
49_elements = new Hashtable(); 59_mappings = new Hashtable(); 104internal Hashtable looks = new Hashtable(); 110_graph = new Hashtable(); 120_hash = new Hashtable(); 130_objectCache = new Hashtable(); 219ArrayList list = GetDependencies(o, new ArrayList(), new Hashtable());
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
20private Hashtable _models = new Hashtable(); 21private Hashtable _arrayModels = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (1)
41private Hashtable _table = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeOverrides.cs (2)
20private Hashtable _types = new Hashtable(); 40members = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
19private Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (4)
491private Hashtable _typeDescs = new Hashtable(); 492private Hashtable _arrayTypeDescs = new Hashtable(); 495private static Hashtable s_primitiveTypes = new Hashtable(); 496private static Hashtable s_primitiveDataTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeOverrides.cs (2)
20private Hashtable _types = new Hashtable(); 40members = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
365Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (4)
33private Hashtable _anonymous = new Hashtable(); // type -> AnonymousMapping 504_specials = new Hashtable(); 902Hashtable ids = new Hashtable(); 2067Hashtable choiceTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (5)
27private Hashtable _elements = new Hashtable(); // ElementAccessor -> XmlSchemaElement 28private Hashtable _attributes = new Hashtable(); // AttributeAccessor -> XmlSchemaElement 29private Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType 30private Hashtable _references = new Hashtable(); // TypeMappings to keep track of circular references via anonymous types 928Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
882Hashtable uniqueTypeDescs = new Hashtable(member.Elements.Length);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (6)
36internal Hashtable delayedSchemas = new Hashtable(); 93_mergedSchemas = new Hashtable(); 103_references = new Hashtable(); 393prep.SchemaLocations = new Hashtable(); 783prep.SchemaLocations = new Hashtable(); 784prep.ChameleonSchemas = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (3)
39private Hashtable _methodNames = new Hashtable(); 48private Hashtable _generatedMethods = new Hashtable(); 187Hashtable uniqueTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (3)
17private Hashtable _methodNames = new Hashtable(); 31private Hashtable _generatedMethods = new Hashtable(); 234Hashtable uniqueTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (8)
1550if (_targets == null) _targets = new Hashtable(); 1588if (_referencedTargets == null) _referencedTargets = new Hashtable(); 1912_callbacks = new Hashtable(); 1913_types = new Hashtable(); 1916_typesReverse = new Hashtable(); 2172private Hashtable _idNames = new Hashtable(); 2174private Hashtable _createMethods = new Hashtable(); 2185_enums = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (9)
537Hashtable qnIndexes = new Hashtable(); 898_references = new Hashtable(); 1442_typeEntries = new Hashtable(); 1465_objectsInUse = new Hashtable(); 2154Hashtable values = new Hashtable(); 3714private static volatile Hashtable s_nameToAssemblyMap = new Hashtable(); 3715private static volatile Hashtable s_assemblyToNameMap = new Hashtable(); 3716private static Hashtable s_tableIsTypeDynamic = Hashtable.Synchronized(new Hashtable()); 3905_reflectionVariables = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
633Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (3)
144private static Hashtable s_xmlSerializerTable = new Hashtable(); 594typedMappingTable = new Hashtable(); 601Hashtable pendingKeys = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (1)
113_namespaces = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
827Hashtable table = new Hashtable(36); 861Hashtable table = new Hashtable(13);
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltArgumentList.cs (2)
23private Hashtable _parameters = new Hashtable(); 24private Hashtable _extensions = new Hashtable();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
86_surrogateDataTable = new Hashtable();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
611s_serializationSchemaElements = new Hashtable();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
893Hashtable references = new Hashtable(); 948imports = new Hashtable(); 965imports = new Hashtable();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (3)
1012System.Collections.Hashtable _tmp = new System.Collections.Hashtable(); 1026System.Collections.Hashtable _tmp = new System.Collections.Hashtable(); 1040System.Collections.Hashtable _tmp = new System.Collections.Hashtable();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (1)
29_entries = new Hashtable(keyComparer);
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (3)
32Hashtable table = new Hashtable(); 50Hashtable extensions = new Hashtable(); 78Hashtable nsDefs = new Hashtable();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (1)
3115get { if (_table == null) _table = new Hashtable(); return _table; }
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
10722System.Collections.Hashtable h = new System.Collections.Hashtable();
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (1)
294System.Collections.Hashtable h = new System.Collections.Hashtable();
Microsoft.Build (1)
Construction\Solution\ProjectInSolution.cs (1)
144AspNetConfigurations = new Hashtable(StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Engine.UnitTests (9)
BackEnd\FailingBuilderTask.cs (1)
21return BuildEngine.BuildProjectFile(CurrentProject, new string[] { "ErrorTask" }, new Hashtable(), null);
BackEnd\TaskHost_Tests.cs (2)
98IDictionary targetOutputs = new Hashtable(); 99IDictionary projectProperties = new Hashtable();
ConsoleLogger_Tests.cs (4)
1421Hashtable properties = new Hashtable(); 1663Hashtable items = new Hashtable(); 1750Hashtable items = new Hashtable(); 1792Hashtable properties = new Hashtable();
MockTask.cs (1)
465return new Hashtable();
TaskThatReturnsMinimalItem.cs (1)
38Hashtable t = new();
Microsoft.Build.Tasks.Core (3)
RedistList.cs (2)
550var uniqueClientListNames = new Hashtable(StringComparer.OrdinalIgnoreCase); 590var denyList = new Hashtable(StringComparer.OrdinalIgnoreCase);
ToolTaskExtension.cs (1)
60protected internal Hashtable Bag { get; } = new Hashtable();
Microsoft.Build.Tasks.UnitTests (14)
ResolveNonMSBuildProjectOutput_Tests.cs (14)
131Hashtable projectOutputs = new Hashtable(); 136projectOutputs = new Hashtable(); 142projectOutputs = new Hashtable(); 148projectOutputs = new Hashtable(); 156projectOutputs = new Hashtable(); 196unresolvedOutputs = new Hashtable(); 203resolvedOutputs = new Hashtable(); 223projectOutputs = new Hashtable(); 249Hashtable projectOutputs = new Hashtable(); 264projectOutputs = new Hashtable(); 278projectOutputs = new Hashtable(); 293projectOutputs = new Hashtable(); 306projectOutputs = new Hashtable(); 320projectOutputs = new Hashtable();
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
89s_builtInMetadataNames = new Hashtable();
Microsoft.Build.Utilities.UnitTests (1)
TaskItem_Tests.cs (1)
115Hashtable h = new Hashtable();
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
35var obj = new Hashtable
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
854Value: new() { ["one"] = 1, ["two"] = "two", ["three"] = 3.14 },
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (1)
80m_AssemblyData = New System.Collections.Hashtable
PresentationBuildTasks (9)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
166Hashtable globalProperties = new Hashtable(3);
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
654_uidTable = new Hashtable(); 656_sequenceMaxIds = new Hashtable();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (1)
1813private readonly Hashtable _objectHashTable = new();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1868private Hashtable _IDTypes = new Hashtable();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (3)
3989_dpLookupHashtable = new Hashtable(); 4139private Hashtable _typeLookupFromXmlHashtable = new Hashtable(); 4142private Hashtable _namespaceMapHashList = new Hashtable();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
73private static Hashtable _assemblyHasCacheInfo = new Hashtable(8);
PresentationCore (22)
MS\Internal\FontCache\TypefaceMetricsCache.cs (2)
53_hashTable = new Hashtable(MaxCacheCapacity); 60private static Hashtable _hashTable = new Hashtable(MaxCacheCapacity);
MS\Internal\FontFace\CompositeFontParser.cs (1)
164_namespaceMap = new Hashtable();
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\Maps.cs (1)
66_overFlow = new Hashtable();
System\Windows\Automation\Peers\AutomationPeer.cs (2)
2364s_patternInfo = new Hashtable(); 2396s_propertyInfo = new Hashtable();
System\Windows\GlobalEventManager.cs (1)
459private static Hashtable _ownerTypedRoutedEventList = new Hashtable(10); // Initialization sizes based on typical MSN scenario
System\Windows\Input\AccessKeyManager.cs (1)
731private Hashtable _keyToElements = new Hashtable(10);
System\Windows\Input\InputManager.cs (1)
934private Hashtable _inputProviders = new Hashtable();
System\Windows\Input\StagingAreaInputItem.cs (1)
42_dictionary = new Hashtable();
System\Windows\Input\TextServicesCompartmentContext.cs (2)
80_compartmentTable = new Hashtable(); 106_globalcompartmentTable = new Hashtable();
System\Windows\Markup\XmlLanguage.cs (1)
48private static Hashtable _cache = new Hashtable(InitialDictionarySize);
System\Windows\Media\Animation\Clock.cs (2)
4363Hashtable removeTable = new Hashtable(); 4481internal static Hashtable _objectTable = new Hashtable();
System\Windows\Media\Animation\Timeline.cs (2)
1156Hashtable removeTable = new Hashtable(); 1203internal static Hashtable _objectTable = new Hashtable();
System\Windows\Media\Imaging\BitmapDownload.cs (1)
53_uriTable = Hashtable.Synchronized(new Hashtable());
System\Windows\Media\Imaging\ImagingCache.cs (2)
126private static Hashtable _imageCache = new Hashtable(); 129private static Hashtable _decoderCache = new Hashtable();
System\Windows\Nrbf\SerializationRecordExtensions.cs (1)
275Hashtable temp = new(keysRecord.Length);
System\Windows\UIElement.cs (1)
378Hashtable list = new Hashtable(2);
PresentationFramework (40)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
48_locatorPartHandlers = new Hashtable(); 49_subtreeProcessors = new Hashtable(); 50_selectionProcessors = new Hashtable();
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
1147private static Hashtable _documentHandlers = new Hashtable();
MS\Internal\Documents\PageCache.cs (1)
928_table = new Hashtable(16);
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
60Hashtable propertyOccurrences = new Hashtable(8);
MS\Internal\Globalization\BamlTreeMap.cs (1)
336_classNameToAssemblyIndex = new Hashtable(8);
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
267Hashtable uidSubstitutions = new Hashtable(newChildren.Count);
MS\Internal\IO\Packaging\initElementDictionary.cs (1)
47_xamlElementContentDescriptorDictionary = new Hashtable(300);
MS\Internal\LayoutDump.cs (2)
178private static Hashtable _elementToDumpHandler = new Hashtable(); 183private static Hashtable _documentPageToDumpHandler = new Hashtable();
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
49_dataChildren = new Hashtable(rowPresenter.ActualCells.Count);
System\Windows\Controls\DefinitionBase.cs (1)
729private Hashtable _registry = new Hashtable(); // storage for shared state objects
System\Windows\Controls\Grid.cs (1)
1280store = new Hashtable();
System\Windows\Controls\RadioButton.cs (2)
70_groupNameToElements = new Hashtable(1); 138_groupNameToElements = new Hashtable(1);
System\Windows\Controls\TextRangeAdaptor.cs (1)
41_textPatternAttributes = new Hashtable();
System\Windows\Documents\FixedFlowMap.cs (1)
347_mapping = new Hashtable();
System\Windows\Documents\FixedSchema.cs (1)
331private Hashtable _requiredResourceMimeTypes = new Hashtable(11);
System\Windows\Documents\ImmComposition.cs (1)
1936private static Hashtable _list = new Hashtable(1);
System\Windows\Documents\RtfToXamlLexer.cs (1)
559_rtfControlTable = new Hashtable(controlWordInfoTable.Length);
System\Windows\Documents\RtfToXamlReader.cs (1)
3707_fontMappings = new Hashtable();
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
212_attributes = new Hashtable();
System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
93_uniqueUriRef = new Hashtable(11); 99validResources = new Hashtable(11);
System\Windows\Input\KeyboardNavigation.cs (2)
2796elementTable = new Hashtable(10); 3462private Hashtable _containerHashtable = new Hashtable(10);
System\Windows\Interop\ActiveXHost.cs (1)
1023private static Hashtable invalidatorMap = new Hashtable();
System\Windows\Markup\BamlMapTable.cs (2)
1782_converterCache = new Hashtable(); 1813private readonly Hashtable _objectHashTable = new();
System\Windows\Markup\BamlWriter.cs (1)
46_assemblies = new Hashtable(7);
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
398private static Hashtable _shouldSerializeCache = new Hashtable();
System\Windows\Markup\WpfXamlLoader.cs (1)
60namespaceMaps = new Hashtable();
System\Windows\Markup\XamlTypeMapper.cs (3)
3989_dpLookupHashtable = new Hashtable(); 4139private Hashtable _typeLookupFromXmlHashtable = new Hashtable(); 4142private Hashtable _namespaceMapHashList = new Hashtable();
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
127Hashtable result = new Hashtable();
System\Windows\ResourceDictionary.cs (1)
45_baseDictionary = new Hashtable();
System\Windows\SystemResources.cs (1)
1667private static Hashtable _resourceCache = new Hashtable();
System\Windows\TemplateNameScope.cs (1)
127nonFeChildren = new Hashtable(1);
ReachFramework (16)
Packaging\XpsInterleavingPolicy.cs (1)
179_flushOrderItems = new Hashtable(11);
Serialization\Manager\MetroSerializationManager.cs (3)
482_typesCacheTable = new Hashtable(20); 483_serializersTable = new Hashtable(20); 484_typesDependencyPropertiesCacheTable = new Hashtable(20);
Serialization\Manager\NullPackagingPolicy.cs (1)
47_fontsCache = new Hashtable(11);
Serialization\Manager\ReachNamespaceInfo.cs (1)
145_innerDictionary = new Hashtable(11);
Serialization\Manager\XpsOMPackagingPolicy.cs (1)
48_fontsCache = new Hashtable(INITIAL_FONTCACHE_CAPACITY);
Serialization\Manager\XpsPackagingPolicy.cs (1)
530_fontsCache = new Hashtable(11);
Serialization\Manager\XpsSerializationManager.cs (8)
1275_typesXmlNSMapping = new Hashtable(11); 1294_typeSerializableDependencyProperties = new Hashtable(11); 1301Hashtable fixedPageDependencyProperties = new Hashtable(11); 1318Hashtable fixedDocumentDependencyProperties = new Hashtable(11); 1335Hashtable fixedDocumentSequenceDependencyProperties = new Hashtable(11); 1358_typeNoneSerializableClrProperties = new Hashtable(11); 1365Hashtable fixedDocumentExcludedClrProperties = new Hashtable(11); 1382Hashtable fixedDocumentSequenceExcludedClrProperties = new Hashtable(11);
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
854Value: new() { ["one"] = 1, ["two"] = "two", ["three"] = 3.14 },
System.CodeDom (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
41_files = new Hashtable(StringComparer.OrdinalIgnoreCase);
System.Collections.NonGeneric (4)
System\Collections\DictionaryBase.cs (1)
21protected Hashtable InnerHashtable => _hashtable ??= new Hashtable();
System\Collections\Specialized\CollectionsUtil.cs (3)
19return new Hashtable(StringComparer.CurrentCultureIgnoreCase); 24return new Hashtable(capacity, StringComparer.CurrentCultureIgnoreCase); 29return new Hashtable(d, StringComparer.CurrentCultureIgnoreCase);
System.Collections.Specialized (8)
System\Collections\Specialized\HybridDictionary.cs (4)
53hashtable = new Hashtable(initialSize, StringComparer.OrdinalIgnoreCase); 57hashtable = new Hashtable(initialSize); 126newTable = new Hashtable(InitialHashtableSize, StringComparer.OrdinalIgnoreCase); 130newTable = new Hashtable(InitialHashtableSize);
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
109_entriesTable = new Hashtable(_keyComparer); 119_entriesTable = new Hashtable(capacity, _keyComparer);
System\Collections\Specialized\OrderedDictionary.cs (1)
141private Hashtable EnsureObjectsTable() => _objectsTable ??= new Hashtable(_initialCapacity, _comparer);
System\Collections\Specialized\StringDictionary.cs (1)
25private readonly Hashtable contents = new Hashtable(); // Do not rename (binary serialization)
System.ComponentModel.TypeConverter (14)
System\ComponentModel\Design\DesigntimeLicenseContext.cs (2)
18internal Hashtable _savedLicenseKeys = new Hashtable(); 64_savedLicenseKeys ??= new Hashtable();
System\ComponentModel\LicenseManager.cs (2)
89Interlocked.CompareExchange(ref s_providers, new Hashtable(), null); 101Interlocked.CompareExchange(ref s_providerInstances, new Hashtable(), null);
System\ComponentModel\PropertyDescriptorCollection.cs (2)
186_cachedFoundProperties = new Hashtable(StringComparer.OrdinalIgnoreCase); 190_cachedFoundProperties = new Hashtable();
System\ComponentModel\ReflectTypeDescriptionProvider.cs (6)
94private static Hashtable EditorTables => LazyInitializer.EnsureInitialized(ref s_editorTables, () => new Hashtable(4)); 196private static Hashtable PropertyCache => LazyInitializer.EnsureInitialized(ref s_propertyCache, () => new Hashtable()); 198private static Hashtable EventCache => LazyInitializer.EnsureInitialized(ref s_eventCache, () => new Hashtable()); 200private static Hashtable AttributeCache => LazyInitializer.EnsureInitialized(ref s_attributeCache, () => new Hashtable()); 202private static Hashtable ExtendedPropertyCache => LazyInitializer.EnsureInitialized(ref s_extendedPropertyCache, () => new Hashtable()); 330dict = new Hashtable();
System\ComponentModel\TypeDescriptor.cs (2)
2484refreshedTypes ??= new Hashtable(); 2497refreshedTypes ??= new Hashtable();
System.Configuration.ConfigurationManager (25)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
41_files = new Hashtable(StringComparer.OrdinalIgnoreCase);
System\Configuration\BaseConfigurationRecord.cs (5)
727factoryList ??= new Hashtable(); 1754Hashtable factoryList = new Hashtable(); 3146_sectionRecords = new Hashtable(); 3188return _factoryRecords ??= new Hashtable(); 3417_children ??= new Hashtable(StringComparer.OrdinalIgnoreCase);
System\Configuration\ClientSettingsStore.cs (2)
87Hashtable settings = new Hashtable(); 111Hashtable settings = new Hashtable();
System\Configuration\ConfigurationElement.cs (1)
42private static readonly Hashtable s_propertyBags = new Hashtable();
System\Configuration\ConfigurationElementCollection.cs (1)
255Hashtable inheritance = new Hashtable();
System\Configuration\DictionarySectionHandler.cs (1)
32res = new Hashtable(StringComparer.OrdinalIgnoreCase);
System\Configuration\LocalFileSettingsProvider.cs (2)
152Hashtable roamingUserSettings = new Hashtable(); 153Hashtable localUserSettings = new Hashtable();
System\Configuration\MgmtConfigurationRecord.cs (5)
45private Hashtable SectionGroups => _sectionGroups ??= new Hashtable(); 47private Hashtable RemovedSections => _removedSections ??= new Hashtable(); 49private Hashtable RemovedSectionGroups => _removedSectionGroups ??= new Hashtable(); 302_locationTags ??= new Hashtable(StringComparer.OrdinalIgnoreCase); 310Hashtable factories = new Hashtable();
System\Configuration\Provider\ProviderCollection.cs (1)
15_hashtable = new Hashtable(10, StringComparer.OrdinalIgnoreCase);
System\Configuration\SectionUpdates.cs (2)
21_groups = new Hashtable(); 22_sections = new Hashtable();
System\Configuration\SettingsPropertyCollection.cs (1)
15_hashtable = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
System\Configuration\SettingsPropertyValueCollection.cs (1)
16_indices = new Hashtable(10, StringComparer.CurrentCultureIgnoreCase);
System\Configuration\SingleTagSectionHandler.cs (2)
30result = new Hashtable(); 32result = new Hashtable((IDictionary)parent);
System.Data.Common (34)
System\Data\Common\DbConnectionStringBuilder.cs (1)
409Hashtable descriptors = new Hashtable(StringComparer.OrdinalIgnoreCase);
System\Data\Common\FieldNameLookup.cs (1)
108Hashtable hash = new Hashtable(length);
System\Data\DataTable.cs (4)
753Hashtable rowErrors = new Hashtable(); 754Hashtable colErrors = new Hashtable(); 2362visitedMap ??= new Hashtable(); 6937return _rowDiffId ??= new Hashtable();
System\Data\DataViewSettingCollection.cs (1)
15private readonly Hashtable _list = new Hashtable();
System\Data\XmlDataLoader.cs (5)
36_nodeToRowMap = new Hashtable(); 45_nodeToRowMap = new Hashtable(); 61_nodeToRowMap = new Hashtable(); 72_nodeToRowMap = new Hashtable(); 376Hashtable foundColumns = new Hashtable();
System\Data\xmlsaver.cs (7)
548_autogenerated = new Hashtable(); 583_namespaces = new Hashtable(); 584_prefixes = new Hashtable(); 950_namespaces = new Hashtable(); 951_prefixes = new Hashtable(); 955_autogenerated = new Hashtable(); 2325_rowsOrder = new Hashtable(rows);
System\Data\XMLSchema.cs (8)
220_udSimpleTypes ??= new Hashtable(); 372_expressions ??= new Hashtable(); 654_constraintNodes = new Hashtable(); 686_elementsTable = new Hashtable(); 687_attributes = new Hashtable(); 688_attributeGroups = new Hashtable(); 689_schemaTypes = new Hashtable(); 692_existingSimpleTypeMap = new Hashtable();
System\Xml\DataSetMappper.cs (5)
33_tableSchemaMap = new Hashtable(); 34_columnSchemaMap = new Hashtable(); 42_tableSchemaMap = new Hashtable(); 43_columnSchemaMap = new Hashtable(); 364columns = new Hashtable();
System\Xml\XmlDataDocument.cs (2)
2463Hashtable foundColumns = new Hashtable(); 2598_pointers = new Hashtable();
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
21internal Hashtable _uriPrefixes = new Hashtable();
System.Net.Primitives (1)
System\Net\CookieContainer.cs (1)
78private readonly Hashtable m_domainTable = new Hashtable(); // Do not rename (binary serialization)
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
93private static readonly Hashtable s_queuesCache = new Hashtable();
System.Net.WebHeaderCollection (1)
System\Net\HeaderInfoTable.cs (1)
87var headers = new Hashtable(Items * 2, StringComparer.OrdinalIgnoreCase)
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
449Hashtable ht = new Hashtable(_count, _keycomparer);
src\libraries\System.Private.CoreLib\src\System\CurrentSystemTimeZone.cs (1)
180private readonly Hashtable m_CachedDaylightChanges = new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Environment.NoRegistry.cs (1)
19private static Hashtable GetEnvironmentVariablesFromRegistry(bool fromMachine) => new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
92var results = new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
55_hashtable = new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (1)
84Hashtable hashtable = new Hashtable(_attributes.Count / 2);
src\libraries\System.Private.CoreLib\src\System\Text\EncodingTable.cs (1)
18private static readonly Hashtable s_nameToCodePage = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContract.cs (1)
307private static readonly Hashtable s_namespaces = new Hashtable();
System\Runtime\Serialization\DataContractSet.cs (1)
64public Hashtable SurrogateData => _surrogateData ??= new Hashtable();
System\Runtime\Serialization\ExtensionDataReader.cs (3)
44private readonly Hashtable _cache = new Hashtable(); 53private static readonly Hashtable s_nsToPrefixTable = new Hashtable(); 55private static readonly Hashtable s_prefixToNsTable = new Hashtable();
System\Runtime\Serialization\SchemaExporter.cs (2)
553Hashtable elements = new Hashtable(); 554Hashtable types = new Hashtable();
System\Runtime\Serialization\SchemaImporter.cs (1)
603s_serializationSchemaElements = new Hashtable();
System.Private.Uri (3)
System\UriSyntax.cs (3)
78private static readonly Hashtable s_table = new Hashtable(16) // Hashtable used instead of Dictionary<> for lock-free reads 97private static Hashtable s_tempTable = new Hashtable(c_InitialTableSize); // Hashtable used instead of Dictionary<> for lock-free reads 208s_tempTable = new Hashtable(c_InitialTableSize);
System.Private.Windows.Core (1)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
484Hashtable temp = new(keysRecord.Length);
System.Private.Windows.Core.Tests (16)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (16)
129new Hashtable { { "bool", true } }, 130new Hashtable { { "char", 'a' } }, 131new Hashtable { { "byte", (byte)1 } }, 132new Hashtable { { "sbyte", (sbyte)2 } }, 133new Hashtable { { "short", (short)3 } }, 134new Hashtable { { "ushort", (ushort)4 } }, 135new Hashtable { { "int", 5 } }, 136new Hashtable { { "uint", (uint)6 } }, 137new Hashtable { { "long", (long)7 } }, 138new Hashtable { { "ulong", (ulong)8 } }, 139new Hashtable { { "float", 9.0f } }, 140new Hashtable { { "double", 10.0 } }, 141new Hashtable { { "decimal", (decimal)11 } }, 142new Hashtable { { "DateTime", DateTime.Now } }, 143new Hashtable { { "TimeSpan", TimeSpan.FromHours(1) } }, 144new Hashtable { { "string", "test" } }
System.Private.Xml (123)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
602_elemIdMap ??= new Hashtable();
System\Xml\Dom\XmlDocument.cs (2)
258_htElementIDAttrDecl ??= new Hashtable(); 314_htElementIdMap ??= new Hashtable();
System\Xml\Schema\ConstraintStruct.cs (1)
38this.qualifiedTable = new Hashtable();
System\Xml\Schema\DataTypeImplementation.cs (1)
105private static readonly Hashtable s_builtinTypes = new Hashtable();
System\Xml\Schema\DtdValidator.cs (2)
50_attPresence = new Hashtable(); 420_IDs ??= new Hashtable();
System\Xml\Schema\Inference\Infer.cs (1)
637Hashtable table = new Hashtable();
System\Xml\Schema\NamespaceList.cs (2)
43_set = new Hashtable(); 346nslist._set = new Hashtable();
System\Xml\Schema\Preprocessor.cs (2)
82_referenceNamespaces = new Hashtable(); 83_processedExternals = new Hashtable();
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
57_schemaLocations = new Hashtable(); //new Dictionary<Uri, Uri>(); 263_referenceNamespaces = new Hashtable();
System\Xml\Schema\SchemaSetCompiler.cs (1)
26private readonly Hashtable _schemasToCompile = new Hashtable();
System\Xml\Schema\XdrBuilder.cs (2)
390private readonly Hashtable _UndeclaredElements = new Hashtable(); 719builder._ElementDef._AttDefList = new Hashtable();
System\Xml\Schema\XdrValidator.cs (2)
53_attPresence = new Hashtable(); 641_IDs ??= new Hashtable();
System\Xml\Schema\XmlSchema.cs (1)
53private readonly Hashtable _ids = new Hashtable();
System\Xml\Schema\XmlSchemaCollection.cs (1)
50_collection = Hashtable.Synchronized(new Hashtable());
System\Xml\Schema\XmlSchemaSet.cs (4)
96_schemaLocations = new Hashtable(); 97_chameleonSchemas = new Hashtable(); 98_targetNamespaces = new Hashtable(); 411Hashtable disallowedNamespaces = new Hashtable();
System\Xml\Schema\XmlSchemaValidator.cs (4)
180_validatedNamespaces = new Hashtable(); 209_attPresence = new Hashtable(); 1904_IDs ??= new Hashtable(); 2191constraintStructures[j].keyrefTable = new Hashtable();
System\Xml\Schema\XsdValidator.cs (3)
79_attPresence = new Hashtable(); 759_IDs ??= new Hashtable(); 881constraints[j].keyrefTable = new Hashtable();
System\Xml\Serialization\CodeIdentifiers.cs (4)
52_identifiers = new Hashtable(); 53_reservedIdentifiers = new Hashtable(); 58_identifiers = new Hashtable(comparer); 59_reservedIdentifiers = new Hashtable(comparer);
System\Xml\Serialization\Compilation.cs (3)
304var scopeTable = new Hashtable(); 311var importedTypes = new Hashtable(); 416var serializers = new Hashtable();
System\Xml\Serialization\ContextAwareTables.cs (1)
19_defaultTable = new Hashtable();
System\Xml\Serialization\ImportContext.cs (7)
34internal Hashtable Elements => _elements ??= new Hashtable(); 36internal Hashtable Mappings => _mappings ??= new Hashtable(); 58internal Hashtable looks = new Hashtable(); 59private Hashtable Graph => _graph ??= new Hashtable(); 61private Hashtable Hash => _hash ??= new Hashtable(); 63private Hashtable ObjectCache => _objectCache ??= new Hashtable(); 141ArrayList list = GetDependencies(o, new ArrayList(), new Hashtable());
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
604var delegateCacheForType = s_setMemberValueDelegateCache.GetOrCreateValue(type, _ => new Hashtable()); 1288var h = new Hashtable();
System\Xml\Serialization\SoapAttributeOverrides.cs (2)
15private readonly Hashtable _types = new Hashtable(); 27members = new Hashtable();
System\Xml\Serialization\Types.cs (4)
461private readonly Hashtable _typeDescs = new Hashtable(); 462private readonly Hashtable _arrayTypeDescs = new Hashtable(); 465private static readonly Hashtable s_primitiveTypes = new Hashtable(); 466private static readonly Hashtable s_primitiveDataTypes = new Hashtable();
System\Xml\Serialization\XmlReflectionImporter.cs (4)
34private readonly Hashtable _anonymous = new Hashtable(); // type -> AnonymousMapping 512_specials ??= new Hashtable(); 909Hashtable ids = new Hashtable(); 2082Hashtable choiceTypes = new Hashtable();
System\Xml\Serialization\XmlSchemaExporter.cs (5)
20private readonly Hashtable _elements = new Hashtable(); // ElementAccessor -> XmlSchemaElement 21private readonly Hashtable _attributes = new Hashtable(); // AttributeAccessor -> XmlSchemaElement 22private readonly Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType 23private readonly Hashtable _references = new Hashtable(); // TypeMappings to keep track of circular references via anonymous types 885Hashtable values = new Hashtable();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
782Hashtable uniqueTypeDescs = new Hashtable(member.Elements.Length);
System\Xml\Serialization\XmlSchemas.cs (6)
28internal Hashtable delayedSchemas = new Hashtable(); 60internal Hashtable MergedSchemas => _mergedSchemas ??= new Hashtable(); 62internal Hashtable References => _references ??= new Hashtable(); 289prep.SchemaLocations = new Hashtable(); 677prep.SchemaLocations = new Hashtable(); 678prep.ChameleonSchemas = new Hashtable();
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (3)
24private readonly Hashtable _methodNames = new Hashtable(); 33private readonly Hashtable _generatedMethods = new Hashtable(); 175Hashtable uniqueTypes = new Hashtable();
System\Xml\Serialization\XmlSerializationReader.cs (9)
1455_targets ??= new Hashtable(); 1487_referencedTargets ??= new Hashtable(); 1847_callbacks = new Hashtable(); 1848_types = new Hashtable(); 1851_typesReverse = new Hashtable(); 2045private readonly Hashtable _idNames = new Hashtable(); 2047private readonly Hashtable _createMethods = new Hashtable(); 2051internal Hashtable Enums => _enums ??= new Hashtable(); 3030Hashtable cases = new Hashtable();
System\Xml\Serialization\XmlSerializationWriter.cs (7)
895_references = new Hashtable(); 1409_typeEntries = new Hashtable(); 1431_objectsInUse = new Hashtable(); 1488private static readonly Hashtable s_nameToAssemblyMap = new Hashtable(); 1489private static readonly Hashtable s_assemblyToNameMap = new Hashtable(); 1684_reflectionVariables = new Hashtable(); 2887Hashtable values = new Hashtable();
System\Xml\Serialization\XmlSerializer.cs (1)
700return TempAssembly.GenerateSerializerToStream(mappings, types, null, assembly, new Hashtable(), stream);
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
531_symbols = new Hashtable();
System\Xml\Xsl\IlGen\XmlILModule.cs (3)
59_methods = new Hashtable(); 85_methods = new Hashtable(); 247methodsBaked = new Hashtable(_methods.Count);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
28_qnames = new Hashtable();
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
47_dataSourceCache = new Hashtable();
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
112_withParams ??= new Hashtable();
System\Xml\Xsl\XsltOld\Compiler.cs (4)
375_globalNamespaceAliasTable ??= new Hashtable(); 750private readonly Hashtable[] _typeDeclsByLang = new Hashtable[] { new Hashtable(), new Hashtable(), new Hashtable() };
System\Xml\Xsl\XsltOld\HtmlProps.cs (2)
57Hashtable table = new Hashtable(71, StringComparer.OrdinalIgnoreCase); 168Hashtable table = new Hashtable(26, StringComparer.OrdinalIgnoreCase);
System\Xml\Xsl\XsltOld\InputScope.cs (3)
62_extensionNamespaces ??= new Hashtable(); 77_excludedNamespaces ??= new Hashtable(); 94_variables ??= new Hashtable();
System\Xml\Xsl\XsltOld\Processor.cs (2)
174_documentCache = new Hashtable(); 367_scriptExtensions = new Hashtable(_stylesheet.ScriptObjectTypes.Count);
System\Xml\Xsl\XsltOld\RootAction.cs (3)
83private readonly Hashtable _attributeSetTable = new Hashtable(); 84private readonly Hashtable _decimalFormatTable = new Hashtable(); 126CheckAttributeSets_RecurceInList(new Hashtable(), _attributeSetTable.Keys);
System\Xml\Xsl\XsltOld\Stylesheet.cs (5)
16private readonly Hashtable _templateNameTable = new Hashtable(); 23private readonly Hashtable _scriptObjectTypes = new Hashtable(); 79_queryKeyTable = new Hashtable(); 151_attributeSetTable ??= new Hashtable(); 189_modeManagers ??= new Hashtable();
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
271Hashtable documents = new Hashtable(); 295Hashtable keyTable = new Hashtable(); 575Hashtable ft = new Hashtable(10);
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
202_cdataElements ??= new Hashtable(qnames.Length);
System\Xml\Xslt\XsltArgumentList.cs (2)
18private readonly Hashtable _parameters = new Hashtable(); 19private readonly Hashtable _extensions = new Hashtable();
System.Runtime.Caching (4)
System\Runtime\Caching\FileChangeNotificationSystem.cs (1)
92_dirMonitors = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
System\Runtime\Caching\HostFileChangeMonitor.cs (1)
51Hashtable fcnState = new Hashtable(_filePaths.Count);
System\Runtime\Caching\MemoryCache.cs (1)
483Hashtable h = new Hashtable();
System\Runtime\Caching\MemoryCacheStore.cs (1)
41_entries = new Hashtable(new MemoryCacheEqualityComparer());
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
29Hashtable nsLocallyDeclared = new Hashtable(); 100Hashtable nsLocallyDeclared = new Hashtable();
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
100_keyNameMapping = new Hashtable(_capacity);
System\Security\Cryptography\Xml\NamespaceFrame.cs (2)
14private readonly Hashtable _rendered = new Hashtable(); 15private readonly Hashtable _unrendered = new Hashtable();
System\Security\Cryptography\Xml\Transform.cs (3)
194_propagatedNamespaces = new Hashtable(0); 207_propagatedNamespaces = new Hashtable(0); 211_propagatedNamespaces = new Hashtable(namespaces.Count);
System\Security\Cryptography\Xml\Utils.cs (1)
392Hashtable set = new Hashtable();
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
14private static Hashtable s_connectionPoolRegistries = new Hashtable();
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\Regex.cs (2)
192caps = value as Hashtable ?? new Hashtable(value); 207capnames = value as Hashtable ?? new Hashtable(value);
System\Text\RegularExpressions\RegexParser.cs (5)
93new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 105using var parser = new RegexParser(pattern, options, culture, new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 223var parser = new RegexParser(input, RegexOptions.None, CultureInfo.InvariantCulture, new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 1811_capnames = new Hashtable(); 1871_capnames = new Hashtable();
System.Text.RegularExpressions.Generator (5)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (5)
93new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 105using var parser = new RegexParser(pattern, options, culture, new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 223var parser = new RegexParser(input, RegexOptions.None, CultureInfo.InvariantCulture, new Hashtable(), 0, null, stackalloc int[OptionStackDefaultSize]); 1811_capnames = new Hashtable(); 1871_capnames = new Hashtable();
System.Transactions.Local (1)
System\Transactions\TransactionManager.cs (1)
612LazyInitializer.EnsureInitialized(ref s_promotedTransactionTable, ref s_classSyncObject, () => new Hashtable(100));
System.Web.Services.Description (5)
System\Web\Services\Configuration\WebServicesSection.cs (3)
34Hashtable table = new Hashtable(); 52Hashtable extensions = new Hashtable(); 75Hashtable nsDefs = new Hashtable();
System\Web\Services\Description\ServiceDescription.cs (1)
2031get { if (_table == null) { _table = new Hashtable(); } return _table; }
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
10647System.Collections.Hashtable h = new System.Collections.Hashtable();
System.Windows.Forms (2)
System\Drawing\Design\UITypeEditor.cs (1)
36var intrinsicEditors = new Hashtable
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
57Hashtable values = new Hashtable(properties.Count);
System.Windows.Forms.Design (2)
System\Drawing\Design\ToolboxItem.cs (1)
225IComponent[]? comps = CreateComponentsCore(host, new Hashtable());
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
680defaultValues ??= new Hashtable();
System.Windows.Forms.Design.Tests (19)
System\Drawing\Design\ToolboxItemTests.cs (11)
465Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, new Hashtable()))); 492.Setup(i => i.InitializeNewComponent(new Hashtable())); 531Assert.Same(component, Assert.Single(item.CreateComponents(mockDesignerHost.Object, new Hashtable()))); 559.Setup(i => i.InitializeNewComponent(new Hashtable())) 601Assert.Throws<InvalidOperationException>(() => item.CreateComponents(mockDesignerHost.Object, new Hashtable())); 655Assert.Null(item.CreateComponents(mockDesignerHost.Object, new Hashtable())); 784Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()))); 811.Setup(i => i.InitializeNewComponent(new Hashtable())); 850Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()))); 878.Setup(i => i.InitializeNewComponent(new Hashtable())) 920Assert.Throws<InvalidOperationException>(() => item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()));
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (6)
177Hashtable values = new() 272Hashtable values = new() 355Hashtable values = new() 435Hashtable values = new() 491Hashtable values = new() 540Hashtable values = new()
System\Windows\Forms\Design\FlowLayoutPanelDesignerTests.cs (1)
65Hashtable properties = new()
System\Windows\Forms\Design\TabControlDesignerTests.cs (1)
47designer.InitializeNewComponent(new Hashtable());
System.Windows.Forms.Tests (18)
System\Resources\ResxDataNodeTests.cs (10)
93new Hashtable(), 94new Hashtable() 98new Hashtable() 102new Hashtable() 106new Hashtable() 111new Hashtable() 115new Hashtable() 119new Hashtable() 125new Hashtable() 131new Hashtable()
System\Resources\ResXResourceReaderTests.cs (7)
101IDictionary expectedData = new Hashtable { { keyName1, testValue1 }, { keyName2, testValue2 } }; 113IDictionary actualData = new Hashtable(); 132IDictionary expectedData = new Hashtable { { keyName, testValue } }; 141IDictionary actualData = new Hashtable(); 159IDictionary expectedMetadata = new Hashtable { { metadataName, sampleMetadataValue } }; 168IDictionary actualMetadata = new Hashtable(); 205IDictionary expectedData = new Hashtable { { keyName, testValue } };
System\Windows\Forms\Control.ActiveXImplTests.cs (1)
59control.Table = new Hashtable() { { "Whas", "sup" } };
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
479private static Hashtable _loadedAssembliesHash = new Hashtable(8);
System\Windows\Markup\ValueSerializer.cs (2)
26private static Hashtable s_valueSerializers = new Hashtable(); 270s_valueSerializers = new Hashtable();
UIAutomationClient (2)
MS\Internal\Automation\ProxyManager.cs (2)
826private static Hashtable _classHandlers = new Hashtable(22, 1.0f); 830private static Hashtable _imageOnlyHandlers = new Hashtable(0,1.0f);
UIAutomationClientSideProviders (11)
MS\Internal\AutomationProxies\EventManager.cs (5)
506_objectIdWindow = new Hashtable(7, .1f); 517_objectIdClient = new Hashtable(20, .1f); 543_objectIdScroll = new Hashtable(3, .1f); 551_objectIdCaret = new Hashtable(1, .1f); 557_objectIdMenu = new Hashtable(1, .1f);
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (3)
90eventTable = new Hashtable(); 393private Hashtable _hwndTable = new Hashtable(); 396private Hashtable _browserTable = new Hashtable();
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
91private static Hashtable _groupManagers = new Hashtable(10);
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1117private static Hashtable _expandedMenus = new Hashtable(5);
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
369_ahp[evt] = new Hashtable(10);
UIAutomationTypes (1)
System\Windows\Automation\AutomationIdentifier.cs (1)
263private static Hashtable _idTable = new Hashtable(200,1.0f);
1028 references to Hashtable
BinaryFormatTests (27)
FormatTests\FormattedObject\BinaryFormattedTypes.cs (1)
33typeof(Hashtable),
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (6)
51if (value is Hashtable hashtable) 53Hashtable deserializedHashtable = (Hashtable)deserialized; 108if (value is Hashtable hashtable) 110Hashtable deserializedHashtable = (Hashtable)deserialized!;
FormatTests\FormattedObject\HashTableTests.cs (17)
22Hashtable hashtable = new() 28SerializationInfo info = new(typeof(Hashtable), FormatterConverterStub.Instance); 66Hashtable hashtable = new(new CustomHashCodeProvider(), StringComparer.OrdinalIgnoreCase) 72rootRecord.TryGetPrimitiveHashtable(out Hashtable? deserialized).Should().BeFalse(); 85Hashtable hashtable = new(new CustomHashCodeProvider(), StringComparer.OrdinalIgnoreCase) 97public void BinaryFormatWriter_WriteHashtables(Hashtable hashtable) 107Hashtable deserialized = (Hashtable)formatter.Deserialize(stream); // CodeQL [SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter because the data is trusted and the types are controlled and validated. 118public void BinaryFormatWriter_WriteUnsupportedHashtables(Hashtable hashtable) 127public void BinaryFormattedObjectExtensions_TryGetPrimitiveHashtable(Hashtable hashtable) 130rootRecord.TryGetPrimitiveHashtable(out Hashtable? deserialized).Should().BeTrue(); 141public void RoundTripHashtables(Hashtable hashtable) 148rootRecord.TryGetPrimitiveHashtable(out Hashtable? deserialized).Should().BeTrue(); 156public static TheoryData<Hashtable> Hashtables_TestData => new() 224public static TheoryData<Hashtable> Hashtables_UnsupportedTestData => new() 248private static Hashtable MakeRepeatedHashtable(int countOfEntries, object? value) 250Hashtable result = new(countOfEntries);
SerializationRecordExtensionsTests.cs (3)
34if (value is Hashtable hashtable) 36Hashtable deserializedHashtable = (Hashtable)deserialized!;
ComDisabled.Tests (1)
Control.ActiveXImplTests.cs (1)
43public Hashtable Table { get; set; }
dotnet-svcutil-lib (228)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (1)
34private Hashtable _files;
FrameworkFork\Microsoft.CodeDom\Configuration\CodeDomCompilationConfiguration.cs (2)
13internal Hashtable _compilerLanguages; 15internal Hashtable _compilerExtensions;
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
26private Hashtable _keys = new Hashtable(StringComparer.OrdinalIgnoreCase);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (1)
58private Hashtable _elemIdMap; // Map from element name to ID attribute name
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (2)
26private Hashtable _htElementIdMap; 27private Hashtable _htElementIDAttrDecl; //key: id; object: the ArrayList of the elements that have the same id (connected or disconnected)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
696Hashtable prefixes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (2)
19internal Hashtable qualifiedTable; // Checking confliction 20internal Hashtable keyrefTable; // several keyref tables having connections to this one is possible
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
46private Hashtable _names; 47private Hashtable _wildcards = null; 1548Hashtable stateTable = new Hashtable(); 2252private Hashtable _elements; // unique terminal names to positions in Bitset mapping
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
109private static Hashtable s_builtinTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (2)
29private Hashtable _attPresence; 31private Hashtable _IDs;
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
655Hashtable table = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (2)
25private Hashtable _set = null; 75nsl._set = (Hashtable)(_set.Clone());
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (6)
55private Hashtable _schemaLocations; 56private Hashtable _chameleonSchemas; 58private Hashtable _referenceNamespaces; 59private Hashtable _processedExternals; 232internal Hashtable SchemaLocations 242internal Hashtable ChameleonSchemas
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
35private Hashtable _schemaLocations; 36private Hashtable _referenceNamespaces;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
235internal void CheckAttributes(Hashtable presence, bool standalone)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNamespaceManager.cs (2)
26Hashtable namespaces; 46Hashtable namespaces;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
27private Hashtable _schemasToCompile = new Hashtable(); 28private Hashtable _importedSchemas = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (2)
139internal Hashtable _AttDefList; // a list of current AttDefs for the <ElementType ... 392private Hashtable _UndeclaredElements = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (2)
23private Hashtable _attPresence; 27private Hashtable _IDs;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (3)
67private Hashtable _ids = new Hashtable(); 203Hashtable serializerNS = this.Namespaces.Namespaces; 561internal Hashtable Ids
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (3)
27private Hashtable _collection; 57_collection = Hashtable.Synchronized(new Hashtable()); 459internal XmlSchemaCollectionEnumerator(Hashtable collection)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (6)
40private Hashtable _schemaLocations; 41private Hashtable _chameleonSchemas; 43private Hashtable _targetNamespaces; 280internal Hashtable SchemaLocations 522Hashtable disallowedNamespaces = new Hashtable(); 939internal void Add(String targetNamespace, XmlReader reader, Hashtable validatedNamespaces)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (4)
87private Hashtable _validatedNamespaces; 94private Hashtable _attPresence; //(AttName Vs AttIndex) 97private Hashtable _IDs; 340Hashtable schemaLocations = _schemaSet.SchemaLocations;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
684private Hashtable _namespaces;
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (2)
27private Hashtable _attPresence; 30private Hashtable _IDs;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (3)
54private Hashtable _exNames; 56internal Hashtable Names 101clone._exNames = (Hashtable)this.Names.Clone();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (6)
22private Hashtable _exportedMappings; 23private Hashtable _exportedClasses; // TypeMapping -> CodeTypeDeclaration 33internal CodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable exportedMappings) 75internal Hashtable ExportedClasses 85internal Hashtable ExportedMappings 196Hashtable typesIncluded = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (4)
40private Hashtable _identifiers; 41private Hashtable _reservedIdentifiers; 195newIdentifiers._identifiers = (Hashtable)_identifiers.Clone(); 196newIdentifiers._reservedIdentifiers = (Hashtable)_reservedIdentifiers.Clone();
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (5)
28private Hashtable _writerMethods; 29private Hashtable _readerMethods; 32private Hashtable _assemblies = new Hashtable(); 291private Hashtable _cache = new Hashtable(); 304Hashtable clone = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (14)
19private Hashtable _mappings; // XmlSchema -> SerializableMapping, XmlSchemaSimpleType -> EnumMapping, XmlSchemaComplexType -> StructMapping 20private Hashtable _elements; // XmlSchemaElement -> ElementAccessor 44internal Hashtable Elements 54internal Hashtable Mappings 99private Hashtable _graph; 100private Hashtable _hash; 101private Hashtable _objectCache; 104internal Hashtable looks = new Hashtable(); 105private Hashtable Graph 115private Hashtable Hash 125private Hashtable ObjectCache 199private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs) 274private Hashtable _scope; 277internal SchemaGraph(Hashtable scope, XmlSchemas schemas)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
20private Hashtable _models = new Hashtable(); 21private Hashtable _arrayModels = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (1)
41private Hashtable _table = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (2)
90internal Hashtable ImportedElements 95internal Hashtable ImportedMappings
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeOverrides.cs (5)
20private Hashtable _types = new Hashtable(); 37Hashtable members = (Hashtable)_types[type]; 70Hashtable members = (Hashtable)_types[type];
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
46public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options, Hashtable mappings) 53public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable mappings)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
19private Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (5)
491private Hashtable _typeDescs = new Hashtable(); 492private Hashtable _arrayTypeDescs = new Hashtable(); 495private static Hashtable s_primitiveTypes = new Hashtable(); 496private static Hashtable s_primitiveDataTypes = new Hashtable(); 1451internal static Hashtable PrimtiveTypes { get { return s_primitiveTypes; } }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeOverrides.cs (5)
20private Hashtable _types = new Hashtable(); 37Hashtable members = (Hashtable)_types[type]; 70Hashtable members = (Hashtable)_types[type];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
50public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options, Hashtable mappings) 57public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable mappings) 365Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCustomFormatter.cs (1)
387internal static long ToEnum(string val, Hashtable vals, string typeName, bool validate)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (4)
32private Hashtable _specials; // type -> SpecialMapping 33private Hashtable _anonymous = new Hashtable(); // type -> AnonymousMapping 902Hashtable ids = new Hashtable(); 2067Hashtable choiceTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (5)
27private Hashtable _elements = new Hashtable(); // ElementAccessor -> XmlSchemaElement 28private Hashtable _attributes = new Hashtable(); // AttributeAccessor -> XmlSchemaElement 29private Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType 30private Hashtable _references = new Hashtable(); // TypeMappings to keep track of circular references via anonymous types 928Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
882Hashtable uniqueTypeDescs = new Hashtable(member.Elements.Length);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (5)
32private Hashtable _references; 35private Hashtable _mergedSchemas; 36internal Hashtable delayedSchemas = new Hashtable(); 88internal Hashtable MergedSchemas 98internal Hashtable References
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (9)
39private Hashtable _methodNames = new Hashtable(); 48private Hashtable _generatedMethods = new Hashtable(); 72internal Hashtable MethodNames { get { return _methodNames; } } 73internal Hashtable GeneratedMethods { get { return _generatedMethods; } } 115_writer.Write(typeof(Hashtable).FullName); 120_writer.Write(typeof(Hashtable).FullName); 135_writer.Write(typeof(Hashtable).FullName); 137_writer.Write(typeof(Hashtable).FullName); 187Hashtable uniqueTypes = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (18)
17private Hashtable _methodNames = new Hashtable(); 31private Hashtable _generatedMethods = new Hashtable(); 57internal Hashtable MethodNames { get { return _methodNames; } } 58internal Hashtable GeneratedMethods { get { return _generatedMethods; } } 144typeof(Hashtable), 152typeof(Hashtable), 156typeof(Hashtable), 169ConstructorInfo Hashtable_ctor = typeof(Hashtable).GetConstructor(CodeGenerator.EmptyTypeArray); 171LocalBuilder _tmpLoc = ilg.DeclareLocal(typeof(Hashtable), "_tmp"); 186ilg.Ldloc(typeof(Hashtable), "_tmp"); 204MethodInfo Hashtable_set_Item = typeof(Hashtable).GetMethod( 215ilg.Ldloc(typeof(Hashtable), "_tmp"); 234Hashtable uniqueTypes = new Hashtable(); 406private FieldBuilder GenerateTypedSerializers(Hashtable serializers, TypeBuilder serializerContractTypeBuilder) 410MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod( 422ilg.Ldloc(typeof(Hashtable), "_tmp"); 432private void GenerateGetSerializer(Hashtable serializers, XmlMapping[] xmlMappings, TypeBuilder serializerContractTypeBuilder) 476internal void GenerateSerializerContract(string className, XmlMapping[] xmlMappings, Type[] types, string readerType, string[] readMethods, string writerType, string[] writerMethods, Hashtable serializers)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (10)
30private Hashtable _callbacks; 31private Hashtable _types; 32private Hashtable _typesReverse; 34private Hashtable _targets; 35private Hashtable _referencedTargets; 1164protected static long ToEnum(string value, Hashtable h, string typeName) 2172private Hashtable _idNames = new Hashtable(); 2173private Hashtable _enums; 2174private Hashtable _createMethods = new Hashtable(); 2179internal Hashtable Enums
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (13)
29private Hashtable _usedPrefixes; 30private Hashtable _references; 33private Hashtable _typeEntries; 35private Hashtable _objectsInUse; 535private Hashtable ListUsedPrefixes(Hashtable nsList, string prefix) 537Hashtable qnIndexes = new Hashtable(); 2154Hashtable values = new Hashtable(); 3714private static volatile Hashtable s_nameToAssemblyMap = new Hashtable(); 3715private static volatile Hashtable s_assemblyToNameMap = new Hashtable(); 3716private static Hashtable s_tableIsTypeDynamic = Hashtable.Synchronized(new Hashtable()); 3824private Hashtable _reflectionVariables = null;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
633Hashtable values = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (7)
101public virtual Hashtable ReadMethods { get { throw new NotSupportedException(); } } 103public virtual Hashtable WriteMethods { get { throw new NotSupportedException(); } } 105public virtual Hashtable TypedSerializers { get { throw new NotSupportedException(); } } 144private static Hashtable s_xmlSerializerTable = new Hashtable(); 588Hashtable typedMappingTable = null; 591typedMappingTable = s_xmlSerializerTable[type] as Hashtable; 601Hashtable pendingKeys = new Hashtable();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (3)
19private Hashtable _namespaces = null; 37_namespaces = (Hashtable)namespaces.Namespaces.Clone(); 108internal Hashtable Namespaces
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (6)
824private static Hashtable s_functionTable = CreateFunctionTable(); 825private static Hashtable CreateFunctionTable() 827Hashtable table = new Hashtable(36); 858private static Hashtable s_axesTable = CreateAxesTable(); 859private static Hashtable CreateAxesTable() 861Hashtable table = new Hashtable(13);
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltArgumentList.cs (2)
23private Hashtable _parameters = new Hashtable(); 24private Hashtable _extensions = new Hashtable();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (2)
20private Hashtable _surrogateDataTable; 81private Hashtable SurrogateDataTable
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
36private static Hashtable s_serializationSchemaElements;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (4)
893Hashtable references = new Hashtable(); 944Hashtable imports; 1023private static void AddImport(XmlSchema schema, Hashtable imports, XmlSchemaSet allSchemas) 1041private static void AddSchema(XmlSchema schema, bool isEncoded, bool isLiteral, XmlSchemas encodedSchemas, XmlSchemas literalSchemas, Hashtable references)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (9)
1005private System.Collections.Hashtable _readMethods = null; 1006public override System.Collections.Hashtable ReadMethods 1012System.Collections.Hashtable _tmp = new System.Collections.Hashtable(); 1019private System.Collections.Hashtable _writeMethods = null; 1020public override System.Collections.Hashtable WriteMethods 1026System.Collections.Hashtable _tmp = new System.Collections.Hashtable(); 1033private System.Collections.Hashtable _typedSerializers = null; 1034public override System.Collections.Hashtable TypedSerializers 1040System.Collections.Hashtable _tmp = new System.Collections.Hashtable();
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (3)
17private Hashtable _entries; 67protected Hashtable Entries 257protected virtual ArrayList OnQuotaReached(Hashtable cacheTable)
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (3)
32Hashtable table = new Hashtable(); 50Hashtable extensions = new Hashtable(); 78Hashtable nsDefs = new Hashtable();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (1)
3101private Hashtable _table; // CONSIDER, better implementation
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
10714private System.Collections.Hashtable _XmlSchemaDerivationMethodValues; 10716internal System.Collections.Hashtable XmlSchemaDerivationMethodValues 10722System.Collections.Hashtable h = new System.Collections.Hashtable();
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (3)
286private System.Collections.Hashtable _CodeGenerationOptionsValues; 288internal System.Collections.Hashtable CodeGenerationOptionsValues 294System.Collections.Hashtable h = new System.Collections.Hashtable();
Microsoft.Build (1)
Construction\Solution\ProjectInSolution.cs (1)
261internal Hashtable AspNetConfigurations { get; set; }
Microsoft.Build.Engine.UnitTests (7)
ConsoleLogger_Tests.cs (4)
1421Hashtable properties = new Hashtable(); 1663Hashtable items = new Hashtable(); 1750Hashtable items = new Hashtable(); 1792Hashtable properties = new Hashtable();
Construction\SolutionFile_NewParser_Tests.cs (1)
91Hashtable aspNetCompilerParameters = solution.ProjectsInOrder[0].AspNetConfigurations;
Construction\SolutionFile_OldParser_Tests.cs (1)
1551Hashtable aspNetCompilerParameters = solution.ProjectsInOrder[0].AspNetConfigurations;
TaskThatReturnsMinimalItem.cs (1)
38Hashtable t = new();
Microsoft.Build.Tasks.Core (7)
CommandLineBuilderExtension.cs (4)
41Hashtable bag, 62Hashtable bag, 94Hashtable bag, 113Hashtable bag,
RedistList.cs (2)
550var uniqueClientListNames = new Hashtable(StringComparer.OrdinalIgnoreCase); 590var denyList = new Hashtable(StringComparer.OrdinalIgnoreCase);
ToolTaskExtension.cs (1)
60protected internal Hashtable Bag { get; } = new Hashtable();
Microsoft.Build.Tasks.UnitTests (14)
ResolveNonMSBuildProjectOutput_Tests.cs (14)
102Hashtable pregenOutputs, bool expectedResult, string expectedPath) 131Hashtable projectOutputs = new Hashtable(); 165private void TestUnresolvedReferencesHelper(ArrayList projectRefs, Hashtable pregenOutputs, 166out Hashtable unresolvedOutputs, out Hashtable resolvedOutputs) 171private void TestUnresolvedReferencesHelper(ArrayList projectRefs, Hashtable pregenOutputs, Func<string, bool> isManaged, 172out Hashtable unresolvedOutputs, out Hashtable resolvedOutputs) 213Hashtable unresolvedOutputs = null; 214Hashtable resolvedOutputs = null; 215Hashtable projectOutputs = null; 249Hashtable projectOutputs = new Hashtable(); 254Hashtable unresolvedOutputs; 255Hashtable resolvedOutputs;
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
84private static Hashtable s_builtInMetadataNames;
Microsoft.Build.Utilities.UnitTests (1)
TaskItem_Tests.cs (1)
115Hashtable h = new Hashtable();
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
ObjectFormatterTests.cs (1)
35var obj = new Hashtable
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
853yield return new TestData<Hashtable>( 1298[JsonSerializable(typeof(Hashtable))]
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (1)
75Friend m_AssemblyData As Collections.Hashtable
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
103[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Hashtable))]
netstandard (1)
netstandard.cs (1)
134[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Hashtable))]
PresentationBuildTasks (10)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
166Hashtable globalProperties = new Hashtable(3);
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
912private Hashtable _uidTable; 914private Hashtable _sequenceMaxIds;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (2)
1725private Hashtable ObjectHashTable 1813private readonly Hashtable _objectHashTable = new();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1868private Hashtable _IDTypes = new Hashtable();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (3)
4058private Hashtable _dpLookupHashtable; // Hashtable of PropertyAndType keyed by dp name 4139private Hashtable _typeLookupFromXmlHashtable = new Hashtable(); 4142private Hashtable _namespaceMapHashList = new Hashtable();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
73private static Hashtable _assemblyHasCacheInfo = new Hashtable(8);
PresentationCore (34)
MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
60private static Hashtable _hashTable = new Hashtable(MaxCacheCapacity);
MS\Internal\FontFace\CompositeFontParser.cs (1)
953private Hashtable _namespaceMap;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\Maps.cs (1)
100private Hashtable _overFlow;
System\Windows\Automation\Peers\AutomationPeer.cs (2)
2502private static Hashtable s_patternInfo; 2503private static Hashtable s_propertyInfo;
System\Windows\GlobalEventManager.cs (1)
459private static Hashtable _ownerTypedRoutedEventList = new Hashtable(10); // Initialization sizes based on typical MSN scenario
System\Windows\Input\AccessKeyManager.cs (1)
731private Hashtable _keyToElements = new Hashtable(10);
System\Windows\Input\InputManager.cs (1)
934private Hashtable _inputProviders = new Hashtable();
System\Windows\Input\StagingAreaInputItem.cs (2)
32_dictionary = (Hashtable) promote._dictionary.Clone(); 89private Hashtable _dictionary;
System\Windows\Input\TextServicesCompartmentContext.cs (2)
162private Hashtable _compartmentTable; 163private Hashtable _globalcompartmentTable;
System\Windows\Markup\XmlLanguage.cs (1)
48private static Hashtable _cache = new Hashtable(InitialDictionarySize);
System\Windows\Media\Animation\Clock.cs (2)
4363Hashtable removeTable = new Hashtable(); 4481internal static Hashtable _objectTable = new Hashtable();
System\Windows\Media\Animation\Timeline.cs (2)
1156Hashtable removeTable = new Hashtable(); 1203internal static Hashtable _objectTable = new Hashtable();
System\Windows\Media\Imaging\BitmapDownload.cs (2)
53_uriTable = Hashtable.Synchronized(new Hashtable()); 430internal static Hashtable _uriTable;
System\Windows\Media\Imaging\ImagingCache.cs (5)
58private static void AddToCache(Uri uri, object obj, Hashtable table) 100private static void RemoveFromCache(Uri uri, Hashtable table) 113private static object CheckCache(Uri uri, Hashtable table) 126private static Hashtable _imageCache = new Hashtable(); 129private static Hashtable _decoderCache = new Hashtable();
System\Windows\Nrbf\SerializationRecordExtensions.cs (3)
251/// Trys to get this object as a binary recordted <see cref="Hashtable"/> of <see cref="PrimitiveType"/> keys and values. 263|| !classInfo.TypeNameMatches(typeof(Hashtable)) 275Hashtable temp = new(keysRecord.Length);
System\Windows\UIElement.cs (7)
378Hashtable list = new Hashtable(2); 391Hashtable list = (Hashtable)cachedLayoutUpdatedItems; 414Hashtable list = (Hashtable)cachedLayoutUpdatedItems; 437Hashtable list = (Hashtable)cachedLayoutUpdatedItems;
PresentationFramework (69)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (3)
1342private Hashtable _locatorPartHandlers; 1345private Hashtable _subtreeProcessors; 1348private Hashtable _selectionProcessors;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
1147private static Hashtable _documentHandlers = new Hashtable();
MS\Internal\Documents\PageCache.cs (1)
996private Hashtable _table;
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
60Hashtable propertyOccurrences = new Hashtable(8);
MS\Internal\Globalization\BamlTreeMap.cs (1)
283private Hashtable _classNameToAssemblyIndex;
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
267Hashtable uidSubstitutions = new Hashtable(newChildren.Count);
MS\Internal\IO\Packaging\XamlFilter.cs (1)
1020private Hashtable _xamlElementContentDescriptorDictionary;
MS\Internal\LayoutDump.cs (2)
178private static Hashtable _elementToDumpHandler = new Hashtable(); 183private static Hashtable _documentPageToDumpHandler = new Hashtable();
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (2)
48Hashtable oldChildren = _dataChildren; //cache the old ones for possible reuse 95private Hashtable _dataChildren = null;
System\Windows\Controls\DefinitionBase.cs (1)
729private Hashtable _registry = new Hashtable(); // storage for shared state objects
System\Windows\Controls\Grid.cs (2)
1197Hashtable spanStore = null; 1272ref Hashtable store,
System\Windows\Controls\RadioButton.cs (1)
285[ThreadStatic] private static Hashtable _groupNameToElements;
System\Windows\Controls\TextRangeAdaptor.cs (1)
1528private static Hashtable _textPatternAttributes;
System\Windows\Documents\FixedFlowMap.cs (1)
410private Hashtable _mapping;
System\Windows\Documents\FixedSchema.cs (1)
331private Hashtable _requiredResourceMimeTypes = new Hashtable(11);
System\Windows\Documents\ImmComposition.cs (1)
1936private static Hashtable _list = new Hashtable(1);
System\Windows\Documents\RtfToXamlLexer.cs (1)
597private static Hashtable _rtfControlTable = null;
System\Windows\Documents\RtfToXamlReader.cs (3)
3640Hashtable map = FontMappings; 3701internal Hashtable FontMappings 3797private Hashtable _fontMappings;
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
289private static Hashtable _attributes;
System\Windows\Documents\XPSS0ValidatingLoader.cs (5)
96Hashtable validResources = (_validResources.Count > 0 ? _validResources.Peek() : null); 187Hashtable validResources = _validResources.Peek(); 217private static Stack<Hashtable> _validResources = new Stack<Hashtable>(); 219private Hashtable _uniqueUriRef;
System\Windows\FrameworkTemplate.cs (1)
889IStyleConnector styleConnector, List<DependencyObject> affectedChildren, UncommonField<Hashtable> templatedNonFeChildrenField)
System\Windows\Input\KeyboardNavigation.cs (3)
2787Hashtable elementTable = _containerHashtable[container] as Hashtable; 3462private Hashtable _containerHashtable = new Hashtable(10);
System\Windows\Interop\ActiveXHost.cs (1)
1023private static Hashtable invalidatorMap = new Hashtable();
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (2)
279var namespaceMaps = mapsObject as Hashtable;
System\Windows\Markup\BamlMapTable.cs (5)
1681ObjectHashTable = (Hashtable)_objectHashTable.Clone(), 1725private Hashtable ObjectHashTable 1776private Hashtable ConverterCache 1813private readonly Hashtable _objectHashTable = new(); 1842private Hashtable _converterCache = null;
System\Windows\Markup\BamlWriter.cs (1)
1383private Hashtable _assemblies;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
398private static Hashtable _shouldSerializeCache = new Hashtable();
System\Windows\Markup\WpfXamlLoader.cs (1)
57Hashtable namespaceMaps;
System\Windows\Markup\XamlTypeMapper.cs (8)
283_typeLookupFromXmlHashtable = _typeLookupFromXmlHashtable.Clone() as Hashtable, 284_namespaceMapHashList = _namespaceMapHashList.Clone() as Hashtable, 2180Hashtable namespaceMaps = element.GetValue(XmlAttributeProperties.XmlNamespaceMapsProperty) 2181as Hashtable; 3860internal Hashtable NamespaceMapHashList 4058private Hashtable _dpLookupHashtable; // Hashtable of PropertyAndType keyed by dp name 4139private Hashtable _typeLookupFromXmlHashtable = new Hashtable(); 4142private Hashtable _namespaceMapHashList = new Hashtable();
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (3)
124internal Hashtable GetNamespaceMapHashList() 127Hashtable result = new Hashtable(); 397private static void AddToMultiHashtable<K, V>(Hashtable hashtable, K key, V value)
System\Windows\Markup\XmlAttributeProperties.cs (4)
61DependencyProperty.RegisterAttached("XmlNamespaceMaps", typeof(Hashtable), typeof(XmlAttributeProperties), 290public static Hashtable GetXmlNamespaceMaps(DependencyObject dependencyObject) 297return (Hashtable)dependencyObject.GetValue(XmlNamespaceMapsProperty); 306public static void SetXmlNamespaceMaps(DependencyObject dependencyObject, Hashtable value)
System\Windows\ResourceDictionary.cs (1)
2622private Hashtable _baseDictionary = null;
System\Windows\StyleHelper.cs (3)
5391Hashtable hashtable = TemplatedNonFeChildrenField.GetValue(container); 5635internal static readonly UncommonField<Hashtable> TemplatedNonFeChildrenField = new UncommonField<Hashtable>();
System\Windows\SystemResources.cs (1)
1667private static Hashtable _resourceCache = new Hashtable();
System\Windows\TemplateNameScope.cs (3)
124Hashtable nonFeChildren = _templatedNonFeChildrenField.GetValue(_templatedParent); 260private static UncommonField<Hashtable> _templatedNonFeChildrenField = (UncommonField<Hashtable>)StyleHelper.TemplatedNonFeChildrenField;
ReachFramework (17)
Packaging\XpsInterleavingPolicy.cs (3)
554private Hashtable _flushOrderItems; 568Hashtable flushOrderTable 598private Hashtable _orderTable;
Serialization\Manager\NullPackagingPolicy.cs (1)
1008Hashtable _fontsCache;
Serialization\Manager\XpsOMPackagingPolicy.cs (1)
948private Hashtable _fontsCache;
Serialization\Manager\XpsPackagingPolicy.cs (1)
1539Hashtable _fontsCache;
Serialization\Manager\XpsSerializationManager.cs (11)
747Hashtable dependencyPropertiesTable = (Hashtable)reachSerializationServices. 798Hashtable clrPropertiesTable = (Hashtable)reachSerializationServices. 1301Hashtable fixedPageDependencyProperties = new Hashtable(11); 1318Hashtable fixedDocumentDependencyProperties = new Hashtable(11); 1335Hashtable fixedDocumentSequenceDependencyProperties = new Hashtable(11); 1365Hashtable fixedDocumentExcludedClrProperties = new Hashtable(11); 1382Hashtable fixedDocumentSequenceExcludedClrProperties = new Hashtable(11); 1405Hashtable 1439Hashtable _typesXmlNSMapping;
Shared.Tests (2)
JsonSchemaExporter\TestTypes.cs (2)
853yield return new TestData<Hashtable>( 1298[JsonSerializable(typeof(Hashtable))]
System.CodeDom (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
26private readonly Hashtable _files;
System.Collections.NonGeneric (6)
artifacts\obj\System.Collections.NonGeneric\Debug\net10.0\System.Collections.NonGeneric.Forwards.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Hashtable))]
System\Collections\DictionaryBase.cs (2)
19private Hashtable? _hashtable; 21protected Hashtable InnerHashtable => _hashtable ??= new Hashtable();
System\Collections\Specialized\CollectionsUtil.cs (3)
17public static Hashtable CreateCaseInsensitiveHashtable() 22public static Hashtable CreateCaseInsensitiveHashtable(int capacity) 27public static Hashtable CreateCaseInsensitiveHashtable(IDictionary d)
System.Collections.Specialized (18)
System\Collections\Specialized\HybridDictionary.cs (3)
30private Hashtable? hashtable; // Do not rename (binary serialization) 123Hashtable newTable; 256Hashtable cachedHashtable = hashtable;
System\Collections\Specialized\NameObjectCollectionBase.cs (1)
30private volatile Hashtable _entriesTable;
System\Collections\Specialized\OrderedDictionary.cs (13)
28private Hashtable? _objectsTable; 134Hashtable objectsTable = EnsureObjectsTable(); 141private Hashtable EnsureObjectsTable() => _objectsTable ??= new Hashtable(_initialCapacity, _comparer); 169Hashtable objectsTable = EnsureObjectsTable(); 195Hashtable objectsTable = EnsureObjectsTable(); 230Hashtable objectsTable = EnsureObjectsTable(); 276Hashtable objectsTable = EnsureObjectsTable(); 318Hashtable objectsTable = EnsureObjectsTable(); 335Hashtable objectsTable = EnsureObjectsTable(); 359Hashtable objectsTable = EnsureObjectsTable(); 419Hashtable objectsTable = EnsureObjectsTable(); 539private readonly Hashtable? _objectsTable; 542public OrderedDictionaryKeyValueCollection(ArrayList array, Hashtable objectsTable, IEqualityComparer? comparer)
System\Collections\Specialized\StringDictionary.cs (1)
25private readonly Hashtable contents = new Hashtable(); // Do not rename (binary serialization)
System.ComponentModel.TypeConverter (32)
System\ComponentModel\Design\DesigntimeLicenseContext.cs (2)
18internal Hashtable _savedLicenseKeys = new Hashtable(); 43internal Hashtable? _savedLicenseKeys;
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
153context._savedLicenseKeys = (Hashtable)value[1];
System\ComponentModel\LicenseManager.cs (2)
24private static volatile Hashtable? s_providers; 25private static volatile Hashtable? s_providerInstances;
System\ComponentModel\PropertyDescriptorCollection.cs (1)
21private Hashtable? _cachedFoundProperties;
System\ComponentModel\ReflectTypeDescriptionProvider.cs (21)
36private static Hashtable? s_editorTables; 52private static Hashtable? s_propertyCache; 53private static Hashtable? s_eventCache; 54private static Hashtable? s_attributeCache; 55private static Hashtable? s_extendedPropertyCache; 94private static Hashtable EditorTables => LazyInitializer.EnsureInitialized(ref s_editorTables, () => new Hashtable(4)); 196private static Hashtable PropertyCache => LazyInitializer.EnsureInitialized(ref s_propertyCache, () => new Hashtable()); 198private static Hashtable EventCache => LazyInitializer.EnsureInitialized(ref s_eventCache, () => new Hashtable()); 200private static Hashtable AttributeCache => LazyInitializer.EnsureInitialized(ref s_attributeCache, () => new Hashtable()); 202private static Hashtable ExtendedPropertyCache => LazyInitializer.EnsureInitialized(ref s_extendedPropertyCache, () => new Hashtable()); 221internal static void AddEditorTable(Type editorBaseType, Hashtable table) 229Hashtable editorTables = EditorTables; 418private static Hashtable? GetEditorTable(Type editorBaseType) 420Hashtable editorTables = EditorTables; 458return (Hashtable?)table; 1099Hashtable attributeCache = AttributeCache; 1127Hashtable attributeCache = AttributeCache; 1155Hashtable eventCache = EventCache; 1255Hashtable extendedPropertyCache = ExtendedPropertyCache; 1340Hashtable propertyCache = PropertyCache; 1438private static object? GetIntrinsicTypeEditor(Hashtable table, Type callingType)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
366Hashtable? intrinsicEditors = GetEditorTable(editorBaseType);
System\ComponentModel\TypeDescriptor.cs (4)
231public static void AddEditorTable(Type editorBaseType, Hashtable table) 617Hashtable assocTable = AssociationTable; 2469Hashtable? refreshedTypes = null; 2623Hashtable assocTable = AssociationTable;
System.Configuration.ConfigurationManager (43)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
26private readonly Hashtable _files;
System\Configuration\BaseConfigurationRecord.cs (10)
138protected Hashtable _children; // configName -> record 149protected Hashtable _factoryRecords; 166protected Hashtable _sectionRecords; 574Hashtable factoryList = ScanFactories(xmlUtil); 693Hashtable factoryList = null; 1752private Hashtable ScanFactories(XmlUtil xmlUtil) 1754Hashtable factoryList = new Hashtable(); 1812private void ScanFactoriesRecursive(XmlUtil xmlUtil, string parentConfigKey, Hashtable factoryList) 3186protected Hashtable EnsureFactories() 3652private void AddImplicitSections(Hashtable factoryList)
System\Configuration\ClientSettingsStore.cs (2)
87Hashtable settings = new Hashtable(); 111Hashtable settings = new Hashtable();
System\Configuration\ConfigurationElement.cs (1)
42private static readonly Hashtable s_propertyBags = new Hashtable();
System\Configuration\ConfigurationElementCollection.cs (1)
255Hashtable inheritance = new Hashtable();
System\Configuration\DictionarySectionHandler.cs (3)
27Hashtable res; 34res = (Hashtable)((Hashtable)parent).Clone();
System\Configuration\LocalFileSettingsProvider.cs (2)
152Hashtable roamingUserSettings = new Hashtable(); 153Hashtable localUserSettings = new Hashtable();
System\Configuration\MgmtConfigurationRecord.cs (13)
26private Hashtable _locationTags; 27private Hashtable _removedSectionGroups; 28private Hashtable _removedSections; 29private Hashtable _sectionFactories; 30private Hashtable _sectionGroupFactories; 31private Hashtable _sectionGroups; 45private Hashtable SectionGroups => _sectionGroups ??= new Hashtable(); 47private Hashtable RemovedSections => _removedSections ??= new Hashtable(); 49private Hashtable RemovedSectionGroups => _removedSectionGroups ??= new Hashtable(); 51internal Hashtable SectionFactories => _sectionFactories ??= GetAllFactories(false); 53internal Hashtable SectionGroupFactories 308private Hashtable GetAllFactories(bool isGroup) 310Hashtable factories = new Hashtable();
System\Configuration\Provider\ProviderCollection.cs (1)
10private readonly Hashtable _hashtable;
System\Configuration\SectionUpdates.cs (2)
11private readonly Hashtable _groups; 13private readonly Hashtable _sections;
System\Configuration\SettingsPropertyCollection.cs (3)
10private readonly Hashtable _hashtable; 118private SettingsPropertyCollection(Hashtable h) 120_hashtable = (Hashtable)h.Clone();
System\Configuration\SettingsPropertyValueCollection.cs (3)
10private readonly Hashtable _indices; 120private SettingsPropertyValueCollection(Hashtable indices, ArrayList values) 122_indices = (Hashtable)indices.Clone();
System\Configuration\SingleTagSectionHandler.cs (1)
25Hashtable result;
System.Data.Common (45)
System\Data\Common\DbConnectionStringBuilder.cs (2)
409Hashtable descriptors = new Hashtable(StringComparer.OrdinalIgnoreCase); 430protected virtual void GetProperties(Hashtable propertyDescriptors)
System\Data\Common\FieldNameLookup.cs (2)
14private Hashtable? _fieldNameLookup; 108Hashtable hash = new Hashtable(length);
System\Data\DataTable.cs (15)
151internal Hashtable? _rowDiffId; 753Hashtable rowErrors = new Hashtable(); 754Hashtable colErrors = new Hashtable(); 790Hashtable rowErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), typeof(Hashtable))!; 792Hashtable colErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), typeof(Hashtable))!; 897internal void GetRowAndColumnErrors(int rowIndex, Hashtable rowErrors, Hashtable colErrors) 928private void ConvertToRowError(int rowIndex, Hashtable rowErrors, Hashtable colErrors) 2360private static DataTable CloneHierarchy(DataTable sourceTable, DataSet ds, Hashtable? visitedMap) 6930internal Hashtable RowDiffId
System\Data\DataViewSettingCollection.cs (1)
15private readonly Hashtable _list = new Hashtable();
System\Data\SimpleType.cs (1)
228internal XmlNode ToNode(XmlDocument dc, Hashtable prefixes, bool inRemoting)
System\Data\XmlDataLoader.cs (2)
20private readonly Hashtable _nodeToRowMap; 376Hashtable foundColumns = new Hashtable();
System\Data\xmlsaver.cs (6)
32private Hashtable? _namespaces; 33private Hashtable _autogenerated = default!; // Late-initialized 34private Hashtable? _prefixes; 2270internal Hashtable _rowsOrder; 2689private Hashtable? _rowsOrder; 2803internal void SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder)
System\Data\XMLSchema.cs (8)
138private Hashtable? _constraintNodes; 143private Hashtable? _attributes; 144private Hashtable? _elementsTable; 145private Hashtable? _attributeGroups; 146private Hashtable? _schemaTypes; 147private Hashtable? _expressions; 150private Hashtable? _udSimpleTypes; 152private Hashtable? _existingSimpleTypeMap;
System\Xml\DataSetMappper.cs (6)
23private Hashtable _tableSchemaMap; // maps an string (currently this is localName:nsURI) to a DataTable. Used to quickly find if a bound-elem matches any data-table metadata.. 24private Hashtable _columnSchemaMap; // maps a string (table localName:nsURI) to a Hashtable. The 2nd hastable (the one that is stored as data in columnSchemaMap, maps a string to a DataColumn. 158Hashtable? columns = (Hashtable?)_columnSchemaMap[tid]; 361Hashtable? columns = (Hashtable?)_columnSchemaMap[idTable];
System\Xml\XmlDataDocument.cs (2)
27internal Hashtable _pointers; // Hastable w/ all pointer objects used by this XmlDataDocument. Hashtable are guaranteed to work OK w/ one writer and mutiple readers, so as long as we guarantee 2463Hashtable foundColumns = new Hashtable();
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
21internal Hashtable _uriPrefixes = new Hashtable();
System.Net.Primitives (1)
System\Net\CookieContainer.cs (1)
78private readonly Hashtable m_domainTable = new Hashtable(); // Do not rename (binary serialization)
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
93private static readonly Hashtable s_queuesCache = new Hashtable();
System.Net.WebHeaderCollection (3)
System\Net\HeaderInfoTable.cs (3)
16private static readonly Hashtable s_headerHashTable = CreateHeaderHashtable(); 84private static Hashtable CreateHeaderHashtable() 87var headers = new Hashtable(Items * 2, StringComparer.OrdinalIgnoreCase)
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (14)
449Hashtable ht = new Hashtable(_count, _keycomparer); 1016public static Hashtable Synchronized(Hashtable table) 1182private readonly Hashtable _hashtable; 1184internal KeyCollection(Hashtable hashtable) 1217private readonly Hashtable _hashtable; 1219internal ValueCollection(Hashtable hashtable) 1251private readonly Hashtable _table; 1253internal SyncHashtable(Hashtable table) : base(false) 1334return Synchronized((Hashtable)_table.Clone()); 1396private readonly Hashtable _hashtable; 1408internal HashtableEnumerator(Hashtable hashtable, int getObjRetType) 1499private readonly Hashtable _hashtable; 1501public HashtableDebugView(Hashtable hashtable)
src\libraries\System.Private.CoreLib\src\System\Collections\IHashCodeProvider.cs (1)
9/// Provides a mechanism for a <see cref="Hashtable"/> user to override the default
src\libraries\System.Private.CoreLib\src\System\CurrentSystemTimeZone.cs (1)
180private readonly Hashtable m_CachedDaylightChanges = new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Environment.NoRegistry.cs (1)
19private static Hashtable GetEnvironmentVariablesFromRegistry(bool fromMachine) => new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
92var results = new Hashtable();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
22internal Hashtable _hashtable;
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (2)
74public Hashtable? Attributes 84Hashtable hashtable = new Hashtable(_attributes.Count / 2);
src\libraries\System.Private.CoreLib\src\System\Text\EncodingTable.cs (2)
18private static readonly Hashtable s_nameToCodePage = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\DataContract.cs (1)
307private static readonly Hashtable s_namespaces = new Hashtable();
System\Runtime\Serialization\DataContractSet.cs (2)
21private Hashtable? _surrogateData; 64public Hashtable SurrogateData => _surrogateData ??= new Hashtable();
System\Runtime\Serialization\ExtensionDataReader.cs (3)
44private readonly Hashtable _cache = new Hashtable(); 53private static readonly Hashtable s_nsToPrefixTable = new Hashtable(); 55private static readonly Hashtable s_prefixToNsTable = new Hashtable();
System\Runtime\Serialization\SchemaExporter.cs (3)
553Hashtable elements = new Hashtable(); 554Hashtable types = new Hashtable(); 565Hashtable items;
System\Runtime\Serialization\SchemaImporter.cs (1)
33private static Hashtable? s_serializationSchemaElements;
System.Private.Uri (2)
System\UriSyntax.cs (2)
78private static readonly Hashtable s_table = new Hashtable(16) // Hashtable used instead of Dictionary<> for lock-free reads 97private static Hashtable s_tempTable = new Hashtable(c_InitialTableSize); // Hashtable used instead of Dictionary<> for lock-free reads
System.Private.Windows.Core (12)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (5)
565public static bool TryWriteHashtable(Stream stream, Hashtable hashtable) 569/// Writes a <see cref="Hashtable"/> of primitive to primitive values to the given stream in binary format. 579public static void WritePrimitiveHashtable(Stream stream, Hashtable hashtable) 584SerializationInfo info = new(typeof(Hashtable), FormatterConverterStub.Instance); 708case Hashtable hashtable:
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (1)
94{ Types.ToTypeName($"{Types.HashtableType}"), typeof(Hashtable) },
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (6)
450/// Tries to get this object as a binary formatted <see cref="Hashtable"/> of <see cref="PrimitiveType"/> keys and values. 452public static bool TryGetPrimitiveHashtable(this SerializationRecord record, [NotNullWhen(true)] out Hashtable? hashtable) 455hashtable = (Hashtable?)value; 460/// Tries to get this object as a binary formatted <see cref="Hashtable"/> of <see cref="PrimitiveType"/> keys and values. 472|| !classInfo.TypeNameMatches(typeof(Hashtable)) 484Hashtable temp = new(keysRecord.Length);
System.Private.Windows.Core.Tests (4)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (3)
127public static TheoryData<Hashtable> PrimitiveTypeHashtables_TheoryData => 332public void RoundTrip_PrimitiveHashtable(Hashtable value) 340public void RoundTrip_PredefinedFormat_PrimitiveHashtable(Hashtable value)
System\Private\Windows\Ole\TypeBinderTests.cs (1)
95[InlineData(typeof(Hashtable))]
System.Private.Xml (208)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
58private Hashtable? _elemIdMap; // Map from element name to ID attribute name
System\Xml\Dom\XmlDocument.cs (2)
78private Hashtable? _htElementIdMap; 79private Hashtable? _htElementIDAttrDecl; //key: id; object: the ArrayList of the elements that have the same id (connected or disconnected)
System\Xml\Schema\ConstraintStruct.cs (2)
21internal Hashtable? qualifiedTable; // Checking confliction 22internal Hashtable? keyrefTable; // several keyref tables having connections to this one is possible
System\Xml\Schema\DataTypeImplementation.cs (1)
105private static readonly Hashtable s_builtinTypes = new Hashtable();
System\Xml\Schema\DtdValidator.cs (2)
29private Hashtable _attPresence; 31private Hashtable? _IDs;
System\Xml\Schema\Inference\Infer.cs (1)
637Hashtable table = new Hashtable();
System\Xml\Schema\NamespaceList.cs (2)
20private Hashtable? _set; 70nsl._set = (Hashtable)(_set.Clone());
System\Xml\Schema\Preprocessor.cs (6)
50private Hashtable? _schemaLocations; 51private Hashtable? _chameleonSchemas; 53private readonly Hashtable _referenceNamespaces; 54private readonly Hashtable _processedExternals; 214internal Hashtable SchemaLocations 224internal Hashtable ChameleonSchemas
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
30private Hashtable? _schemaLocations; 31private Hashtable? _referenceNamespaces;
System\Xml\Schema\SchemaElementDecl.cs (1)
232internal void CheckAttributes(Hashtable presence, bool standalone)
System\Xml\Schema\SchemaSetCompiler.cs (1)
26private readonly Hashtable _schemasToCompile = new Hashtable();
System\Xml\Schema\XdrBuilder.cs (2)
137internal Hashtable? _AttDefList; // a list of current AttDefs for the <ElementType ... 390private readonly Hashtable _UndeclaredElements = new Hashtable();
System\Xml\Schema\XdrValidator.cs (2)
19private Hashtable _attPresence; 23private Hashtable? _IDs;
System\Xml\Schema\XmlSchema.cs (2)
53private readonly Hashtable _ids = new Hashtable(); 413internal Hashtable Ids
System\Xml\Schema\XmlSchemaCollection.cs (3)
25private readonly Hashtable _collection; 50_collection = Hashtable.Synchronized(new Hashtable()); 404internal XmlSchemaCollectionEnumerator(Hashtable collection)
System\Xml\Schema\XmlSchemaSet.cs (6)
36private readonly Hashtable _schemaLocations; 37private readonly Hashtable _chameleonSchemas; 39private readonly Hashtable _targetNamespaces; 199internal Hashtable SchemaLocations 411Hashtable disallowedNamespaces = new Hashtable(); 793internal void Add(string? targetNamespace, XmlReader reader, Hashtable validatedNamespaces)
System\Xml\Schema\XmlSchemaValidator.cs (4)
83private readonly Hashtable? _validatedNamespaces; 90private Hashtable _attPresence; //(AttName Vs AttIndex) 93private Hashtable? _IDs; 329Hashtable schemaLocations = _schemaSet.SchemaLocations;
System\Xml\Schema\XsdValidator.cs (2)
23private Hashtable _attPresence; 26private Hashtable? _IDs;
System\Xml\Serialization\CodeIdentifiers.cs (4)
39private Hashtable _identifiers; 40private Hashtable _reservedIdentifiers; 184newIdentifiers._identifiers = (Hashtable)_identifiers.Clone(); 185newIdentifiers._reservedIdentifiers = (Hashtable)_reservedIdentifiers.Clone();
System\Xml\Serialization\Compilation.cs (6)
24private Hashtable? _writerMethods; 25private Hashtable? _readerMethods; 301internal static bool GenerateSerializerToStream(XmlMapping[] xmlMappings, Type?[] types, string? defaultNamespace, Assembly? assembly, Hashtable assemblies, Stream stream) 304var scopeTable = new Hashtable(); 311var importedTypes = new Hashtable(); 416var serializers = new Hashtable();
System\Xml\Serialization\Compiler.cs (1)
24internal static void AddImport(Type? type, Hashtable types)
System\Xml\Serialization\ContextAwareTables.cs (1)
14private readonly Hashtable _defaultTable;
System\Xml\Serialization\ImportContext.cs (14)
20private Hashtable? _mappings; // XmlSchema -> SerializableMapping, XmlSchemaSimpleType -> EnumMapping, XmlSchemaComplexType -> StructMapping 21private Hashtable? _elements; // XmlSchemaElement -> ElementAccessor 34internal Hashtable Elements => _elements ??= new Hashtable(); 36internal Hashtable Mappings => _mappings ??= new Hashtable(); 53private Hashtable? _graph; 54private Hashtable? _hash; 55private Hashtable? _objectCache; 58internal Hashtable looks = new Hashtable(); 59private Hashtable Graph => _graph ??= new Hashtable(); 61private Hashtable Hash => _hash ??= new Hashtable(); 63private Hashtable ObjectCache => _objectCache ??= new Hashtable(); 121private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs) 198private readonly Hashtable _scope; 203internal SchemaGraph(Hashtable scope, XmlSchemas schemas)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (6)
597private static readonly ContextAwareTables<Hashtable> s_setMemberValueDelegateCache = new ContextAwareTables<Hashtable>(); 604var delegateCacheForType = s_setMemberValueDelegateCache.GetOrCreateValue(type, _ => new Hashtable()); 1269Hashtable table = WriteHashtable(mapping); 1286private static Hashtable WriteHashtable(EnumMapping mapping) 1288var h = new Hashtable();
System\Xml\Serialization\SchemaImporter.cs (2)
50internal Hashtable ImportedElements 55internal Hashtable ImportedMappings
System\Xml\Serialization\SoapAttributeOverrides.cs (5)
15private readonly Hashtable _types = new Hashtable(); 24Hashtable? members = (Hashtable?)_types[type]; 49Hashtable? members = (Hashtable?)_types[type];
System\Xml\Serialization\Types.cs (5)
461private readonly Hashtable _typeDescs = new Hashtable(); 462private readonly Hashtable _arrayTypeDescs = new Hashtable(); 465private static readonly Hashtable s_primitiveTypes = new Hashtable(); 466private static readonly Hashtable s_primitiveDataTypes = new Hashtable(); 1443internal static Hashtable PrimtiveTypes { get { return s_primitiveTypes; } }
System\Xml\Serialization\Xmlcustomformatter.cs (1)
454internal static long ToEnum(string val, Hashtable vals, string? typeName, bool validate)
System\Xml\Serialization\XmlReflectionImporter.cs (4)
33private Hashtable? _specials; // type -> SpecialMapping 34private readonly Hashtable _anonymous = new Hashtable(); // type -> AnonymousMapping 909Hashtable ids = new Hashtable(); 2082Hashtable choiceTypes = new Hashtable();
System\Xml\Serialization\XmlSchemaExporter.cs (5)
20private readonly Hashtable _elements = new Hashtable(); // ElementAccessor -> XmlSchemaElement 21private readonly Hashtable _attributes = new Hashtable(); // AttributeAccessor -> XmlSchemaElement 22private readonly Hashtable _types = new Hashtable(); // StructMapping/EnumMapping -> XmlSchemaComplexType/XmlSchemaSimpleType 23private readonly Hashtable _references = new Hashtable(); // TypeMappings to keep track of circular references via anonymous types 885Hashtable values = new Hashtable();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
782Hashtable uniqueTypeDescs = new Hashtable(member.Elements.Length);
System\Xml\Serialization\XmlSchemas.cs (5)
24private Hashtable? _references; 27private Hashtable? _mergedSchemas; 28internal Hashtable delayedSchemas = new Hashtable(); 60internal Hashtable MergedSchemas => _mergedSchemas ??= new Hashtable(); 62internal Hashtable References => _references ??= new Hashtable();
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (12)
24private readonly Hashtable _methodNames = new Hashtable(); 33private readonly Hashtable _generatedMethods = new Hashtable(); 58internal Hashtable MethodNames { get { return _methodNames; } } 59internal Hashtable GeneratedMethods { get { return _generatedMethods; } } 103_writer.Write(typeof(Hashtable).FullName); 108_writer.Write(typeof(Hashtable).FullName); 123_writer.Write(typeof(Hashtable).FullName); 125_writer.Write(typeof(Hashtable).FullName); 175Hashtable uniqueTypes = new Hashtable(); 316private void GenerateTypedSerializers(Hashtable serializers) 333private void GenerateGetSerializer(Hashtable serializers, XmlMapping[] xmlMappings) 367internal void GenerateSerializerContract(XmlMapping[] xmlMappings, Type?[] types, string readerType, string?[] readMethods, string writerType, string?[] writerMethods, Hashtable serializers)
System\Xml\Serialization\XmlSerializationILGen.cs (10)
149typeof(Hashtable), 157typeof(Hashtable), 161typeof(Hashtable), 174ConstructorInfo Hashtable_ctor = typeof(Hashtable).GetConstructor( 178LocalBuilder _tmpLoc = ilg.DeclareLocal(typeof(Hashtable), "_tmp"); 193ilg.Ldloc(typeof(Hashtable), "_tmp"); 212MethodInfo Hashtable_set_Item = typeof(Hashtable).GetMethod( 220ilg!.Ldloc(typeof(Hashtable), "_tmp"); 412MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod( 424ilg!.Ldloc(typeof(Hashtable), "_tmp");
System\Xml\Serialization\XmlSerializationReader.cs (15)
24private Hashtable? _callbacks; 25private Hashtable _types = null!; 26private Hashtable _typesReverse = null!; 28private Hashtable? _targets; 29private Hashtable? _referencedTargets; 1105protected static long ToEnum(string value, Hashtable h, string typeName) 2045private readonly Hashtable _idNames = new Hashtable(); 2046private Hashtable? _enums; 2047private readonly Hashtable _createMethods = new Hashtable(); 2051internal Hashtable Enums => _enums ??= new Hashtable(); 2903Writer.Write(typeof(Hashtable).FullName); 2910Writer.Write(typeof(Hashtable).FullName); 2924Writer.Write(typeof(Hashtable).FullName); 2926Writer.Write(typeof(Hashtable).FullName); 3030Hashtable cases = new Hashtable();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (7)
950typeof(Hashtable), 958typeof(Hashtable), 963typeof(Hashtable), 974ConstructorInfo Hashtable_ctor = typeof(Hashtable).GetConstructor( 978LocalBuilder hLoc = ilg.DeclareLocal(typeof(Hashtable), "h"); 983MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod( 1048new Type[] { typeof(string), typeof(Hashtable), typeof(string) }
System\Xml\Serialization\XmlSerializationWriter.cs (7)
31private Hashtable? _references; 34private Hashtable? _typeEntries; 36private Hashtable? _objectsInUse; 1488private static readonly Hashtable s_nameToAssemblyMap = new Hashtable(); 1489private static readonly Hashtable s_assemblyToNameMap = new Hashtable(); 1599private Hashtable _reflectionVariables = null!; 2887Hashtable values = new Hashtable();
System\Xml\Serialization\XmlSerializer.cs (3)
89public virtual Hashtable ReadMethods { get { throw new NotSupportedException(); } } 91public virtual Hashtable WriteMethods { get { throw new NotSupportedException(); } } 93public virtual Hashtable TypedSerializers { get { throw new NotSupportedException(); } }
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
491private Hashtable? _symbols;
System\Xml\Xsl\IlGen\XmlILModule.cs (2)
30private Hashtable _methods; 240Hashtable methodsBaked;
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
21private readonly Hashtable _qnames;
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
34private readonly Hashtable _dataSourceCache;
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
19private Hashtable? _withParams;
System\Xml\Xsl\XsltOld\Compiler.cs (4)
69private Hashtable? _globalNamespaceAliasTable; 750private readonly Hashtable[] _typeDeclsByLang = new Hashtable[] { new Hashtable(), new Hashtable(), new Hashtable() }; 758Hashtable typeDecls = _typeDeclsByLang[(int)langTmp];
System\Xml\Xsl\XsltOld\HtmlProps.cs (6)
43private static readonly Hashtable s_table = CreatePropsTable(); 54private static Hashtable CreatePropsTable() 57Hashtable table = new Hashtable(71, StringComparer.OrdinalIgnoreCase); 154private static readonly Hashtable s_table = CreatePropsTable(); 165private static Hashtable CreatePropsTable() 168Hashtable table = new Hashtable(26, StringComparer.OrdinalIgnoreCase);
System\Xml\Xsl\XsltOld\InputScope.cs (4)
17private Hashtable? _variables; 18private Hashtable? _extensionNamespaces; 19private Hashtable? _excludedNamespaces; 26internal Hashtable? Variables
System\Xml\Xsl\XsltOld\Processor.cs (2)
92private readonly Hashtable _scriptExtensions; 106private Hashtable? _documentCache;
System\Xml\Xsl\XsltOld\RootAction.cs (9)
36public void AddKey(XPathNavigator root, Hashtable table) 42public Hashtable? GetKeys(XPathNavigator root) 66private readonly Hashtable _keyTable; 68public DocumentKeyList(XPathNavigator rootNav, Hashtable keyTable) 75public Hashtable KeyTable { get { return _keyTable; } } 83private readonly Hashtable _attributeSetTable = new Hashtable(); 84private readonly Hashtable _decimalFormatTable = new Hashtable(); 169private void CheckAttributeSets_RecurceInList(Hashtable markTable, ICollection setQNames) 196private void CheckAttributeSets_RecurceInContainer(Hashtable markTable, ContainerAction container)
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
67private Hashtable? _cdataElements;
System\Xml\Xsl\XsltOld\Stylesheet.cs (7)
15private Hashtable? _modeManagers; 16private readonly Hashtable _templateNameTable = new Hashtable(); 17private Hashtable? _attributeSetTable; 20private Hashtable? _queryKeyTable; 23private readonly Hashtable _scriptObjectTypes = new Hashtable(); 63internal Hashtable? AttributeSetTable { get { return _attributeSetTable; } } 440internal Hashtable ScriptObjectTypes
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (9)
24private static readonly Hashtable s_FunctionTable = CreateFunctionTable(); 271Hashtable documents = new Hashtable(); 293private Hashtable BuildKeyTable(Key key, XPathNavigator root) 295Hashtable keyTable = new Hashtable(); 319private static void AddKeyValue(Hashtable keyTable, string key, XPathNavigator value, bool checkDuplicates) 353private static void EvaluateKey(XPathNavigator? node, Query matchExpr, string matchStr, Query useExpr, Hashtable keyTable) 573private static Hashtable CreateFunctionTable() 575Hashtable ft = new Hashtable(10); 874Hashtable? keyTable = key.GetKeys(root);
System\Xml\Xsl\XsltOld\XsltOutput.cs (2)
42private Hashtable? _cdataElements; 74internal Hashtable? CDataElements
System\Xml\Xslt\XsltArgumentList.cs (2)
18private readonly Hashtable _parameters = new Hashtable(); 19private readonly Hashtable _extensions = new Hashtable();
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
94[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Hashtable))]
System.Runtime.Caching (7)
System\Runtime\Caching\FileChangeNotificationSystem.cs (2)
22private readonly Hashtable _dirMonitors; 92_dirMonitors = Hashtable.Synchronized(new Hashtable(StringComparer.OrdinalIgnoreCase));
System\Runtime\Caching\HostFileChangeMonitor.cs (3)
51Hashtable fcnState = new Hashtable(_filePaths.Count); 127Hashtable fcnState = _fcnState as Hashtable;
System\Runtime\Caching\MemoryCache.cs (1)
483Hashtable h = new Hashtable();
System\Runtime\Caching\MemoryCacheStore.cs (1)
20private readonly Hashtable _entries;
System.Runtime.Extensions (1)
System.Runtime.Extensions.cs (1)
34[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Hashtable))]
System.Security.Cryptography.Xml (24)
System\Security\Cryptography\Xml\AncestralNamespaceContextManager.cs (4)
63internal abstract void TrackNamespaceNode(XmlAttribute attr, SortedList nsListToRender, Hashtable nsLocallyDeclared); 64internal abstract void TrackXmlNamespaceNode(XmlAttribute attr, SortedList nsListToRender, SortedList attrListToRender, Hashtable nsLocallyDeclared); 65internal abstract void GetNamespacesToRender(XmlElement element, SortedList attrListToRender, SortedList nsListToRender, Hashtable nsLocallyDeclared); 67internal void LoadUnrenderedNamespaces(Hashtable nsLocallyDeclared)
System\Security\Cryptography\Xml\C14NAncestralNamespaceContextManager.cs (4)
15private void GetNamespaceToRender(string nsPrefix, SortedList attrListToRender, SortedList nsListToRender, Hashtable nsLocallyDeclared) 56internal override void GetNamespacesToRender(XmlElement element, SortedList attrListToRender, SortedList nsListToRender, Hashtable nsLocallyDeclared) 87internal override void TrackNamespaceNode(XmlAttribute attr, SortedList nsListToRender, Hashtable nsLocallyDeclared) 92internal override void TrackXmlNamespaceNode(XmlAttribute attr, SortedList nsListToRender, SortedList attrListToRender, Hashtable nsLocallyDeclared)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
29Hashtable nsLocallyDeclared = new Hashtable(); 100Hashtable nsLocallyDeclared = new Hashtable();
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
68private readonly Hashtable _keyNameMapping;
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (5)
13private readonly Hashtable _inclusivePrefixSet; 27private void GatherNamespaceToRender(string nsPrefix, SortedList nsListToRender, Hashtable nsLocallyDeclared) 58internal override void GetNamespacesToRender(XmlElement element, SortedList attrListToRender, SortedList nsListToRender, Hashtable nsLocallyDeclared) 69internal override void TrackNamespaceNode(XmlAttribute attr, SortedList nsListToRender, Hashtable nsLocallyDeclared) 77internal override void TrackXmlNamespaceNode(XmlAttribute attr, SortedList nsListToRender, SortedList attrListToRender, Hashtable nsLocallyDeclared)
System\Security\Cryptography\Xml\NamespaceFrame.cs (3)
14private readonly Hashtable _rendered = new Hashtable(); 15private readonly Hashtable _unrendered = new Hashtable(); 39internal Hashtable GetUnrendered()
System\Security\Cryptography\Xml\Transform.cs (2)
31private Hashtable? _propagatedNamespaces; 179public Hashtable PropagatedNamespaces
System\Security\Cryptography\Xml\Utils.cs (3)
390internal static Hashtable TokenizePrefixListString(string s) 392Hashtable set = new Hashtable(); 474internal static void AddNamespaces(XmlElement elem, Hashtable namespaces)
System.Security.Permissions (1)
System\Security\Permissions\ResourcePermissionBase.cs (1)
17private static Hashtable CreateHashtable() { return null; }
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
14private static Hashtable s_connectionPoolRegistries = new Hashtable();
System.Text.RegularExpressions (31)
System\Collections\HashtableExtensions.cs (1)
8public static bool TryGetValue<T>(this Hashtable table, object key, out T? value)
System\Text\RegularExpressions\GroupCollection.cs (2)
20private readonly Hashtable? _captureMap; 25internal GroupCollection(Match match, Hashtable? caps)
System\Text\RegularExpressions\Match.cs (2)
378private new readonly Hashtable _caps; 380internal MatchSparse(Regex regex, Hashtable caps, int capcount, string? text, int textLength) :
System\Text\RegularExpressions\Regex.cs (4)
28protected internal Hashtable? caps; // if captures are sparse, this is the hashtable capnum->index 29protected internal Hashtable? capnames; // if named captures are used, this maps names->index 192caps = value as Hashtable ?? new Hashtable(value); 207capnames = value as Hashtable ?? new Hashtable(value);
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (4)
192internal void GenerateCreateHashtable(FieldInfo field, Hashtable ht) 196_ilg!.Emit(OpCodes.Newobj, typeof(Hashtable).GetConstructor(Type.EmptyTypes)!); 202MethodInfo addMethod = typeof(Hashtable).GetMethod(nameof(Hashtable.Add), BindingFlags.Public | BindingFlags.Instance)!;
System\Text\RegularExpressions\RegexParser.cs (9)
41private readonly Hashtable _caps; 42private Hashtable? _capnames; 55private RegexParser(string pattern, RegexOptions options, CultureInfo culture, Hashtable caps, int capsize, Hashtable? capnames, Span<int> optionSpan) 112Hashtable? sparseMapping = parser._caps; 137public static RegexReplacement ParseReplacement(string pattern, RegexOptions options, Hashtable caps, int capsize, Hashtable capnames) 1918internal static int MapCaptureNumber(int capnum, Hashtable? caps) => 2115internal static string GroupNameFromNumber(Hashtable? caps, string[]? capslist, int capsize, int i)
System\Text\RegularExpressions\RegexReplacement.cs (3)
34public RegexReplacement(string rep, RegexNode concat, Hashtable _caps) 107public static RegexReplacement GetOrCreate(WeakReference<RegexReplacement?> replRef, string replacement, Hashtable caps, 108int capsize, Hashtable capnames, RegexOptions roptions)
System\Text\RegularExpressions\RegexTree.cs (4)
35public readonly Hashtable? CaptureNameToNumberMapping; 41public readonly Hashtable? CaptureNumberSparseMapping; 43internal RegexTree(RegexNode root, int captureCount, string[]? captureNames, Hashtable? captureNameToNumberMapping, Hashtable? captureNumberSparseMapping, RegexOptions options, CultureInfo? culture)
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (2)
15internal sealed class RegexNodeConverter(SymbolicRegexBuilder<BDD> builder, Hashtable? captureSparseMapping) 18private readonly Hashtable? _captureSparseMapping = captureSparseMapping;
System.Text.RegularExpressions.Generator (15)
src\libraries\System.Text.RegularExpressions\src\System\Collections\HashtableExtensions.cs (1)
8public static bool TryGetValue<T>(this Hashtable table, object key, out T? value)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (9)
41private readonly Hashtable _caps; 42private Hashtable? _capnames; 55private RegexParser(string pattern, RegexOptions options, CultureInfo culture, Hashtable caps, int capsize, Hashtable? capnames, Span<int> optionSpan) 112Hashtable? sparseMapping = parser._caps; 137public static RegexReplacement ParseReplacement(string pattern, RegexOptions options, Hashtable caps, int capsize, Hashtable capnames) 1918internal static int MapCaptureNumber(int capnum, Hashtable? caps) => 2115internal static string GroupNameFromNumber(Hashtable? caps, string[]? capslist, int capsize, int i)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexTree.cs (4)
35public readonly Hashtable? CaptureNameToNumberMapping; 41public readonly Hashtable? CaptureNumberSparseMapping; 43internal RegexTree(RegexNode root, int captureCount, string[]? captureNames, Hashtable? captureNameToNumberMapping, Hashtable? captureNumberSparseMapping, RegexOptions options, CultureInfo? culture)
Stubs.cs (1)
108public RegexReplacement(string rep, RegexNode concat, Hashtable caps) { }
System.Transactions.Local (7)
System\Transactions\InternalTransaction.cs (1)
421Hashtable promotedTransactionTable = TransactionManager.PromotedTransactionTable;
System\Transactions\TransactionManager.cs (4)
30private static Hashtable? s_promotedTransactionTable; 550Hashtable promotedTransactionTable = PromotedTransactionTable; 573Hashtable promotedTransactionTable = PromotedTransactionTable; 611internal static Hashtable PromotedTransactionTable =>
System\Transactions\TransactionState.cs (2)
2220Hashtable promotedTransactionTable = TransactionManager.PromotedTransactionTable; 3318Hashtable promotedTransactionTable = TransactionManager.PromotedTransactionTable;
System.Web.Services.Description (7)
System\Web\Services\Configuration\WebServicesSection.cs (3)
34Hashtable table = new Hashtable(); 52Hashtable extensions = new Hashtable(); 75Hashtable nsDefs = new Hashtable();
System\Web\Services\Description\ServiceDescription.cs (1)
2021private Hashtable _table;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (3)
10642private System.Collections.Hashtable _XmlSchemaDerivationMethodValues; 10644internal System.Collections.Hashtable XmlSchemaDerivationMethodValues { 10647System.Collections.Hashtable h = new System.Collections.Hashtable();
System.Windows.Forms (5)
System\Drawing\Design\UITypeEditor.cs (1)
36var intrinsicEditors = new Hashtable
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (2)
19private readonly Hashtable _bag; 49_bag = (Hashtable)new BinaryFormatter().Deserialize(stream); // CodeQL[SM03722, SM04191] : BinaryFormatter is intended to be used as a fallback for unsupported types. Users must explicitly opt into this behavior"
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (1)
23private Hashtable _bag = [];
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
57Hashtable values = new Hashtable(properties.Count);
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (2)
233Hashtable? resources = new BinaryFormatter().Deserialize(_resourceStream) as Hashtable; // CodeQL[SM03722, SM04191] : The operation is essential for the design experience when users are running their own designers they have created. This cannot be achieved without BinaryFormatter
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalResourceManager.cs (3)
20private Hashtable? _hashtable; 23internal LocalResourceManager(Hashtable? data) { _hashtable = data; } 25internal Hashtable Data => _hashtable ??= [];
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
179Hashtable defaultValues = [];
System.Windows.Forms.Design.Tests (60)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (50)
178Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 266Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 368Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 413Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 459Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 505Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 554Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 603Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 655Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 673Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 727Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 738Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 764Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 777Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 812Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 826Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 871Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 884Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 935Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 946Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 972Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 985Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1020Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1034Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1079Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1092Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1145Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1156Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1167Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1195Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1208Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1221Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1258Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1272Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1286Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1333Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1346Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1359Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1424Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1435Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1446Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1474Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1487Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1500Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1537Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1551Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1565Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1612Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1625Assert.Null(info.GetValue("Resources", typeof(Hashtable))); 1638Assert.Null(info.GetValue("Resources", typeof(Hashtable)));
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (9)
30Hashtable resources = []; 78Hashtable resources = []; 126Hashtable resources = []; 177Hashtable values = new() 272Hashtable values = new() 355Hashtable values = new() 435Hashtable values = new() 491Hashtable values = new() 540Hashtable values = new()
System\Windows\Forms\Design\FlowLayoutPanelDesignerTests.cs (1)
65Hashtable properties = new()
System.Windows.Forms.Tests (1)
System\Windows\Forms\Control.ActiveXImplTests.cs (1)
82public Hashtable? Table { get; set; }
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
479private static Hashtable _loadedAssembliesHash = new Hashtable(8);
System\Windows\Markup\ValueSerializer.cs (1)
26private static Hashtable s_valueSerializers = new Hashtable();
UIAutomationClient (3)
MS\Internal\Automation\ProxyManager.cs (3)
758private static void AddToHashTable( Hashtable table, string key, object data ) 826private static Hashtable _classHandlers = new Hashtable(22, 1.0f); 830private static Hashtable _imageOnlyHandlers = new Hashtable(0,1.0f);
UIAutomationClientSideProviders (20)
MS\Internal\AutomationProxies\EventManager.cs (5)
573private static Hashtable _objectIdWindow; 574private static Hashtable _objectIdClient; 575private static Hashtable _objectIdScroll; 576private static Hashtable _objectIdCaret; 577private static Hashtable _objectIdMenu;
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (11)
83Hashtable eventTable; 86eventTable = (Hashtable)(_hwndTable[hwnd]); 114Hashtable eventTable = (Hashtable)(_hwndTable[hwnd]); 180Hashtable eventTable = (Hashtable)_hwndTable[hwnd]; 271private void MaybeFireSelectionItemEvent(AutomationEvent eventId, Hashtable eventTable, IntPtr hwnd, int idObject, int idChild) 290private void MaybeFirePropertyChangeEvent(AutomationPattern pattern, AutomationProperty property, Hashtable eventTable, IntPtr hwnd, int idObject, int idChild, bool clientToo) 311private void MaybeFireStructureChangeEvent(int eventId, Hashtable eventTable, IntPtr hwnd, int idObject, int idChild) 393private Hashtable _hwndTable = new Hashtable(); 396private Hashtable _browserTable = new Hashtable();
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
91private static Hashtable _groupManagers = new Hashtable(10);
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1117private static Hashtable _expandedMenus = new Hashtable(5);
MS\Internal\AutomationProxies\WinEventTracker.cs (2)
586private static Hashtable[] _ahp = new Hashtable[EventIdToIndex.Length];
UIAutomationTypes (1)
System\Windows\Automation\AutomationIdentifier.cs (1)
263private static Hashtable _idTable = new Hashtable(200,1.0f);