496 references to Hashtable
BinaryFormatTests (18)
FormatTests\FormattedObject\HashTableTests.cs (18)
22Hashtable hashtable = new() 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()
dotnet-svcutil-lib (126)
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 (3)
54_names = new Hashtable(); 130_wildcards = new Hashtable(); 1548Hashtable stateTable = new Hashtable();
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 (2)
53_identifiers = new Hashtable(); 54_reservedIdentifiers = new Hashtable();
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\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\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.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.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 (1)
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 (7)
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();
PresentationCore (15)
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\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\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();
PresentationFramework (23)
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\LayoutDump.cs (2)
178private static Hashtable _elementToDumpHandler = new Hashtable(); 183private static Hashtable _documentPageToDumpHandler = new Hashtable();
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\TextRangeAdaptor.cs (1)
41_textPatternAttributes = new Hashtable();
System\Windows\Documents\FixedFlowMap.cs (1)
347_mapping = new Hashtable();
System\Windows\Documents\RtfToXamlReader.cs (1)
3707_fontMappings = new Hashtable();
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
212_attributes = new Hashtable();
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\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();
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
854Value: new() { ["one"] = 1, ["two"] = "two", ["three"] = 3.14 },
System.Collections.NonGeneric (1)
System\Collections\DictionaryBase.cs (1)
21protected Hashtable InnerHashtable => _hashtable ??= new Hashtable();
System.Collections.Specialized (1)
System\Collections\Specialized\StringDictionary.cs (1)
25private readonly Hashtable contents = new Hashtable(); // Do not rename (binary serialization)
System.ComponentModel.TypeConverter (12)
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 (1)
190_cachedFoundProperties = new Hashtable();
System\ComponentModel\ReflectTypeDescriptionProvider.cs (5)
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 (19)
System\Configuration\BaseConfigurationRecord.cs (4)
727factoryList ??= new Hashtable(); 1754Hashtable factoryList = new Hashtable(); 3146_sectionRecords = new Hashtable(); 3188return _factoryRecords ??= new Hashtable();
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\LocalFileSettingsProvider.cs (2)
152Hashtable roamingUserSettings = new Hashtable(); 153Hashtable localUserSettings = new Hashtable();
System\Configuration\MgmtConfigurationRecord.cs (4)
45private Hashtable SectionGroups => _sectionGroups ??= new Hashtable(); 47private Hashtable RemovedSections => _removedSections ??= new Hashtable(); 49private Hashtable RemovedSectionGroups => _removedSectionGroups ??= new Hashtable(); 310Hashtable factories = new Hashtable();
System\Configuration\SectionUpdates.cs (2)
21_groups = new Hashtable(); 22_sections = new Hashtable();
System\Configuration\SettingsAttributeDictionary.cs (1)
11public SettingsAttributeDictionary() : base() { }
System\Configuration\SettingsContext.cs (1)
11public SettingsContext() : base() { }
System\Configuration\SingleTagSectionHandler.cs (1)
30result = new Hashtable();
System.Data.Common (32)
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\PropertyCollection.cs (1)
18public PropertyCollection() : base()
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 (6)
548_autogenerated = new Hashtable(); 583_namespaces = new Hashtable(); 584_prefixes = new Hashtable(); 950_namespaces = new Hashtable(); 951_prefixes = new Hashtable(); 955_autogenerated = new Hashtable();
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.Private.CoreLib (4)
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();
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.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 (114)
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 (2)
52_identifiers = new Hashtable(); 53_reservedIdentifiers = new Hashtable();
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\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 (2)
59_methods = new Hashtable(); 85_methods = new Hashtable();
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\InputScope.cs (3)
62_extensionNamespaces ??= new Hashtable(); 77_excludedNamespaces ??= new Hashtable(); 94_variables ??= new Hashtable();
System\Xml\Xsl\XsltOld\Processor.cs (1)
174_documentCache = new Hashtable();
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 (2)
271Hashtable documents = new Hashtable(); 295Hashtable keyTable = new Hashtable();
System\Xml\Xslt\XsltArgumentList.cs (2)
18private readonly Hashtable _parameters = new Hashtable(); 19private readonly Hashtable _extensions = new Hashtable();
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCache.cs (1)
483Hashtable h = new Hashtable();
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
29Hashtable nsLocallyDeclared = new Hashtable(); 100Hashtable nsLocallyDeclared = new Hashtable();
System\Security\Cryptography\Xml\NamespaceFrame.cs (2)
14private readonly Hashtable _rendered = new Hashtable(); 15private readonly Hashtable _unrendered = new Hashtable();
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 (5)
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.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 (1)
System\Drawing\Design\UITypeEditor.cs (1)
36var intrinsicEditors = new Hashtable
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 (2)
System\Windows\Markup\ValueSerializer.cs (2)
26private static Hashtable s_valueSerializers = new Hashtable(); 270s_valueSerializers = new Hashtable();
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (3)
90eventTable = new Hashtable(); 393private Hashtable _hwndTable = new Hashtable(); 396private Hashtable _browserTable = new Hashtable();