Implemented interface member:
property
this
System.Collections.IDictionary.this[System.Object]
2 overrides of
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1272public override object? this[object key]
System.Windows.Forms.Design (1)
System\Drawing\Design\ToolboxItem.cs (1)
817public override object? this[object key]
486 writes to
dotnet-svcutil-lib (51)
FrameworkFork\Microsoft.CodeDom\Configuration\CodeDomCompilationConfiguration.cs (2)
58_compilerLanguages[language] = compilerInfo; 63_compilerExtensions[extension] = compilerInfo;
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (2)
87_keys[value.Namespace] = value; 130_keys[c.Namespace] = c;
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (4)
54_set[string.Empty] = string.Empty; 58_set[targetNamespace] = targetNamespace; 63_set[splitString[i]] = splitString[i]; 216nslist._set[ns] = ns;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (2)
88Names[name] = null; 125Names[name] = extension;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
310_cache[key] = assembly;
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (5)
157ObjectCache[key] = list; 188Hash[o1] = GetHash(o1); 203refs[o] = o; 258looks[o] = hashString; 260Hash[o] = code;
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (3)
62_table[new NameKey(qname.Name, qname.Namespace)] = value; 73_table[new NameKey(name, ns)] = value; 84_table[new NameKey(name, ns)] = value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (6)
695_anonymous[type] = mapping; 751_anonymous[model.Type] = mapping; 914ids[member.SequenceId] = member; 1126_anonymous[model.Type] = mapping; 1133_anonymous[model.Type] = mapping; 1209_anonymous[model.Type] = mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
1013_references[mapping] = mapping; 1067_references[mapping] = null;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1423ImportedMappings[type] = arrayMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
177References[schema] = schema;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
202uniqueTypes[type] = type;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
248uniqueTypes[type] = type;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (4)
1589_referencedTargets[o] = o; 1957_callbacks[typeName] = read; 1958_types[typeName] = type; 1959_typesReverse[type] = typeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
1218_typeEntries[type] = entry; 1570GeneratedMethods[mapping] = mapping; 3750s_tableIsTypeDynamic[type] = oIsTypeDynamic = isTypeDynamic;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
51GeneratedMethods[mapping] = mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (2)
595s_xmlSerializerTable[type] = typedMappingTable; 630typedMappingTable[mappingKey] = serializers[index];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (1)
70Namespaces[prefix] = ns;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
293SurrogateDataTable[key] = surrogateData;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
896references[soap] = wsdl; 901references[soap] = soap; 905references[soapEncoding] = soapEncoding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (2)
1013_tmp[@"System.ServiceModel.Description.MetadataSet:http://schemas.xmlsoap.org/ws/2004/09/mex:Metadata:True:"] = @"Read68_Metadata"; 1027_tmp[@"System.ServiceModel.Description.MetadataSet:http://schemas.xmlsoap.org/ws/2004/09/mex:Metadata:True:"] = @"Write68_Metadata";
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (3)
126_entries[key] = item; 134_entries[key] = item; 172_entries[key] = new ExpirableItem(item, expirationTime);
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
1450proj.AspNetConfigurations[configurationName] = aspNetCompilerParameters;
Microsoft.Build.Tasks.Core (9)
LC.cs (7)
29set => Bag[nameof(Sources)] = value; 39set => Bag[nameof(OutputLicense)] = value; 49set => Bag[nameof(LicenseTarget)] = value; 59set => Bag[nameof(OutputDirectory)] = value; 69set => Bag[nameof(ReferencedAssemblies)] = value; 78set => Bag[nameof(NoLogo)] = value; 84set => Bag[nameof(SdkToolsPath)] = value;
RedistList.cs (2)
614uniqueClientListNames[redistName] = null; 654denyList[hashKey] = entryFullName;
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeDesc.cs (3)
87Funcs[name] = method; 108Puts[name] = method; 128PutRefs[name] = method;
Microsoft.Private.Windows.Core (2)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
480temp[primitiveKey.Value] = null; // null values are allowed 484temp[primitiveKey.Value] = primitiveValue.Value;
PresentationBuildTasks (20)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (4)
172globalProperties[intermediateOutputPathPropertyName] = IntermediateOutputPath; 174globalProperties[assemblyNamePropertyName] = AssemblyName; 175globalProperties[targetAssemblyProjectNamePropertyName] = currentProjectName; 176globalProperties["EmbedUntrackedSources"] = "false";
Microsoft\Build\Tasks\Windows\UidManager.cs (3)
752_uidTable[value] = null; 765_sequenceMaxIds[uidSequence] = index; 770_sequenceMaxIds[uidSequence] = index;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (1)
1130ObjectHashTable[fullName] = record;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1485_IDTypes[xamlPropertyNode.Value] = _elementTypeStack.Peek() as Type;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (3)
2412_typeLookupFromXmlHashtable[hashString] = typeAndSerializer; 2451_typeLookupFromXmlHashtable[hashString] = typeAndSerializer; 4012_dpLookupHashtable[dpName] = new PropertyAndType(null, dpInfo, false, true, ownerType, isInternal);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (8)
40_assemblyHasCacheInfo["WINDOWSBASE"] = true; 41_assemblyHasCacheInfo["SYSTEM"] = false; 42_assemblyHasCacheInfo["SYSTEM.DATA"] = false; 43_assemblyHasCacheInfo["SYSTEM.XML"] = false; 44_assemblyHasCacheInfo["UIAUTOMATIONPROVIDER"] = false; 45_assemblyHasCacheInfo["UIAUTOMATIONTYPES"] = false; 47_assemblyHasCacheInfo["PRESENTATIONCORE"] = true; 48_assemblyHasCacheInfo["PRESENTATIONFRAMEWORK"] = true;
PresentationCore (69)
MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
56_hashTable[key] = value;
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\Maps.cs (1)
69_overFlow[dType] = value;
System\Windows\Automation\Peers\AutomationPeer.cs (54)
2365s_patternInfo[InvokePatternIdentifiers.Pattern.Id] = new PatternInfo(InvokePatternIdentifiers.Pattern.Id, new WrapObject(InvokeProviderWrapper.Wrap), PatternInterface.Invoke); 2366s_patternInfo[SelectionPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionPatternIdentifiers.Pattern.Id, new WrapObject(SelectionProviderWrapper.Wrap), PatternInterface.Selection); 2367s_patternInfo[ValuePatternIdentifiers.Pattern.Id] = new PatternInfo(ValuePatternIdentifiers.Pattern.Id, new WrapObject(ValueProviderWrapper.Wrap), PatternInterface.Value); 2368s_patternInfo[RangeValuePatternIdentifiers.Pattern.Id] = new PatternInfo(RangeValuePatternIdentifiers.Pattern.Id, new WrapObject(RangeValueProviderWrapper.Wrap), PatternInterface.RangeValue); 2369s_patternInfo[ScrollPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollPatternIdentifiers.Pattern.Id, new WrapObject(ScrollProviderWrapper.Wrap), PatternInterface.Scroll); 2370s_patternInfo[ScrollItemPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollItemPatternIdentifiers.Pattern.Id, new WrapObject(ScrollItemProviderWrapper.Wrap), PatternInterface.ScrollItem); 2371s_patternInfo[ExpandCollapsePatternIdentifiers.Pattern.Id] = new PatternInfo(ExpandCollapsePatternIdentifiers.Pattern.Id, new WrapObject(ExpandCollapseProviderWrapper.Wrap), PatternInterface.ExpandCollapse); 2372s_patternInfo[GridPatternIdentifiers.Pattern.Id] = new PatternInfo(GridPatternIdentifiers.Pattern.Id, new WrapObject(GridProviderWrapper.Wrap), PatternInterface.Grid); 2373s_patternInfo[GridItemPatternIdentifiers.Pattern.Id] = new PatternInfo(GridItemPatternIdentifiers.Pattern.Id, new WrapObject(GridItemProviderWrapper.Wrap), PatternInterface.GridItem); 2374s_patternInfo[MultipleViewPatternIdentifiers.Pattern.Id] = new PatternInfo(MultipleViewPatternIdentifiers.Pattern.Id, new WrapObject(MultipleViewProviderWrapper.Wrap), PatternInterface.MultipleView); 2375s_patternInfo[WindowPatternIdentifiers.Pattern.Id] = new PatternInfo(WindowPatternIdentifiers.Pattern.Id, new WrapObject(WindowProviderWrapper.Wrap), PatternInterface.Window); 2376s_patternInfo[SelectionItemPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionItemPatternIdentifiers.Pattern.Id, new WrapObject(SelectionItemProviderWrapper.Wrap), PatternInterface.SelectionItem); 2377s_patternInfo[DockPatternIdentifiers.Pattern.Id] = new PatternInfo(DockPatternIdentifiers.Pattern.Id, new WrapObject(DockProviderWrapper.Wrap), PatternInterface.Dock); 2378s_patternInfo[TablePatternIdentifiers.Pattern.Id] = new PatternInfo(TablePatternIdentifiers.Pattern.Id, new WrapObject(TableProviderWrapper.Wrap), PatternInterface.Table); 2379s_patternInfo[TableItemPatternIdentifiers.Pattern.Id] = new PatternInfo(TableItemPatternIdentifiers.Pattern.Id, new WrapObject(TableItemProviderWrapper.Wrap), PatternInterface.TableItem); 2380s_patternInfo[TogglePatternIdentifiers.Pattern.Id] = new PatternInfo(TogglePatternIdentifiers.Pattern.Id, new WrapObject(ToggleProviderWrapper.Wrap), PatternInterface.Toggle); 2381s_patternInfo[TransformPatternIdentifiers.Pattern.Id] = new PatternInfo(TransformPatternIdentifiers.Pattern.Id, new WrapObject(TransformProviderWrapper.Wrap), PatternInterface.Transform); 2382s_patternInfo[TextPatternIdentifiers.Pattern.Id] = new PatternInfo(TextPatternIdentifiers.Pattern.Id, new WrapObject(TextProviderWrapper.Wrap), PatternInterface.Text); 2387s_patternInfo[VirtualizedItemPatternIdentifiers.Pattern.Id] = new PatternInfo(VirtualizedItemPatternIdentifiers.Pattern.Id, new WrapObject(VirtualizedItemProviderWrapper.Wrap), PatternInterface.VirtualizedItem); 2389s_patternInfo[ItemContainerPatternIdentifiers.Pattern.Id] = new PatternInfo(ItemContainerPatternIdentifiers.Pattern.Id, new WrapObject(ItemContainerProviderWrapper.Wrap), PatternInterface.ItemContainer); 2392s_patternInfo[SynchronizedInputPatternIdentifiers.Pattern.Id] = new PatternInfo(SynchronizedInputPatternIdentifiers.Pattern.Id, new WrapObject(SynchronizedInputProviderWrapper.Wrap), PatternInterface.SynchronizedInput); 2397s_propertyInfo[AutomationElementIdentifiers.IsControlElementProperty.Id] = new GetProperty(IsControlElement); 2398s_propertyInfo[AutomationElementIdentifiers.ControlTypeProperty.Id] = new GetProperty(GetControlType); 2399s_propertyInfo[AutomationElementIdentifiers.IsContentElementProperty.Id] = new GetProperty(IsContentElement); 2400s_propertyInfo[AutomationElementIdentifiers.LabeledByProperty.Id] = new GetProperty(GetLabeledBy); 2401s_propertyInfo[AutomationElementIdentifiers.NativeWindowHandleProperty.Id] = new GetProperty(GetNativeWindowHandle); 2402s_propertyInfo[AutomationElementIdentifiers.AutomationIdProperty.Id] = new GetProperty(GetAutomationId); 2403s_propertyInfo[AutomationElementIdentifiers.ItemTypeProperty.Id] = new GetProperty(GetItemType); 2404s_propertyInfo[AutomationElementIdentifiers.IsPasswordProperty.Id] = new GetProperty(IsPassword); 2405s_propertyInfo[AutomationElementIdentifiers.LocalizedControlTypeProperty.Id] = new GetProperty(GetLocalizedControlType); 2406s_propertyInfo[AutomationElementIdentifiers.NameProperty.Id] = new GetProperty(GetName); 2407s_propertyInfo[AutomationElementIdentifiers.AcceleratorKeyProperty.Id] = new GetProperty(GetAcceleratorKey); 2408s_propertyInfo[AutomationElementIdentifiers.AccessKeyProperty.Id] = new GetProperty(GetAccessKey); 2409s_propertyInfo[AutomationElementIdentifiers.HasKeyboardFocusProperty.Id] = new GetProperty(HasKeyboardFocus); 2410s_propertyInfo[AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id] = new GetProperty(IsKeyboardFocusable); 2411s_propertyInfo[AutomationElementIdentifiers.IsEnabledProperty.Id] = new GetProperty(IsEnabled); 2412s_propertyInfo[AutomationElementIdentifiers.BoundingRectangleProperty.Id] = new GetProperty(GetBoundingRectangle); 2413s_propertyInfo[AutomationElementIdentifiers.ProcessIdProperty.Id] = new GetProperty(GetCurrentProcessId); 2414s_propertyInfo[AutomationElementIdentifiers.RuntimeIdProperty.Id] = new GetProperty(GetRuntimeId); 2415s_propertyInfo[AutomationElementIdentifiers.ClassNameProperty.Id] = new GetProperty(GetClassName); 2416s_propertyInfo[AutomationElementIdentifiers.HelpTextProperty.Id] = new GetProperty(GetHelpText); 2417s_propertyInfo[AutomationElementIdentifiers.ClickablePointProperty.Id] = new GetProperty(GetClickablePoint); 2418s_propertyInfo[AutomationElementIdentifiers.CultureProperty.Id] = new GetProperty(GetCultureInfo); 2419s_propertyInfo[AutomationElementIdentifiers.IsOffscreenProperty.Id] = new GetProperty(IsOffscreen); 2420s_propertyInfo[AutomationElementIdentifiers.OrientationProperty.Id] = new GetProperty(GetOrientation); 2421s_propertyInfo[AutomationElementIdentifiers.FrameworkIdProperty.Id] = new GetProperty(GetFrameworkId); 2422s_propertyInfo[AutomationElementIdentifiers.IsRequiredForFormProperty.Id] = new GetProperty(IsRequiredForForm); 2423s_propertyInfo[AutomationElementIdentifiers.ItemStatusProperty.Id] = new GetProperty(GetItemStatus); 2426s_propertyInfo[AutomationElementIdentifiers.LiveSettingProperty.Id] = new GetProperty(GetLiveSetting); 2430s_propertyInfo[AutomationElementIdentifiers.ControllerForProperty.Id] = new GetProperty(GetControllerFor); 2434s_propertyInfo[AutomationElementIdentifiers.SizeOfSetProperty.Id] = new GetProperty(GetSizeOfSet); 2438s_propertyInfo[AutomationElementIdentifiers.PositionInSetProperty.Id] = new GetProperty(GetPositionInSet); 2442s_propertyInfo[AutomationElementIdentifiers.HeadingLevelProperty.Id] = new GetProperty(GetHeadingLevel); 2446s_propertyInfo[AutomationElementIdentifiers.IsDialogProperty.Id] = new GetProperty(IsDialog);
System\Windows\GlobalEventManager.cs (1)
192_ownerTypedRoutedEventList[ownerType] = ownerRoutedEventList;
System\Windows\Input\AccessKeyManager.cs (1)
38akm._keyToElements[key] = elements;
System\Windows\Input\InputManager.cs (1)
232_inputProviders[inputProvider] = site;
System\Windows\Input\StagingAreaInputItem.cs (1)
82_dictionary[key] = value;
System\Windows\Input\TextServicesCompartmentContext.cs (2)
89_compartmentTable[guid] = compartment; 124_globalcompartmentTable[guid] = compartment;
System\Windows\Markup\XmlLanguage.cs (1)
135_cache[lowercase] = language = new XmlLanguage(lowercase);
System\Windows\Media\Imaging\BitmapDownload.cs (3)
181_uriTable[uri] = entry; 334_uriTable[entry.inputUri] = null; 428_uriTable[entry.inputUri] = null;
System\Windows\Media\Imaging\ImagingCache.cs (1)
95table[uri] = obj;
System\Windows\Nrbf\SerializationRecordExtensions.cs (2)
290temp[primitiveKey.Value] = null; // null values are allowed 294temp[primitiveKey.Value] = primitiveValue.Value;
PresentationFramework (34)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (4)
94_subtreeProcessors[processorId] = processor; 100_locatorPartHandlers[typeName] = processor; 183_selectionProcessors[selectionType] = processor; 189_locatorPartHandlers[type] = processor;
MS\Internal\Documents\PageCache.cs (2)
944_table[page] = false; 991_table[page] = true;
MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
229propertyOccurrences[_reader.Name] = ++index; 234propertyOccurrences[_reader.Name] = bamlNode;
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
288uidSubstitutions[element.Uid] = null; // stored in Hashtable
MS\Internal\WeakHashtable.cs (1)
55this[new EqualityWeakReference(key)] = value;
MS\Internal\WeakObjectHashtable.cs (1)
45this[key] = value;
System\Windows\Controls\DefinitionBase.cs (1)
706_registry[sharedSizeGroup] = sharedState;
System\Windows\Controls\Grid.cs (1)
1343store[key] = value;
System\Windows\Controls\RadioButton.cs (1)
79_groupNameToElements[groupName] = elements;
System\Windows\Documents\ImmComposition.cs (2)
77_list[source] = immComposition; 305_list[newSource] = this;
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
258_attributes[guidatom] = attr;
System\Windows\Input\KeyboardNavigation.cs (2)
2794_containerHashtable[container] = elementTable; 2797elementTable[elementObject] = BooleanBoxes.TrueBox;
System\Windows\Interop\ActiveXHost.cs (2)
63invalidatorMap[UIElement.VisibilityProperty] = new PropertyInvalidator(OnVisibilityInvalidated); 64invalidatorMap[FrameworkElement.IsEnabledProperty] = new PropertyInvalidator(OnIsEnabledInvalidated);
System\Windows\Markup\BamlMapTable.cs (2)
1130ObjectHashTable[fullName] = record; 1673ObjectHashTable[key] = data;
System\Windows\Markup\BamlWriter.cs (1)
1073_assemblies[assemblyName] = assy;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
347_shouldSerializeCache[key] = value;
System\Windows\Markup\XamlTypeMapper.cs (3)
2412_typeLookupFromXmlHashtable[hashString] = typeAndSerializer; 2451_typeLookupFromXmlHashtable[hashString] = typeAndSerializer; 4012_dpLookupHashtable[dpName] = new PropertyAndType(null, dpInfo, false, true, ownerType, isInternal);
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
188result[key] = list.ToArray();
System\Windows\ResourceDictionary.cs (2)
456_baseDictionary[key] = value; 1057_baseDictionary[key] = value;
System\Windows\SystemResources.cs (2)
272_resourceCache[key] = resource; 283_resourceCache[key] = _specialNull;
System\Windows\TemplateNameScope.cs (1)
131nonFeChildren[name] = scopedElement;
ReachFramework (4)
Serialization\Manager\NullPackagingPolicy.cs (1)
394_fontsCache[resourceId] = resourceStreamCacheItem;
Serialization\Manager\XpsOMPackagingPolicy.cs (1)
470_fontsCache[resourceId] = resourceStreamCacheItem;
Serialization\Manager\XpsPackagingPolicy.cs (1)
869_fontsCache[resourceId] = resourceStreamCacheItem;
Serialization\Manager\XpsSerializationManager.cs (1)
1281_typesXmlNSMapping[ReachSerializationServices._xpsTypesRequiringXMLNS[IndexInTypes]] =
System.Collections.NonGeneric (2)
System\Collections\DictionaryBase.cs (2)
88InnerHashtable[key] = value; 97InnerHashtable[key] = temp;
System.Collections.Specialized (5)
System\Collections\Specialized\HybridDictionary.cs (2)
94hashtable[key] = value; 102hashtable[key] = value;
System\Collections\Specialized\OrderedDictionary.cs (2)
172objectsTable[key] = value; 198objectsTable[key] = value;
System\Collections\Specialized\StringDictionary.cs (1)
77contents[key.ToLowerInvariant()] = value;
System.ComponentModel.TypeConverter (14)
System\ComponentModel\CollectibleKeyHashtable.cs (1)
34_defaultTable[key] = value;
System\ComponentModel\Design\DesigntimeLicenseContext.cs (1)
37_savedLicenseKeys[type.AssemblyQualifiedName!] = key;
System\ComponentModel\LicenseManager.cs (2)
94s_providers[type] = provider; 107s_providerInstances[providerType] = provider;
System\ComponentModel\PropertyDescriptorCollection.cs (3)
212_cachedFoundProperties[name] = _properties[i]; 221_cachedFoundProperties[name] = _properties[i]; 500_cachedFoundProperties[key] = value;
System\ComponentModel\ReflectTypeDescriptionProvider.cs (5)
231editorTables[editorBaseType] = table; 442editorTables[editorBaseType] = editorTables; 1456table[baseType] = hashEntry; 1490table[callingType] = hashEntry; 1536table[callingType] = hashEntry;
System\ComponentModel\TypeDescriptor.cs (2)
2483refreshedTypes[nodeType] = nodeType; 2496refreshedTypes[populatedType] = populatedType;
System.Configuration.ConfigurationManager (29)
System\Configuration\ApplicationSettingsBase.cs (6)
209Context["SettingsKey"] = _settingsKey; 507settingsProperty.Attributes[attribute.GetType()] = attribute; 547_context["GroupName"] = type.FullName; 548_context["SettingsKey"] = SettingsKey; 549_context["SettingsClassType"] = type; 608_context["GroupName"] = ((SettingsGroupNameAttribute)attr).GroupName;
System\Configuration\BaseConfigurationRecord.cs (3)
1887factoryList[configKey] = factoryRecord; 2052factoryList[configKey] = factoryRecord; 3670factoryList[ReservedSectionProtectedConfiguration] =
System\Configuration\ClientSettingsStore.cs (2)
102settings[setting.Name] = new StoredSetting(setting.SerializeAs, setting.Value.ValueXml); 142settings[setting.Name] = new StoredSetting(setting.SerializeAs, setting.Value.ValueXml);
System\Configuration\ConfigurationElement.cs (1)
721s_propertyBags[type] = properties;
System\Configuration\ConfigurationElementCollection.cs (7)
300inheritance[entry.GetKey(this)] = InheritedType.InParent; 316inheritance[entry.GetKey(this)] = InheritedType.InBothSame; 320inheritance[entry.GetKey(this)] = InheritedType.InBothDiff; 328inheritance[entry.GetKey(this)] = InheritedType.InBothCopyNoRemove; 334inheritance[entry.GetKey(this)] = InheritedType.InBothDiff; 341inheritance[entry.GetKey(this)] = InheritedType.InBothCopyNoRemove; 348inheritance[entry.GetKey(this)] = InheritedType.InSelf;
System\Configuration\DictionarySectionHandler.cs (1)
57res[key] = value ?? "";
System\Configuration\LocalFileSettingsProvider.cs (2)
169roamingUserSettings[setting.Name] = ss; 173localUserSettings[setting.Name] = ss;
System\Configuration\MgmtConfigurationRecord.cs (4)
279SectionGroups[configKey] = configSectionGroup; 304_locationTags[locationSubPath] = locationSubPath; 321factories[configKey] = new FactoryId(factoryRecord.ConfigKey, factoryRecord.Group, 847SectionGroups[configKey] = configSectionGroup;
System\Configuration\SectionUpdates.cs (1)
49sectionUpdates._groups[groupPart] = sectionUpdatesChild;
System\Configuration\SettingsPropertyValueCollection.cs (1)
63_indices[key] = ((int)_indices[key]) - 1;
System\Configuration\SingleTagSectionHandler.cs (1)
43result[attribute.Name] = attribute.Value;
System.Data.Common (62)
System\Data\Common\DbConnectionStringBuilder.cs (3)
456propertyDescriptors[displayName] = descriptor; 462propertyDescriptors[ADP.ConnectionString] = reflected; 528propertyDescriptors[keyword] = descriptor;
System\Data\Common\FieldNameLookup.cs (1)
114hash[fieldName] = i;
System\Data\DataColumn.cs (1)
1544clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataRelation.cs (1)
742clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataSet.cs (1)
1215ds.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataTable.cs (3)
2385visitedMap[sourceTable] = destinationTable; 2477oldConstraint.ExtendedProperties[key] = clonedConstraint.ExtendedProperties[key]; 2512clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataViewSettingCollection.cs (1)
50_list[table] = value;
System\Data\ForeignKeyConstraint.cs (2)
750clone.ExtendedProperties[key] = ExtendedProperties[key]; 790clone.ExtendedProperties[key] = ExtendedProperties[key];
System\Data\Merger.cs (1)
618dst[srcDE.Key] = srcDE.Value;
System\Data\UniqueConstraint.cs (2)
309clone.ExtendedProperties[key] = ExtendedProperties[key]; 334clone.ExtendedProperties[key] = ExtendedProperties[key];
System\Data\XmlDataLoader.cs (6)
343_nodeToRowMap[e] = topRow; 387foundColumns[column] = column; 421foundColumns[c] = c; 462foundColumns[c] = c; 526_nodeToRowMap[e] = r; 1088table.RowDiffId[diffId] = row;
System\Data\XMLDiffLoader.cs (2)
120tableBefore.RowDiffId[diffId] = row; 174tableBefore.RowDiffId[diffId] = row;
System\Data\xmlsaver.cs (21)
436_autogenerated[col] = col; 445_autogenerated[fk] = fk; 449_autogenerated[fk.Columns[0]] = null; 451_autogenerated[fk.RelatedColumnsReference[0]] = null; 459_autogenerated[_constraint] = null; 461_autogenerated[_constraint.Key.ColumnsReference[0]] = null; 468_autogenerated[unique] = unique; 472_autogenerated[unique.Key.ColumnsReference[0]] = null; 613_namespaces[_ds.Namespace] = rootSchema; 617_namespaces[_dt.Namespace] = rootSchema; 625_namespaces[_ds.Namespace] = rootSchema; 627_prefixes[_ds.Namespace] = null; 632_prefixes[_ds.Namespace] = "mstns"; 972_namespaces[_ds.Namespace] = rootSchema; 975_prefixes[_ds.Namespace] = null; 981_prefixes[_ds.Namespace] = "mstns"; 986_namespaces[dt.Namespace] = rootSchema; 989_prefixes[dt.Namespace] = null; 995_prefixes[dt.Namespace] = "mstns"; 1236_namespaces[NamespaceURI] = schemaEl; 2332_rowsOrder[rc[j]] = j;
System\Data\XMLSchema.cs (3)
222_udSimpleTypes[type.QualifiedName.ToString()] = xmlSimpleType; 370_expressions[dc] = attrs[i].Value; 696_existingSimpleTypeMap[dc.SimpleType.SimpleTypeQualifiedName!] = dc;
System\Data\XmlToDatasetMap.cs (7)
163_tableSchemaMap[new XmlNodeIdentety(tableLocalName, tableNamespace)] = tableSchemaInfo; 200_tableSchemaMap[new XmlNodeIdentety(tableLocalName, tableNamespace)] = tableSchemaInfo; 217columns[idColumn] = col; 251columns[idColumn] = col; // And add it to hashtable 336tableSchemaInfo.ColumnsSchemaMap[idTable] = r.ChildTable; 409tableSchemaInfo.ColumnsSchemaMap[idTable] = r.ChildTable; 526columns[idColumn] = col;
System\Xml\DataSetMappper.cs (3)
353_tableSchemaMap[idTable] = table; 365_columnSchemaMap[idTable] = columns; 367columns[idColumn] = col;
System\Xml\XmlDataDocument.cs (4)
76_pointers[pointer] = pointer; 2470foundColumns[column] = column; 2506foundColumns[c] = c; 2531foundColumns[c] = c;
System.Data.OleDb (4)
DbConnectionOptions.cs (1)
920parsetable[realkeyname] = keyvalue; // last key-value pair wins (or first)
OleDbDataReader.cs (2)
1995baseColumnNames[basecolumname] = i; 2006baseColumnNames[basecolumname] = i;
System\Data\Common\FieldNameLookup.cs (1)
127hash[fieldName] = i;
System.Diagnostics.EventLog (3)
System\Diagnostics\EventLogInternal.cs (3)
431listenerInfos[compLogName] = info; 677MessageLibraries[dllName] = hModule; 1163listenerInfos[compLogName] = null;
System.Diagnostics.PerformanceCounter (9)
System\Diagnostics\PerformanceCounterLib.cs (8)
190tempCategoryTable[categoryName] = newCategoryEntry; 697table[category] = categoryType; 727table[category] = categoryType; 996PerformanceCounterLib.s_libraryTable[libraryKey] = library; 1104stringTable[key] = nameString; 1463_counterTable[samples[index]._nameIndex] = samples[index]; 1478_instanceNameTable[PerformanceCounterLib.SingleInstanceName] = 0; 1510_instanceNameTable[newInstanceName] = i;
System\Diagnostics\SharedPerformanceCounter.cs (1)
706s_categoryDataTable[_categoryName] = data;
System.DirectoryServices (1)
System\DirectoryServices\Design\DirectoryEntryConverter.cs (1)
40s_componentsCreated[text] = newEntry;
System.DirectoryServices.AccountManagement (50)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (4)
87mappingTable[qbeType] = entry; 158mappingTableByProperty[propertyName] ??= new ArrayList(); 163mappingTableByPropertyFull[propertyName] ??= new ArrayList(); 174mappingTableByLDAP[ldapAttributeLower] ??= new ArrayList();
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (3)
153_table[contextName] = credHolder; 160credTable[userName] = new Placeholder(); 183credTable[userName] = new WeakReference(ctx);
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
42_contexts[flatUserAuthority] = userStoreCtx.OwningContext;
System\DirectoryServices\AccountManagement\QbeFilterDescription.cs (39)
40s_subclasses[DescriptionFilter.PropertyNameStatic] = typeof(DescriptionFilter); 41s_subclasses[DisplayNameFilter.PropertyNameStatic] = typeof(DisplayNameFilter); 42s_subclasses[IdentityClaimFilter.PropertyNameStatic] = typeof(IdentityClaimFilter); 43s_subclasses[SamAccountNameFilter.PropertyNameStatic] = typeof(SamAccountNameFilter); 44s_subclasses[DistinguishedNameFilter.PropertyNameStatic] = typeof(DistinguishedNameFilter); 45s_subclasses[GuidFilter.PropertyNameStatic] = typeof(GuidFilter); 46s_subclasses[UserPrincipalNameFilter.PropertyNameStatic] = typeof(UserPrincipalNameFilter); 47s_subclasses[StructuralObjectClassFilter.PropertyNameStatic] = typeof(StructuralObjectClassFilter); 48s_subclasses[NameFilter.PropertyNameStatic] = typeof(NameFilter); 49s_subclasses[CertificateFilter.PropertyNameStatic] = typeof(CertificateFilter); 50s_subclasses[AuthPrincEnabledFilter.PropertyNameStatic] = typeof(AuthPrincEnabledFilter); 51s_subclasses[PermittedWorkstationFilter.PropertyNameStatic] = typeof(PermittedWorkstationFilter); 52s_subclasses[PermittedLogonTimesFilter.PropertyNameStatic] = typeof(PermittedLogonTimesFilter); 53s_subclasses[ExpirationDateFilter.PropertyNameStatic] = typeof(ExpirationDateFilter); 54s_subclasses[SmartcardLogonRequiredFilter.PropertyNameStatic] = typeof(SmartcardLogonRequiredFilter); 55s_subclasses[DelegationPermittedFilter.PropertyNameStatic] = typeof(DelegationPermittedFilter); 56s_subclasses[HomeDirectoryFilter.PropertyNameStatic] = typeof(HomeDirectoryFilter); 57s_subclasses[HomeDriveFilter.PropertyNameStatic] = typeof(HomeDriveFilter); 58s_subclasses[ScriptPathFilter.PropertyNameStatic] = typeof(ScriptPathFilter); 59s_subclasses[PasswordNotRequiredFilter.PropertyNameStatic] = typeof(PasswordNotRequiredFilter); 60s_subclasses[PasswordNeverExpiresFilter.PropertyNameStatic] = typeof(PasswordNeverExpiresFilter); 61s_subclasses[CannotChangePasswordFilter.PropertyNameStatic] = typeof(CannotChangePasswordFilter); 62s_subclasses[AllowReversiblePasswordEncryptionFilter.PropertyNameStatic] = typeof(AllowReversiblePasswordEncryptionFilter); 63s_subclasses[GivenNameFilter.PropertyNameStatic] = typeof(GivenNameFilter); 64s_subclasses[MiddleNameFilter.PropertyNameStatic] = typeof(MiddleNameFilter); 65s_subclasses[SurnameFilter.PropertyNameStatic] = typeof(SurnameFilter); 66s_subclasses[EmailAddressFilter.PropertyNameStatic] = typeof(EmailAddressFilter); 67s_subclasses[VoiceTelephoneNumberFilter.PropertyNameStatic] = typeof(VoiceTelephoneNumberFilter); 68s_subclasses[EmployeeIDFilter.PropertyNameStatic] = typeof(EmployeeIDFilter); 69s_subclasses[GroupIsSecurityGroupFilter.PropertyNameStatic] = typeof(GroupIsSecurityGroupFilter); 70s_subclasses[GroupScopeFilter.PropertyNameStatic] = typeof(GroupScopeFilter); 71s_subclasses[ServicePrincipalNameFilter.PropertyNameStatic] = typeof(ServicePrincipalNameFilter); 72s_subclasses[ExtensionCacheFilter.PropertyNameStatic] = typeof(ExtensionCacheFilter); 73s_subclasses[BadPasswordAttemptFilter.PropertyNameStatic] = typeof(BadPasswordAttemptFilter); 74s_subclasses[ExpiredAccountFilter.PropertyNameStatic] = typeof(ExpiredAccountFilter); 75s_subclasses[LastLogonTimeFilter.PropertyNameStatic] = typeof(LastLogonTimeFilter); 76s_subclasses[LockoutTimeFilter.PropertyNameStatic] = typeof(LockoutTimeFilter); 77s_subclasses[PasswordSetTimeFilter.PropertyNameStatic] = typeof(PasswordSetTimeFilter); 78s_subclasses[BadLogonCountFilter.PropertyNameStatic] = typeof(BadLogonCountFilter);
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (1)
240filterPropertiesTable[qbeType] = entry;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
134propertyMappingTableByProperty[propertyName] ??= new ArrayList(); 149propertyMappingTableByWinNT[winNTAttributeLower] ??= new ArrayList();
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
161_uriPrefixes[uriPrefix] = registeredPrefix;
System.Net.Primitives (1)
System\Net\CookieContainer.cs (1)
247m_domainTable[cookie.DomainKey] = (pathList = new PathList());
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
130s_queuesCache[key] = weakQueue;
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
461ht[keyv] = lbuckets[bucket].val; 1279_table[key] = value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
22type._hashtable[Field] = m;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
638SurrogateData[key] = surrogateData;
System.Private.Uri (2)
System\UriSyntax.cs (2)
180s_table[syntax.SchemeName] = syntax; 206s_tempTable[lwrCaseScheme] = syntax;
System.Private.Windows.Core (2)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
480temp[primitiveKey.Value] = null; // null values are allowed 484temp[primitiveKey.Value] = primitiveValue.Value;
System.Private.Xml (58)
System\Xml\Schema\NamespaceList.cs (3)
49_set[string.Empty] = string.Empty; 53_set[targetNamespace] = targetNamespace; 58_set[splitString[i]] = splitString[i];
System\Xml\Serialization\Compilation.cs (3)
307scopeTable[mapping.Scope!] = mapping; 326assemblies[name] = a; 422serializers[xmlMappings[i].Key!] = readerCodeGen.GenerateTypedSerializer(readMethodNames[i], writeMethodNames[i], xmlMappings[i], classes, baseSerializer, readerClass, writerClass);
System\Xml\Serialization\Compiler.cs (1)
32types[type] = type;
System\Xml\Serialization\ContextAwareTables.cs (1)
45_defaultTable[t] = ret;
System\Xml\Serialization\ImportContext.cs (5)
72ObjectCache[key] = list; 103Hash[o1] ??= GetHash(o1); 118refs[o] = o; 175looks[o] = hashString; 177Hash[o] = code;
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
661delegateCacheForType[memberName] = result;
System\Xml\Serialization\XmlReflectionImporter.cs (6)
694_anonymous[type] = mapping; 752_anonymous[model.Type] = mapping; 922ids[member.SequenceId] = member; 1134_anonymous[model.Type] = mapping; 1141_anonymous[model.Type] = mapping; 1219_anonymous[model.Type] = mapping;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
966_references[mapping] = mapping; 1020_references[mapping] = null;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1320ImportedMappings[type] = arrayMapping;
System\Xml\Serialization\XmlSchemas.cs (1)
115References[schema] = schema;
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
190uniqueTypes[type] = type;
System\Xml\Serialization\XmlSerializationReader.cs (5)
1523_referencedTargets[o] = o; 1896_types[typeName] = type; 1897_typesReverse[type] = typeName; 2325GeneratedMethods[mapping] = mapping; 3107cases[c.XmlName] = c.XmlName;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
2340GeneratedMethods[mapping] = mapping;
System\Xml\Xsl\IlGen\XmlILModule.cs (2)
178_methods[name] = methResult; 250methodsBaked[methName] = typBaked.GetMethod(methName, BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
55_qnames[ruleInternal] = ruleInternal;
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
114_withParams[name] = value;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
379_globalNamespaceAliasTable[StylesheetURI] = AliasInfo;
System\Xml\Xsl\XsltOld\InputScope.cs (3)
63_extensionNamespaces[nspace] = null; 78_excludedNamespaces[nspace] = null; 95_variables[variable.Name!] = variable;
System\Xml\Xsl\XsltOld\Processor.cs (1)
195_documentCache[ruri] = result!.Clone();
System\Xml\Xsl\XsltOld\RootAction.cs (4)
145_attributeSetTable[srcAttSet.Name!] = dstAttSet; 188markTable[qname] = (object)PROCESSING; 190markTable[qname] = (object)DONE; 236_decimalFormatTable[name] = formatinfo;
System\Xml\Xsl\XsltOld\Stylesheet.cs (4)
84_queryKeyTable[query] = elem; 155_attributeSetTable[attributeSet.Name] = attributeSet; 178_templateNameTable[template.Name] = template; 198_modeManagers[mode] = manager;
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (9)
577ft["current"] = new FuncCurrent(); 578ft["unparsed-entity-uri"] = new FuncUnEntityUri(); 579ft["generate-id"] = new FuncGenerateId(); 580ft["system-property"] = new FuncSystemProp(); 581ft["element-available"] = new FuncElementAvailable(); 582ft["function-available"] = new FuncFunctionAvailable(); 583ft["document"] = new FuncDocument(); 584ft["key"] = new FuncKey(); 585ft["format-number"] = new FuncFormatNumber();
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
207_cdataElements[qname] = qname;
System.Runtime.Caching (4)
System\Runtime\Caching\FileChangeNotificationSystem.cs (1)
120_dirMonitors[dir] = dirMon;
System\Runtime\Caching\HostFileChangeMonitor.cs (1)
66fcnState[path] = state;
System\Runtime\Caching\MemoryCacheStore.cs (2)
194_entries[key] = entry; 343_entries[key] = entry;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
201s_connectionPoolRegistries[GetType()] = new ConnectionPoolRegistry();
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\TimeBoundedCache.cs (3)
113_entries[key] = item; 121_entries[key] = item; 159_entries[key] = new ExpirableItem(item, expirationTime);
System.Speech (2)
Internal\AlphabetConverter.cs (2)
323prefixTable[key] = null; 329prefixTable[from] = _convertTable[i];
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexParser.cs (3)
129sparseMapping[captureNumberList[i]] = i; 2030_capnames[name] = _autocap; 2089_capnames[str] = j;
System.Text.RegularExpressions.Generator (3)
parent\src\System\Text\RegularExpressions\RegexParser.cs (3)
129sparseMapping[captureNumberList[i]] = i; 2030_capnames[name] = _autocap; 2089_capnames[str] = j;
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (1)
575promotedTransactionTable[dtx.Identifier] = weakRef;
System\Transactions\TransactionState.cs (2)
2228promotedTransactionTable[distributedTx.Identifier] = weakRef; 3323promotedTransactionTable[tx.PromotedTransaction.Identifier] = weakRef;
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (1)
100_bag[name] = value;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (1)
76_bag[pszPropName.ToString()] = pVar->ToObject();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (2)
62values[properties[i].Name] = value; 66values[properties[i].Name] = properties[i].GetValue(owner);
System.Windows.Forms.Design (11)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalResourceManager.cs (3)
28public void AddResource(string name, object? value) { Data[name] = value; } 29public void AddResource(string name, string? value) { Data[name] = value; } 30public void AddResource(string name, byte[]? value) { Data[name] = value; }
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
2485table[value] = expression; 2506table[value] = value;
System\Drawing\Design\ToolboxItem.cs (1)
831base[propertyName] = value;
System\Windows\Forms\Design\ContextMenuStripGroupCollection.cs (1)
20InnerHashtable[key] = new ContextMenuStripGroup();
System\Windows\Forms\Design\OleDragDropHandler.cs (4)
181defaultValues["Parent"] = parent; 191defaultValues["Location"] = new Point(x, y); 193defaultValues["Size"] = new Size(width, height); 196defaultValues["ToolboxSnapDragDropEventArgs"] = e;
System.Xaml (3)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
383_loadedAssembliesHash[assemblyNameLookup] = null; 472_loadedAssembliesHash[assemblyShortName] = retassem;
System\Windows\Markup\ValueSerializer.cs (1)
151s_valueSerializers[type] = result ?? s_valueSerializersLock;
UIAutomationClientSideProviders (7)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (3)
91_hwndTable[hwnd] = eventTable; 97eventTable[key] = eventTable.ContainsKey(key) ? (int)eventTable[key] + 1 : 1; 128eventTable[key] = refcount;
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
33_groupManagers[hwnd] = GroupManager.CreateGroupManager(hwnd);
MS\Internal\AutomationProxies\WindowsMenu.cs (3)
67_expandedMenus[IntPtr.Zero] = new MenuParentInfo(hwnd, item, type); 83_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 97_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType);
UIAutomationTypes (1)
System\Windows\Automation\AutomationIdentifier.cs (1)
172_idTable[id] = autoid;
820 references to
dotnet-svcutil-lib (223)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeDOMProvider.cs (2)
68CompilerInfo compilerInfo = (CompilerInfo)Config._compilerLanguages[language.Trim()]; 78CompilerInfo compilerInfo = (CompilerInfo)Config._compilerExtensions[extension.Trim()];
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (2)
118if (_files[fileName] != null) 249object keep = _files[fileName];
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (1)
168_idAttrName = (XmlQualifiedName)_elemIdMap[new XmlQualifiedName(localName, prefix)];
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (5)
180if (_htElementIDAttrDecl == null || _htElementIDAttrDecl[eleName] == null) 198return (XmlName)(_htElementIDAttrDecl[newName]); 244ArrayList elementList = (ArrayList)(_htElementIdMap[id]); 254ArrayList elementList = (ArrayList)(_htElementIdMap[id]); 871ArrayList elementList = (ArrayList)(_htElementIdMap[elementId]);
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (11)
83object lookup = _names[name]; 132object lookup = _wildcards[wildcard]; 153match.Add(_names[name]); 162match.Add(_wildcards[wildcard]); 180object lookup = _names[name]; 187lookup = _wildcards[name.Namespace]; 202object lookup = _names[name]; 1566Debug.Assert(state == (int)stateTable[statePosSet]); // just make sure that statePosSet is for correct state 1590object lookup = stateTable[newset]; 2266if (_elements[name] != null) 2295object lookup = _elements[name];
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (3)
271XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)]; 280baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)]; 325return (XmlSchemaSimpleType)s_builtinTypes[qname];
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (1)
427return _IDs == null ? null : _IDs[name];
FrameworkFork\Microsoft.Xml\Xml\schema\NamespaceList.cs (2)
115return _set[ns] != null; 386if (_set[tns] != null)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (10)
104if (_schemaLocations[_rootSchema.BaseUri] == null) 296if (includeLocation != null && _schemaLocations[includeLocation] == null) 354if (_schemaLocations[ruri] == null) 433include.Schema = (XmlSchema)_schemaLocations[ruri]; //Set schema object even for duplicates 513if (_referenceNamespaces[ns] == null) 524if (_referenceNamespaces[tns] == null) 691if (_processedExternals[includedSchema] != null) 705if (_processedExternals[includedSchema] != null) 2138if (_referenceNamespaces[value.Namespace] == null) 2172XmlSchema chameleonSchema = (XmlSchema)_chameleonSchemas[cKey]; //Need not clone if a schema for that namespace already exists
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (8)
158if (includeLocation != null && _schemaLocations[includeLocation] == null) 176if (include.Schema.BaseUri != null && _schemaLocations[include.Schema.BaseUri] == null) 191if (_schemaLocations[subUri] != null) 226if (ruri != null && _schemaLocations[ruri] == null) 282if (ns != null && _referenceNamespaces[ns] == null) 288if (schema.TargetNamespace != null && _referenceNamespaces[schema.TargetNamespace] == null) 1731if (_schema.Ids[xso.IdAttribute] != null) 1775if (_referenceNamespaces[value.Namespace] == null)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
239if (presence[attdef.Name] == null)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNamespaceManager.cs (1)
32object uri = namespaces[prefix];
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
53if (_schemasToCompile[schema] != null)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (5)
748if (builder._UndeclaredElements[qname] != null) 925pAttdef = (SchemaAttDef)builder._ElementDef._AttDefList[pName]; 1046if (builder._ElementDef._AttDefList[qname] == null) 1195SchemaElementDecl ed = (SchemaElementDecl)builder._UndeclaredElements[qname]; 1288attdef = (SchemaAttDef)builder._ElementDef._AttDefList[qname];
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
651return _IDs == null ? null : _IDs[name];
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (2)
186ignoreXS = this.Namespaces.Namespaces["xs"] != null || this.Namespaces.Namespaces.ContainsValue(XmlReservedNs.NsXs); 204if (serializerNS["xs"] == null && !serializerNS.ContainsValue(XmlReservedNs.NsXs))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
387if (_collection[ns] != null)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (13)
528if (disallowedNamespaces[importedNS] == null) 586return _targetNamespaces[targetNamespace] != null; 761if (_targetNamespaces[tns] == null) 777if (_targetNamespaces[tns] == null) 949if (validatedNamespaces[targetNamespace] != null) 988if (validatedNamespaces[tns] != null && (FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)) 1007schema = (XmlSchema)_schemaLocations[schemaUri]; 1035schema = (XmlSchema)_chameleonSchemas[cKey]; //Need not clone if a schema for that namespace already exists 1075if (_targetNamespaces[tns] == null) 1091if (_targetNamespaces[tns] == null) 1272if (_schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null)) 1283if (_targetNamespaces[tns] == null) 1445schema = (XmlSchema)_schemaLocations[schemaUri];
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (12)
346if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(schema.BaseUri, tns, oldLocations) == null) 369if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null) 496if (_validatedNamespaces[namespaceUri] == null) 555if (_attPresence[attQName] != null) 733if (_validatedNamespaces[ns] == null) 1023if (_attPresence[attDef.Name] == null) 1589if (_attPresence[s_xsiTypeSO.QualifiedName] == null) 1593if (_attPresence[s_xsiNilSO.QualifiedName] == null) 1597if (_attPresence[s_xsiSLSO.QualifiedName] == null) 1601if (_attPresence[s_xsiNoNsSLSO.QualifiedName] == null) 2038return _IDs == null ? null : _IDs[name]; 2134if (_attPresence[attdef.Name] == null)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
785return _IDs == null ? null : _IDs[name];
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (4)
85if (Names[name] != null) 87List.Remove(Names[name]); 117if (Names[name] != null) 119if (Names[name].GetType() != extension.GetType())
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (1)
175_list.Remove(_identifiers[identifier]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (6)
180string methodName = (string)_readerMethods[mapping.Key]; 214string methodName = (string)_writerMethods[mapping.Key]; 236return _assemblies != null && name != null ? (Assembly)_assemblies[name] : null; 295get { return (TempAssembly)_cache[new TempAssemblyCacheKey(ns, o)]; } 303if (_cache[key] == assembly) return; 307clone.Add(k, _cache[k]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (12)
153ArrayList list = (ArrayList)ObjectCache[key]; 173Warnings.Add("DEBUG:Cached item key:\r\n" + (string)looks[cachedItem] + "\r\nnew item key:\r\n" + (string)looks[item]); 187if (Hash[o1] == null) 189int hash1 = (int)Hash[o1]; 201if (refs[o] == null) 205ArrayList list = Graph[o] as ArrayList; 223object cachedHash = Hash[list[i]]; 245object hash = Hash[o]; 319if (_scope[item] != null) 320return (ArrayList)_scope[item]; 332if (item == null || _scope[item] != null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
40TypeModel model = (TypeModel)_models[type]; 74TypeModel model = (TypeModel)_arrayModels[type];
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (3)
58return _table[new NameKey(qname.Name, qname.Namespace)]; 69return _table[new NameKey(name, ns)]; 80return _table[new NameKey(name, ns)];
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeOverrides.cs (4)
37Hashtable members = (Hashtable)_types[type]; 43else if (members[member] != null) 70Hashtable members = (Hashtable)_types[type]; 72return (SoapAttributes)members[member];
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (1)
90if (ExportedMappings[mapping] == null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (4)
231XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 320XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 351XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 408XmlSchemaSimpleType dataType = (XmlSchemaSimpleType)_types[mapping];
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (3)
253TypeMapping mapping = (TypeMapping)ImportedMappings[type]; 317Mapping previousMapping = (Mapping)ImportedMappings[type]; 619TypeMapping mapping = (TypeMapping)ImportedMappings[dataType];
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (7)
658if (s_primitiveTypes[type] == null) 676if (s_primitiveTypes[type] == null) 707return (TypeDesc)s_primitiveDataTypes[dataType]; 731TypeDesc typeDesc = (TypeDesc)s_primitiveTypes[type]; 734typeDesc = (TypeDesc)_typeDescs[type]; 749TypeDesc typeDesc = (TypeDesc)_arrayTypeDescs[type]; 1425string wsdlNs = (string)parent.Namespaces.Namespaces[ns];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlAttributeOverrides.cs (4)
37Hashtable members = (Hashtable)_types[type]; 43else if (members[member] != null) 70Hashtable members = (Hashtable)_types[type]; 72return (XmlAttributes)members[member];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
132if (ExportedMappings[mapping] == null) 175codeClass = (CodeTypeDeclaration)ExportedClasses[mapping];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCustomFormatter.cs (1)
393object id = vals[parts[i]];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (4)
505SpecialMapping mapping = (SpecialMapping)_specials[type]; 658existingMapping = (TypeMapping)_anonymous[type]; 716mapping = type == null ? null : (TypeMapping)_anonymous[type]; 910if (ids[member.SequenceId] != null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (8)
264XmlSchemaElement element = (XmlSchemaElement)_elements[accessor]; 639XmlSchemaComplexType type = (XmlSchemaComplexType)_types[currentMapping]; 788if (_attributes[accessor] == null) 855XmlSchemaElement element = (XmlSchemaElement)_elements[accessor]; 1011if (_references[mapping] != null) 1015XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 1049model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.BaseMapping]); 1187XmlSchemaSimpleType dataType = (XmlSchemaSimpleType)_types[mapping];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (7)
301ElementAccessor accessor = (ElementAccessor)ImportedElements[element]; 304ElementAccessor existing = (ElementAccessor)ImportedElements[element]; 532TypeMapping mapping = (TypeMapping)ImportedMappings[type]; 632Mapping previousMapping = (Mapping)ImportedMappings[type]; 888object val = uniqueTypeDescs[tdFullName]; 1368Mapping previousMapping = (Mapping)ImportedMappings[type]; 1829TypeMapping mapping = (TypeMapping)ImportedMappings[dataType];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (2)
125if (delayedSchemas[schema] == null) 432if (MergedSchemas[schema] != null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (3)
90if (_generatedMethods[mapping] == null) 96return (string)_methodNames[mapping]; 196if (uniqueTypes[type] != null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (5)
123if (_generatedMethods[mapping] == null) 128return (string)_methodNames[mapping]; 243if (uniqueTypes[type] != null) 420ConstructorInfo ctor = CreatedTypes[(string)serializers[key]].GetConstructor(CodeGenerator.EmptyTypeArray); 459ConstructorInfo ctor = CreatedTypes[(string)serializers[xmlMappings[i].Key]].GetConstructor(CodeGenerator.EmptyTypeArray);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (5)
1575object target = _targets != null ? _targets[id] : null; 1662Type arrayType = (Type)_types[new XmlQualifiedName(typeName, typeNs)]; 1692elementType = (Type)_types[qname]; 1728XmlQualifiedName newQname = (XmlQualifiedName)_typesReverse[elementType]; 1939XmlSerializationReadCallback callback = (XmlSerializationReadCallback)_callbacks[typeId];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (18)
478string aliasNs = (string)_namespaces.Namespaces[alias]; 511string aliasNs = (string)_namespaces.Namespaces[alias]; 901string id = (string)_references[o]; 1445return (TypeEntry)_typeEntries[t]; 1480string oldNs = _namespaces.Namespaces[prefix] as string; 1616string methodName = (string)MethodNames[typeMapping]; 2130string methodName = (string)MethodNames[mapping]; 2163if (values[c.Value] == null) 2344string methodName = (string)MethodNames[mapping]; 3316string methodName = (string)MethodNames[element.Mapping]; 3720object oIsTypeDynamic = s_tableIsTypeDynamic[type]; 3772if (s_assemblyToNameMap[a] != null) 3777Assembly oldAssembly = s_nameToAssemblyMap[a.FullName] as Assembly; 3797return s_nameToAssemblyMap != null ? (Assembly)s_nameToAssemblyMap[fullName] : null; 3801return s_assemblyToNameMap != null ? (string)s_assemblyToNameMap[a] : null; 3846string typeVariable = (string)_reflectionVariables[typeFullName]; 3978string assemblyVariable = (string)_reflectionVariables[assemblyFullName]; 4088return (string)_reflectionVariables[key];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
614string methodName = (string)MethodNames[mapping]; 645if (values[c.Value] == null) 953string methodName = (string)MethodNames[mapping];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (8)
511TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[_primitiveType]; 562serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].Key]; 579serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].Key]; 591typedMappingTable = s_xmlSerializerTable[type] as Hashtable; 605serializers[i] = typedMappingTable[mappingKey] as XmlSerializer; 626index = (int)pendingKeys[mappingKey]; 627serializers[index] = (XmlSerializer)contract.TypedSerializers[mappingKey.Mapping.Key]; 762TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[type];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerFactory.cs (1)
73return (XmlSerializer)tempAssembly.Contract.TypedSerializers[xmlTypeMapping.Key];
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerNamespaces.cs (2)
102namespaceList.Add(new XmlQualifiedName(key, (string)Namespaces[key])); 128if (!string.IsNullOrEmpty(prefix) && (string)_namespaces[prefix] == ns)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (3)
537ParamInfo pi = (ParamInfo)s_functionTable[name]; 674ParamInfo pi = (ParamInfo)s_functionTable["id"]; 881object axis = s_axesTable[scaner.Name];
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltArgumentList.cs (4)
33return _parameters[new XmlQualifiedName(name, namespaceUri)]; 38return _extensions[namespaceUri]; 62object parameter = _parameters[qname]; 69object extension = _extensions[namespaceUri];
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
288return SurrogateDataTable[key];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
956if (references[schema] == null && !schemas.Contains(schema)) 977if (references[schema] != null) 1025if (schema == null || imports[schema] != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TimeBoundedCache.cs (5)
123IExpirableItem currentItem = _entries[key] as IExpirableItem; 165IExpirableItem currentItem = _entries[key] as IExpirableItem; 233IExpirableItem item = _entries[key] as IExpirableItem; 279IExpirableItem currentItem = _entries[key] as IExpirableItem; 392IExpirableItem item = _entries[key] as IExpirableItem;
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (4)
53if (extensions[extensionType] != null) 66XmlAttributes xmlAttrs = (XmlAttributes)table[extensionPointType]; 88namespaces.Add(prefixes[i], (string)nsDefs[prefixes[i]]); 94XmlAttributes xmlAttrs = (XmlAttributes)table[extensionPointType];
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
1406object aspNetCompilerParametersObject = proj.AspNetConfigurations[configurationName];
Microsoft.Build.Tasks.Core (12)
CommandLineBuilderExtension.cs (4)
44object obj = bag[parameterName]; 65object obj = bag[parameterName]; 99object obj = bag[parameterName]; 116object obj = bag[parameterName];
LC.cs (6)
30get => (ITaskItem[])Bag[nameof(Sources)]; 40get => (ITaskItem)Bag[nameof(OutputLicense)]; 50get => (ITaskItem)Bag[nameof(LicenseTarget)]; 60get => (string)Bag[nameof(OutputDirectory)]; 70get => (ITaskItem[])Bag[nameof(ReferencedAssemblies)]; 85get => (string)Bag[nameof(SdkToolsPath)];
ToolTaskExtension.cs (2)
77object obj = Bag[parameterName]; 87object obj = Bag[parameterName];
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeDesc.cs (3)
75method = Funcs[name] as ComMethodDesc; 96method = Puts[name] as ComMethodDesc; 117method = PutRefs[name] as ComMethodDesc;
PresentationBuildTasks (16)
Microsoft\Build\Tasks\Windows\UidManager.cs (3)
762Int64 maxIndex = (Int64)_sequenceMaxIds[uidSequence]; 794index = (Int64) _sequenceMaxIds[sequence]; 809index = (Int64) _sequenceMaxIds[sequence];
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (2)
1123if (ObjectHashTable[fullName] is not BamlAssemblyInfoRecord record) 1662return ObjectHashTable[key];
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
465targetType = _IDTypes[_setterTargetNameOrConditionSourceName] as Type;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (8)
2405_typeLookupFromXmlHashtable[hashString] as TypeAndSerializer; 2444_typeLookupFromXmlHashtable[hashString] as TypeAndSerializer; 3224namespaceMaps = _namespaceMapHashList[xmlNamespace] as NamespaceMapEntry[]; 3894if (_namespaceMapHashList[XamlReaderHelper.DefaultNamespaceURI] is NamespaceMapEntry[] defaultNsMaps) 3898if (_namespaceMapHashList[XamlReaderHelper.DefinitionNamespaceURI] is NamespaceMapEntry[] definitionNsMaps) 3902if (_namespaceMapHashList[XamlReaderHelper.DefinitionMetroNamespaceURI] is NamespaceMapEntry[] definitionMetroNsMaps) 3993return _dpLookupHashtable[dpName] as PropertyAndType; 4010if (_dpLookupHashtable[dpName] is not PropertyAndType pAndT)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (2)
92if (_assemblyHasCacheInfo[assemblyName] != null) 94hasCacheInfo = (bool)_assemblyHasCacheInfo[assemblyName];
PresentationCore (19)
MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
37return _hashTable[key];
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\Maps.cs (1)
49return _overFlow[dType];
System\Windows\Automation\Peers\AutomationPeer.cs (2)
2161PatternInfo info = (PatternInfo)s_patternInfo[patternId]; 2180GetProperty getProperty = (GetProperty)s_propertyInfo[propertyId];
System\Windows\GlobalEventManager.cs (3)
185object ownerRoutedEventListObj = _ownerTypedRoutedEventList[ownerType]; 229FrugalObjectList<RoutedEvent> ownerRoutedEventList = (FrugalObjectList<RoutedEvent>)_ownerTypedRoutedEventList[ownerType]; 281FrugalObjectList<RoutedEvent> ownerRoutedEventList = (FrugalObjectList<RoutedEvent>)_ownerTypedRoutedEventList[ownerType];
System\Windows\Input\AccessKeyManager.cs (3)
33ArrayList elements = (ArrayList)akm._keyToElements[key]; 65ArrayList elements = (ArrayList)akm._keyToElements[key]; 372possibleElements = CopyAndPurgeDead(_keyToElements[key] as ArrayList);
System\Windows\Input\StagingAreaInputItem.cs (1)
67return _dictionary[key];
System\Windows\Input\TextServicesCompartmentContext.cs (2)
84compartment = _compartmentTable[guid] as TextServicesCompartment; 120compartment = _globalcompartmentTable[guid] as TextServicesCompartment;
System\Windows\Markup\XmlLanguage.cs (2)
121language = (XmlLanguage) _cache[lowercase]; 132language = (XmlLanguage) _cache[lowercase];
System\Windows\Media\Imaging\BitmapDownload.cs (2)
106if (_uriTable[uri] != null) 108entry = (QueueEntry)_uriTable[uri];
System\Windows\Media\Imaging\ImagingCache.cs (1)
117return table[uri];
System\Windows\UIElement.cs (1)
415LayoutEventList.ListItem item = (LayoutEventList.ListItem)(list[d]);
PresentationFramework (62)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (5)
128SubTreeProcessor processor = (SubTreeProcessor)_subtreeProcessors[processorString]; 137return _subtreeProcessors[DataIdProcessor.Id] as SubTreeProcessor; 155return _locatorPartHandlers[locatorPart.PartType] as SubTreeProcessor; 219processor = _selectionProcessors[selectionType] as SelectionProcessor; 241return _locatorPartHandlers[locatorPart.PartType] as SelectionProcessor;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
601ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[_selection]; 623ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[_selection]; 883ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[selection]; 954ComponentsRegister registry = (ComponentsRegister)_documentHandlers[selection];
MS\Internal\Documents\PageCache.cs (1)
970return (bool)_table[page];
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
212object occurrence = propertyOccurrences[_reader.Name];
MS\Internal\Globalization\BamlTreeMap.cs (1)
529return _assemblyNames[(int)_classNameToAssemblyIndex[className]];
MS\Internal\IO\Packaging\XamlFilter.cs (1)
572(ContentDescriptor) _xamlElementContentDescriptorDictionary[elementFullName];
MS\Internal\LayoutDump.cs (2)
269dumpElement = _elementToDumpHandler[t] as DumpCustomUIElement; 318dumpDocumentPage = _documentPageToDumpHandler[t] as DumpCustomDocumentPage;
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (2)
57GridViewCellAutomationPeer peer = (oldChildren == null ? null : (GridViewCellAutomationPeer)oldChildren[ele]); 75if (_dataChildren[ele] == null)
System\Windows\Controls\DefinitionBase.cs (1)
702SharedSizeState sharedState = _registry[sharedSizeGroup] as SharedSizeState;
System\Windows\Controls\Grid.cs (1)
1338object o = store[key];
System\Windows\Controls\RadioButton.cs (3)
74ArrayList elements = (ArrayList)_groupNameToElements[groupName]; 100ArrayList elements = (ArrayList)_groupNameToElements[groupName]; 142ArrayList elements = (ArrayList)_groupNameToElements[groupName];
System\Windows\Controls\TextRangeAdaptor.cs (2)
1668TextAttributeHelper attr = (TextAttributeHelper)_textPatternAttributes[attribute]; 1801return GetAttributeValue((TextAttributeHelper)_textPatternAttributes[attribute]);
System\Windows\Documents\FixedFlowMap.cs (2)
372_cachedEntry = (List<FixedSOMElement>)_mapping[node]; 384entry = (List<FixedSOMElement>)_mapping[fn];
System\Windows\Documents\ImmComposition.cs (1)
72immComposition = (ImmComposition)_list[source];
System\Windows\Documents\RtfToXamlLexer.cs (2)
568RtfControlWordInfo cwi = (RtfControlWordInfo)_rtfControlTable[controlName]; 573cwi = (RtfControlWordInfo)_rtfControlTable[controlName];
System\Windows\Documents\RtfToXamlReader.cs (2)
3648string mappedName = (string)map[entry.Name.ToLower(CultureInfo.InvariantCulture)]; 3772if (_fontMappings[keyname] == null)
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
212attr = (TextServicesDisplayAttribute)_attributes[guidatom];
System\Windows\Documents\XPSS0ValidatingLoader.cs (3)
212if ((int)_uniqueUriRef[uri] != node) 234validResources.Add(uri, validResources[resUri]); 245if (!(bool)validResources[uri])
System\Windows\Input\KeyboardNavigation.cs (2)
2784Hashtable elementTable = _containerHashtable[container] as Hashtable; 2787if (elementTable[elementObject] != null)
System\Windows\Interop\ActiveXHost.cs (1)
124PropertyInvalidator invalidator = (PropertyInvalidator)invalidatorMap[dp];
System\Windows\Markup\BamlMapTable.cs (4)
1123if (ObjectHashTable[fullName] is not BamlAssemblyInfoRecord record) 1662return ObjectHashTable[key]; 1693tc = _converterCache[typeId] as TypeConverter; 1704tc = _converterCache[type] as TypeConverter;
System\Windows\Markup\BamlWriter.cs (1)
1062Assembly assy = _assemblies[assemblyName] as Assembly;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
326object value = _shouldSerializeCache[key];
System\Windows\Markup\XamlTypeMapper.cs (6)
2183NamespaceMapEntry[] namespaces = (namespaceMaps != null && xmlNamespaceObject != null) ? namespaceMaps[xmlNamespaceObject] as NamespaceMapEntry[] : null; 2405_typeLookupFromXmlHashtable[hashString] as TypeAndSerializer; 2444_typeLookupFromXmlHashtable[hashString] as TypeAndSerializer; 3224namespaceMaps = _namespaceMapHashList[xmlNamespace] as NamespaceMapEntry[]; 3993return _dpLookupHashtable[dpName] as PropertyAndType; 4010if (_dpLookupHashtable[dpName] is not PropertyAndType pAndT)
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
187List<NamespaceMapEntry> list = (List<NamespaceMapEntry>)result[key]; 399List<V> list = (List<V>)hashtable[key];
System\Windows\ResourceDictionary.cs (8)
438object oldValue = _baseDictionary[key]; 498object value = _baseDictionary[key]; 535object value = _baseDictionary[key]; 725KeyRecord keyRecord = _baseDictionary[key] as KeyRecord; 780KeyRecord keyRecord = _baseDictionary[key] as KeyRecord; 820return _baseDictionary[key] as KeyRecord; 890RemoveInheritanceContext(_baseDictionary[key]); 1049if (!Object.Equals(_baseDictionary[key], value))
System\Windows\StyleHelper.cs (1)
5394return hashtable[childName];
System\Windows\SystemResources.cs (1)
298resource = _resourceCache[key];
ReachFramework (10)
Packaging\XpsInterleavingPolicy.cs (2)
584FlushItem xOrder = (FlushItem)_orderTable[x.Node.GetType()]; 585FlushItem yOrder = (FlushItem)_orderTable[y.Node.GetType()];
Serialization\Manager\NullPackagingPolicy.cs (2)
367ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId]; 480ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId];
Serialization\Manager\XpsOMPackagingPolicy.cs (2)
442ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId]; 513ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId];
Serialization\Manager\XpsOMSerializationManager.cs (1)
290return (string)_reachSerializationServices.TypesXmlNSMapping[objectType];
Serialization\Manager\XpsPackagingPolicy.cs (2)
843ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId]; 936ResourceStreamCacheItem resourceStreamCacheItem = (ResourceStreamCacheItem)_fontsCache[resourceId];
Serialization\Manager\XpsSerializationManager.cs (1)
261return (String)_reachSerializationServices.TypesXmlNSMapping[objectType];
System.CodeDom (2)
src\runtime\src\libraries\Common\src\System\IO\TempFileCollection.cs (2)
88if (_files[fileName] != null) 173object keep = _files[fileName];
System.Collections.NonGeneric (3)
System\Collections\DictionaryBase.cs (3)
73object? currentValue = InnerHashtable[key]; 81object? temp = InnerHashtable[key]; 140object? temp = InnerHashtable[key];
System.Collections.Specialized (5)
System\Collections\Specialized\HybridDictionary.cs (1)
73return hashtable[key];
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
127return (NameObjectEntry?)_entriesTable[key]; 181if (_entriesTable[name] == null)
System\Collections\Specialized\OrderedDictionary.cs (1)
187return _objectsTable[key];
System\Collections\Specialized\StringDictionary.cs (1)
71return (string?)contents[key.ToLowerInvariant()];
System.ComponentModel.TypeConverter (11)
System\ComponentModel\CollectibleKeyHashtable.cs (1)
27return !key.IsCollectible ? _defaultTable[key] : (_collectibleTable.TryGetValue(key, out object? value) ? value : null);
System\ComponentModel\Design\DesigntimeLicenseContext.cs (2)
62if (_savedLicenseKeys == null || _savedLicenseKeys[type.AssemblyQualifiedName!] == null) 132return (string?)_savedLicenseKeys[type.AssemblyQualifiedName!];
System\ComponentModel\PropertyDescriptorCollection.cs (1)
196object? cached = _cachedFoundProperties[name];
System\ComponentModel\ReflectTypeDescriptionProvider.cs (7)
420object? table = editorTables[editorBaseType]; 429table = editorTables[editorBaseType]; 439table = editorTables[editorBaseType]; 1445hashEntry = table[baseType]; 1509hashEntry = table[s_intrinsicNullableKey]; 1515hashEntry = table[s_intrinsicReferenceKey]; 1522hashEntry ??= table[typeof(object)];
System.Configuration.ConfigurationManager (30)
src\runtime\src\libraries\Common\src\System\IO\TempFileCollection.cs (2)
88if (_files[fileName] != null) 173object keep = _files[fileName];
System\Configuration\BaseConfigurationRecord.cs (6)
726factoryRecord = (FactoryRecord)factoryList[configKey]; 1857FactoryRecord factoryRecord = (FactoryRecord)factoryList[configKey]; 1993FactoryRecord factoryRecord = (FactoryRecord)factoryList[configKey]; 3108if (_sectionRecords != null) sectionRecord = (SectionRecord)_sectionRecords[configKey]; 3173FactoryRecord factoryRecord = (FactoryRecord)_factoryRecords[configKey]; 3657FactoryRecord factoryRecord = (FactoryRecord)factoryList[ReservedSectionProtectedConfiguration];
System\Configuration\ConfigurationElement.cs (2)
711ConfigurationPropertyCollection properties = (ConfigurationPropertyCollection)s_propertyBags[type]; 717properties = (ConfigurationPropertyCollection)s_propertyBags[type];
System\Configuration\ConfigurationElementCollection.cs (2)
357InheritedType tp = (InheritedType)inheritance[entry.GetKey(this)]; 371InheritedType tp = (InheritedType)inheritance[entry.GetKey(this)];
System\Configuration\LocalFileSettingsProvider.cs (7)
79SpecialSettingAttribute attr = setting.Attributes[typeof(SpecialSettingAttribute)] as SpecialSettingAttribute; 355string groupName = (string)context["GroupName"]; 356string key = (string)context["SettingsKey"]; 410SettingsManageabilityAttribute manageAttr = setting.Attributes[typeof(SettingsManageabilityAttribute)] as SettingsManageabilityAttribute; 421bool isUser = setting.Attributes[typeof(UserScopedSettingAttribute)] is UserScopedSettingAttribute; 422bool isApp = setting.Attributes[typeof(ApplicationScopedSettingAttribute)] is ApplicationScopedSettingAttribute; 499if (!(sp.Attributes[typeof(NoSettingsVersionUpgradeAttribute)] is NoSettingsVersionUpgradeAttribute))
System\Configuration\MgmtConfigurationRecord.cs (1)
226if (_sectionGroups != null) configSectionGroup = (ConfigurationSectionGroup)_sectionGroups[configKey];
System\Configuration\Provider\ProviderCollection.cs (1)
18public ProviderBase this[string name] => _hashtable[name] as ProviderBase;
System\Configuration\SectionUpdates.cs (4)
45SectionUpdates sectionUpdatesChild = (SectionUpdates)sectionUpdates._groups[groupPart]; 93Update update = (Update)_sections[configKey]; 131return (SectionUpdates)_groups[group]; 154SectionUpdates sectionUpdates = _groups[groupName] as SectionUpdates;
System\Configuration\SettingsPropertyCollection.cs (2)
40SettingsProperty toRemove = (SettingsProperty)_hashtable[name]; 61return _hashtable[name] as SettingsProperty;
System\Configuration\SettingsPropertyValueCollection.cs (3)
43object pos = _indices[name]; 63_indices[key] = ((int)_indices[key]) - 1; 70object pos = _indices[name];
System.Data.Common (57)
System\Data\DataColumn.cs (1)
1544clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataRelation.cs (1)
742clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataSet.cs (1)
1215ds.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataTable.cs (5)
938row.RowError = (string)rowErrors[rowIndex]!; 942ArrayList list = (ArrayList)colErrors[rowIndex]!; 2365return ((DataTable)visitedMap[sourceTable]!); 2477oldConstraint.ExtendedProperties[key] = clonedConstraint.ExtendedProperties[key]; 2512clone.ExtendedProperties[key] = _extendedProperties[key];
System\Data\DataViewSettingCollection.cs (1)
34DataViewSetting? dataViewSetting = (DataViewSetting?)_list[table];
System\Data\ForeignKeyConstraint.cs (2)
750clone.ExtendedProperties[key] = ExtendedProperties[key]; 790clone.ExtendedProperties[key] = ExtendedProperties[key];
System\Data\Merger.cs (1)
616if (!_preserveChanges || dst[srcDE.Key] == null)
System\Data\SimpleType.cs (1)
249string? prefix = (prefixes != null) ? (string?)prefixes[_baseSimpleType.Namespace] : null;
System\Data\UniqueConstraint.cs (2)
309clone.ExtendedProperties[key] = ExtendedProperties[key]; 334clone.ExtendedProperties[key] = ExtendedProperties[key];
System\Data\XmlDataLoader.cs (4)
215return (DataRow?)_nodeToRowMap[e]; 419if (c.Table == row.Table && c.ColumnMapping != MappingType.Attribute && foundColumns[c] == null) 460if (c.ColumnMapping == MappingType.Attribute && foundColumns[c] == null) 472if (foundColumns[c] == null && XmlToDatasetMap.IsMappedColumn(c))
System\Data\XMLDiffLoader.cs (5)
105row = (DataRow?)tableBefore.RowDiffId[diffId]; 158row = (DataRow?)tableBefore.RowDiffId[diffId]; 195DataRow row = (DataRow)table.RowDiffId[diffId]!; 237DataRow? row = (DataRow?)table.RowDiffId[diffId]; 242row = (DataRow?)((DataTable)dt[i]!).RowDiffId[diffId];
System\Data\xmlsaver.cs (21)
448if (_autogenerated[fk.Columns[0]] != null) 450if (_autogenerated[fk.RelatedColumnsReference[0]] != null) 458if (_autogenerated[_constraint] != null) 460if (_autogenerated[_constraint.Key.ColumnsReference[0]] != null) 471if (_autogenerated[unique.Key.ColumnsReference[0]] != null) 742node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 753node.SetAttribute(Keywords.REF, ((string)_prefixes[top[i].Namespace]!) + ':' + top[i].EncodedTableName); 822_import.SetAttribute(Keywords.XSD_SCHEMALOCATION, _fileName + "_" + _prefixes[ns] + ".xsd"); 858xw = new XmlTextWriter(_filePath + _fileName + "_" + _prefixes[ns] + ".xsd", null); 872XmlElement tNode = (XmlElement)_namespaces[ns]!; 881string? prefix = (string?)_prefixes[imp_ns]; 1277string? prefix = (string?)_prefixes[nSpace]; 1517root.SetAttribute(Keywords.REF, _prefixes[col.Namespace] + ":" + col.EncodedColumnName); 1721return _autogenerated[o] != null; 1861root.SetAttribute(Keywords.TYPE, NewDiffgramGen.QualifiedName((string)_prefixes[table.TypeName.Namespace]!, table.TypeName.Name)); 1963NestedTable.SetAttribute(Keywords.REF, ((string)_prefixes[childTable.Namespace]!) + ':' + childTable.EncodedTableName); 1993xpathprefix = table.Namespace.Length != 0 ? (string)_prefixes[table.Namespace]! + ':' : string.Empty; 2046encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2114encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2198encodedName.Append(_prefixes[fields[k].Namespace]).Append(':'); 2533_xmlw.WriteAttributeString(Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, _rowsOrder[row]!.ToString());
System\Data\XMLSchema.cs (1)
1870XmlSchemaSimpleType? simpleType = (XmlSchemaSimpleType?)_udSimpleTypes[dt];
System\Data\XmlToDatasetMap.cs (4)
53return this[_id]; 63return this[_id]; 73return this[_id]; 83return this[_id];
System\Xml\DataSetMappper.cs (4)
67return (DataTable)(_tableSchemaMap[tid]!); 158Hashtable? columns = (Hashtable?)_columnSchemaMap[tid]; 161DataColumn? col = (DataColumn?)(columns[cid]); 361Hashtable? columns = (Hashtable?)_columnSchemaMap[idTable];
System\Xml\XmlDataDocument.cs (3)
2504if (foundColumns[c] == null) 2529if (foundColumns[c] == null) 2540if (foundColumns[c] == null && !IsNotMapped(c))
System.Data.OleDb (8)
DbConnectionOptions.cs (6)
179get { return (string?)_parsetable[keyword]; } 257object? value = _parsetable[keyName]; 287object? value = _parsetable[keyName]; 313return (string?)_parsetable[keyName] ?? defaultValue; 490string? realkeyname = ((null != synonyms) ? (string)synonyms[keyname]! : keyname); 913string? realkeyname = ((null != synonyms) ? (string)synonyms[keyname]! : keyname);
OleDbDataReader.cs (2)
1896object? index = hash[name]; 1904index = hash[tmp]; // match via lowercase
System.Diagnostics.EventLog (3)
System\Diagnostics\EventLogInternal.cs (3)
412LogListeningInfo? info = (LogListeningInfo?)listenerInfos[compLogName]; 672hModule = MessageLibraries[dllName] as SafeLibraryHandle; 1151LogListeningInfo? info = (LogListeningInfo?)listenerInfos[compLogName];
System.Diagnostics.PerformanceCounter (22)
System\Diagnostics\PerformanceCounterLib.cs (20)
188string categoryName = (string)NameTable[newCategoryEntry.NameIndex]; 399CategoryEntry entry = (CategoryEntry)CategoryTable[category]; 403string counterName = (string)NameTable[counterIndex] ?? string.Empty; 666categoryType = (PerformanceCounterCategoryType)table[category]; 803CategoryEntry entry = (CategoryEntry)CategoryTable[category]; 807return (string)HelpTable[entry.HelpIndex]; 834CategoryEntry entry = (CategoryEntry)CategoryTable[category]; 874CategoryEntry entry = (CategoryEntry)CategoryTable[category]; 885string counterName = (string)NameTable[counterIndex]; 939CategoryEntry entry = (CategoryEntry)CategoryTable[category]; 949string counterName = (string)NameTable[counterIndex] ?? string.Empty; 961string help = (string)HelpTable[helpIndex]; 991return (PerformanceCounterLib)PerformanceCounterLib.s_libraryTable[libraryKey]; 1614string counterName = (string)_library.NameTable[counterIndex]; 1619CounterDefinitionSample sample = (CounterDefinitionSample)_counterTable[counterIndex]; 1650string name = (string)_library.NameTable[counterIndex]; 1653CounterDefinitionSample sample = (CounterDefinitionSample)_counterTable[counterIndex]; 1740int index = (int)_categorySample._instanceNameTable[instanceName]; 1746int baseIndex = (int)baseCategorySample._instanceNameTable[instanceName]; 1777int baseIndex = (int)baseCategorySample._instanceNameTable[keys[index]];
System\Diagnostics\SharedPerformanceCounter.cs (2)
620CategoryData data = (CategoryData)s_categoryDataTable[_categoryName]; 626data = (CategoryData)s_categoryDataTable[_categoryName];
System.DirectoryServices (29)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryReplicationMetaData.cs (1)
29return (AttributeMetadata)InnerHashtable[tempName]!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
1060ArrayList values = (ArrayList)_propertyValuesFromServer[propertyName.ToLowerInvariant()]!; 1085ArrayList values = (ArrayList)_propertyValuesFromServer[propertyName.ToLowerInvariant()]!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (2)
951string hostName = (string)hostNameTable[serverObjectName]!; 1029string val = (string)nonBridgHeadTable[serverObject]!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (1)
705ArrayList? siteLists = (ArrayList?)values[propertyName.ToLowerInvariant()];
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (1)
361ArrayList siteLinkLists = (ArrayList)values[propertyName.ToLowerInvariant()]!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (2)
216((DirectoryEntry)changeList[dn]!).Properties["siteObject"].Value = _siteDN; 243((DirectoryEntry)changeList[dn]!).Properties["siteObject"].Clear();
System\DirectoryServices\ActiveDirectory\AttributeMetaData.cs (1)
76_originatingServerName = (string)_nameTable[LastOriginatingInvocationId]!;
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (2)
125return (DirectoryEntry)_directoryEntries[dn]!; 146DirectoryEntry? tmp = (DirectoryEntry?)_directoryEntries[dn];
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (1)
248ArrayList readOnlyPartitions = (ArrayList)values[PropertyManager.HasPartialReplicaNCs.ToLowerInvariant()]!;
System\DirectoryServices\ActiveDirectory\DirectoryServerCollection.cs (2)
302((DirectoryEntry)changeList[name]!).Properties["bridgeheadTransportList"].Value = this.transportDN; 348((DirectoryEntry)changeList[name]!).Properties["bridgeheadTransportList"].Clear();
System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs (1)
154record.Time = (LARGE_INTEGER)_excludedNameTime[i]!;
System\DirectoryServices\ActiveDirectory\ReplicationFailure.cs (1)
42_sourceServer = (string)_nameTable[SourceServerGuid]!;
System\DirectoryServices\ActiveDirectory\ReplicationNeighbor.cs (1)
87_sourceServer = (string?)_nameTable[SourceInvocationId];
System\DirectoryServices\ActiveDirectory\ReplicationOperation.cs (1)
66_sourceServer = (string)_nameTable[SourceServerGuid]!;
System\DirectoryServices\ActiveDirectory\Utils.cs (7)
1175ArrayList values = (ArrayList)results[propertyName]!; 1185string propertyToLoad = (string)propertyNamesWithRangeInfo[propertyName]!; 1309ArrayList replicaLocations = (ArrayList)values[PropertyManager.MsDSNCReplicaLocations.ToLowerInvariant()]!; 1310ArrayList roReplicaLocations = (ArrayList)values[PropertyManager.MsDSNCROReplicaLocations.ToLowerInvariant()]!; 1730string? hostName = (string?)serverNames[ntdsaName]; 1747if (serverPorts[ntdsaName] == null) 1756dnsNames.Add(hostName + ":" + (int)serverPorts[ntdsaName]!);
System\DirectoryServices\Design\DirectoryEntryConverter.cs (1)
71DirectoryEntry existingComponent = (DirectoryEntry)s_componentsCreated[path]!;
System\DirectoryServices\PropertyCollection.cs (1)
37return (PropertyValueCollection)valueTable[name]!;
System\DirectoryServices\ResultPropertyCollection.cs (1)
28return (ResultPropertyValueCollection)InnerHashtable[objectName]!;
System.DirectoryServices.AccountManagement (24)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (4)
184Hashtable mappingTableByProp = (Hashtable)s_propertyMappingTableByProperty[this.MappingTableIndex]; 372Hashtable propertyMappingTable = (Hashtable)s_propertyMappingTableByPropertyFull[this.MappingTableIndex]; 374ArrayList entries = (ArrayList)propertyMappingTable[principalPropertyName]; 411Hashtable ldapMappingTable = (Hashtable)s_propertyMappingTableByLDAP[this.MappingTableIndex];
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_Query.cs (2)
152Hashtable filterTable = (Hashtable)s_filterPropertiesTable[this.MappingTableIndex]; 156FilterPropertyTableEntry entry = (FilterPropertyTableEntry)filterTable[filter.GetType()];
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (5)
81Debug.Assert(mappingTable[qbeType] == null); 160((ArrayList)mappingTableByProperty[propertyName]).Add(propertyEntry); 165((ArrayList)mappingTableByPropertyFull[propertyName]).Add(propertyEntry); 176((ArrayList)mappingTableByLDAP[ldapAttributeLower]).Add(propertyEntry); 2571return ((Hashtable)s_propertyMappingTableByProperty[this.MappingTableIndex]).Contains(propertyName);
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (3)
97CredHolder credHolder = (CredHolder)_table[contextName]; 106object o = credTable[userName]; 180Placeholder placeHolder = (Placeholder)credTable[userName];
System\DirectoryServices\AccountManagement\Context.cs (2)
196current = (LdapConnection)_connCache[index]; 202current = (LdapConnection)_connCache[index];
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (1)
312ArrayList referentialProperties = (ArrayList)ReferentialProperties.Properties[t];
System\DirectoryServices\AccountManagement\QbeFilterDescription.cs (1)
87Type type = (Type)s_subclasses[propertyName];
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (2)
234Debug.Assert(filterPropertiesTable[qbeType] == null); 261FilterPropertyTableEntry entry = (FilterPropertyTableEntry)s_filterPropertiesTable[filter.GetType()];
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (2)
248ArrayList entries = (ArrayList)propertyMappingTableByProperty[principalPropertyName]; 309ArrayList entries = (ArrayList)propertyMappingTableByWinNT[samAttribute.ToLowerInvariant()];
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
136((ArrayList)propertyMappingTableByProperty[propertyName]).Add(propertyEntry); 151((ArrayList)propertyMappingTableByWinNT[winNTAttributeLower]).Add(propertyEntry);
System.DirectoryServices.Protocols (7)
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (1)
258return (DirectoryAttribute)InnerHashtable[objectName];
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (2)
178if (s_handleTable[_ldapHandle.DangerousGetHandle()] != null) 404messageId = (int)(s_asyncResultTable[asyncResult]);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (4)
910WeakReference reference = (WeakReference)(LdapConnection.s_handleTable[ReferralFromConnection]); 975WeakReference reference = (WeakReference)(LdapConnection.s_handleTable[referralFromConnection]); 1000WeakReference reference = (WeakReference)(LdapConnection.s_handleTable[newConnection]); 1051reference = (WeakReference)(LdapConnection.s_handleTable[ConnectionToDereference]);
System.Net.HttpListener (1)
System\Net\HttpListener.cs (1)
232RemovePrefixCore((string)_uriPrefixes[uriPrefix]!);
System.Net.Primitives (3)
System\Net\CookieContainer.cs (3)
244pathList = (PathList?)m_domainTable[cookie.DomainKey]; 359pathList = (PathList)m_domainTable[domain]!; 709pathList = (PathList)m_domainTable[matchingDomainKeys[i]]!;
System.Net.Requests (2)
System\Net\TimerThread.cs (2)
119WeakReference? weakQueue = (WeakReference?)s_queuesCache[key]; 124weakQueue = (WeakReference?)s_queuesCache[key];
System.Net.WebHeaderCollection (1)
System\Net\HeaderInfoTable.cs (1)
150HeaderInfo? tempHeaderInfo = (HeaderInfo?)s_headerHashTable[name];
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1274get => _table[key];
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
17m = (type._hashtable[Field] as FieldInfo)!;
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContract.cs (2)
898object? value = s_namespaces[key]; 907value = s_namespaces[key];
System\Runtime\Serialization\DataContractSet.cs (1)
633return SurrogateData[key];
System\Runtime\Serialization\ExtensionDataReader.cs (4)
233return (string?)s_prefixToNsTable[prefix]; 517handled = (_cache[node] != null); 794string? prefix = (string?)s_nsToPrefixTable[ns]; 799prefix = (string?)s_nsToPrefixTable[ns];
System\Runtime\Serialization\SchemaExporter.cs (1)
576object? otherItem = items[qname];
System.Private.Uri (6)
System\UriSyntax.cs (6)
163UriParser? oldSyntax = (UriParser?)s_table[lwrCaseSchemeName]; 167oldSyntax = (UriParser?)s_tempTable[syntax.SchemeName]; 189UriParser? syntax = (UriParser?)s_table[lwrCaseScheme]; 194syntax = (UriParser?)s_tempTable[lwrCaseScheme]; 212(UriParser?)(s_table[lwrCaseScheme] ?? s_tempTable[lwrCaseScheme]);
System.Private.Xml (173)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
173_idAttrName = (XmlQualifiedName?)_elemIdMap[new XmlQualifiedName(localName, prefix)];
System\Xml\Dom\XmlDocument.cs (4)
255if (_htElementIDAttrDecl == null || _htElementIDAttrDecl[eleName] == null) 321ArrayList elementList = (ArrayList)(_htElementIdMap[id]!); 331ArrayList elementList = (ArrayList)(_htElementIdMap[id]!); 934ArrayList? elementList = (ArrayList?)(_htElementIdMap[elementId]);
System\Xml\Schema\DataTypeImplementation.cs (3)
266XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)]!; 275baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)]!; 320return (XmlSchemaSimpleType?)s_builtinTypes[qname];
System\Xml\Schema\Preprocessor.cs (6)
415include.Schema = (XmlSchema)_schemaLocations[ruri]!; // Set schema object even for duplicates 492if (_referenceNamespaces[ns] == null) 499if (_referenceNamespaces[tns] == null) 666if (_processedExternals[includedSchema] != null) 678if (_processedExternals[includedSchema] != null) 2107if (_referenceNamespaces[value.Namespace] == null)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
274if (ns != null && _referenceNamespaces[ns] == null) 280if (schema.TargetNamespace != null && _referenceNamespaces[schema.TargetNamespace] == null) 1714if (_schema!.Ids[xso.IdAttribute] != null)
System\Xml\Schema\SchemaElementDecl.cs (1)
236if (presence[attdef.Name] == null)
System\Xml\Schema\SchemaSetCompiler.cs (1)
51if (_schemasToCompile[schema] != null)
System\Xml\Schema\XdrBuilder.cs (4)
738if (builder._UndeclaredElements[qname] != null) 916pAttdef = (SchemaAttDef?)builder._ElementDef._AttDefList[pName]; 1184SchemaElementDecl? ed = (SchemaElementDecl?)builder._UndeclaredElements[qname]; 1276attdef = (SchemaAttDef?)builder._ElementDef._AttDefList[qname];
System\Xml\Schema\XmlSchemaCollection.cs (4)
197XmlSchemaCollectionNode? node = (XmlSchemaCollectionNode?)_collection[ns ?? string.Empty]; 211return _collection[ns ?? string.Empty] != null; 272XmlSchemaCollectionNode? node = (XmlSchemaCollectionNode?)_collection[ns ?? string.Empty]; 330if (_collection[ns] != null)
System\Xml\Schema\XmlSchemaSet.cs (13)
405if (disallowedNamespaces[importedNS] == null) 458return _targetNamespaces[targetNamespace] != null; 618if (_targetNamespaces[tns] == null) 634if (_targetNamespaces[tns] == null) 786if (validatedNamespaces[targetNamespace] != null) 821if (validatedNamespaces[tns] != null && (FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)) 841schema = (XmlSchema)_schemaLocations[schemaUri]!; 870schema = (XmlSchema)_chameleonSchemas[cKey]!; //Need not clone if a schema for that namespace already exists 911if (_targetNamespaces[tns] == null) 927if (_targetNamespaces[tns] == null) 1103if (_schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null)) 1114if (_targetNamespaces[tns] == null) 1273schema = (XmlSchema?)_schemaLocations[schemaUri];
System\Xml\Schema\XmlSchemaValidator.cs (9)
334if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(schema.BaseUri, tns, oldLocations) == null) 353if (_validatedNamespaces[tns] != null && _schemaSet.FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null) 516if (_attPresence[attQName] != null) 982if (_attPresence[attDef.Name] == null) 1577if (_attPresence[s_xsiTypeSO!.QualifiedName] == null) 1581if (_attPresence[s_xsiNilSO!.QualifiedName] == null) 1585if (_attPresence[s_xsiSLSO!.QualifiedName] == null) 1589if (_attPresence[s_xsiNoNsSLSO!.QualifiedName] == null) 2104if (_attPresence[attdef.Name] == null)
System\Xml\Serialization\CodeIdentifiers.cs (1)
164_list.Remove(_identifiers[identifier]);
System\Xml\Serialization\Compilation.cs (4)
321if (assemblies[name] != null) 420if (serializers[xmlMappings[i].Key!] == null) 665string? methodName = (string?)_readerMethods[mapping.Key!]; 692string? methodName = (string?)_writerMethods[mapping.Key!];
System\Xml\Serialization\Compiler.cs (1)
30if (types[type] != null)
System\Xml\Serialization\ContextAwareTables.cs (2)
26T? ret = (T?)_defaultTable[t]; 42if ((ret = (T?)_defaultTable[t]) == null)
System\Xml\Serialization\ImportContext.cs (11)
68ArrayList? list = (ArrayList?)ObjectCache[key]; 88Warnings.Add($"DEBUG:Cached item key:\r\n{(string?)looks[cachedItem]}\r\nnew item key:\r\n{(string?)looks[item]}"); 104int hash1 = (int)Hash[o1]!; 116if (refs[o] == null) 120ArrayList? list = Graph[o] as ArrayList; 138object? cachedHash = Hash[list[i]!]; 162object? hash = Hash[o]; 238if (_scope[item] != null) 239return (ArrayList)_scope[item]!; 251if (item == null || _scope[item] != null)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
614var result = delegateCacheForType[memberName]; 619if ((result = delegateCacheForType[memberName]) == null)
System\Xml\Serialization\SoapAttributeOverrides.cs (4)
24Hashtable? members = (Hashtable?)_types[type]; 30else if (members[member] != null) 49Hashtable? members = (Hashtable?)_types[type]; 51return (SoapAttributes?)members[member];
System\Xml\Serialization\Types.cs (6)
670if (s_primitiveTypes[type] == null) 687if (s_primitiveTypes[type] == null) 745return (TypeDesc?)s_primitiveDataTypes[dataType]; 769(TypeDesc?)s_primitiveTypes[type] ?? 770(TypeDesc?)_typeDescs[type] ?? 782TypeDesc? typeDesc = (TypeDesc?)_arrayTypeDescs[type];
System\Xml\Serialization\Xmlcustomformatter.cs (1)
509object? id = vals[parts[i]];
System\Xml\Serialization\XmlReflectionImporter.cs (4)
513SpecialMapping? mapping = (SpecialMapping?)_specials[type]; 657existingMapping = (TypeMapping?)_anonymous[type]; 716mapping = type == null ? null : (TypeMapping?)_anonymous[type]; 918if (ids[member.SequenceId] != null)
System\Xml\Serialization\XmlSchemaExporter.cs (8)
237XmlSchemaElement? element = (XmlSchemaElement?)_elements[accessor]; 596XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[currentMapping]; 744if (_attributes[accessor] == null) 810XmlSchemaElement? element = (XmlSchemaElement?)_elements[accessor]; 964if (_references[mapping] != null) 968XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[mapping]; 1002model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.BaseMapping]!); 1139XmlSchemaSimpleType? dataType = (XmlSchemaSimpleType?)_types[mapping];
System\Xml\Serialization\XmlSchemaImporter.cs (7)
252ElementAccessor? accessor = (ElementAccessor?)ImportedElements[element]; 255ElementAccessor? existing = (ElementAccessor?)ImportedElements[element]; 421TypeMapping? mapping = (TypeMapping?)ImportedMappings[type]; 527Mapping? previousMapping = (Mapping?)ImportedMappings[type]; 788object? val = uniqueTypeDescs[tdFullName]; 1266Mapping? previousMapping = (Mapping?)ImportedMappings[type]; 1727TypeMapping? mapping = (TypeMapping?)ImportedMappings[dataType];
System\Xml\Serialization\XmlSchemas.cs (2)
79if (delayedSchemas[schema] == null) 323if (MergedSchemas[schema] != null)
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (5)
78if (_generatedMethods[mapping] == null) 84return (string?)_methodNames[mapping]; 184if (uniqueTypes[type] != null) 326_writer.Write((string?)serializers[key]); 358_writer.Write((string?)serializers[xmlMappings[i].Key!]);
System\Xml\Serialization\XmlSerializationReader.cs (15)
1597Type? arrayType = (Type?)_types[new XmlQualifiedName(typeName, typeNs)]; 1627elementType = (Type?)_types[qname]; 1663XmlQualifiedName? newQname = (XmlQualifiedName?)_typesReverse[elementType]; 1861XmlSerializationReadCallback? callback = (XmlSerializationReadCallback?)_callbacks[typeId]; 2378string idName = (string)_idNames[id]!; 2464methodName = (string)MethodNames[mapping]!; 2938object? m = Enums[uniqueName]; 2951m = Enums[uniqueName]; 3041string methodName = (string)MethodNames[mapping]!; 3100if (cases[c.XmlName] == null) 3226string methodName = (string)MethodNames[nullableMapping]!; 3280string methodName = (string)MethodNames[structMapping]!; 3487string methodName = (string)MethodNames[structMapping]!; 3626CreateCollectionInfo? create = (CreateCollectionInfo?)_createMethods[typeDesc]; 3728string? idName = (string?)_idNames[name];
System\Xml\Serialization\XmlSerializationWriter.cs (14)
945string? id = (string?)_references[o]; 1459return (TypeEntry?)_typeEntries[t]; 1592if (s_assemblyToNameMap[a] != null) 1597Assembly? oldAssembly = s_nameToAssemblyMap[a.FullName!] as Assembly; 1618return s_nameToAssemblyMap != null ? (Assembly?)s_nameToAssemblyMap[fullName] : null; 1623return s_assemblyToNameMap != null ? (string?)s_assemblyToNameMap[a] : null; 1670string? typeVariable = (string?)_reflectionVariables[typeFullName]; 1804string? assemblyVariable = (string?)_reflectionVariables[assemblyFullName]; 1914return (string?)_reflectionVariables[key]; 2389string methodName = (string)MethodNames[typeMapping]!; 2910string methodName = (string)MethodNames[mapping]!; 2943if (values[c.Value] == null) 3126string? methodName = (string?)MethodNames[mapping]; 4121string methodName = (string)MethodNames[element.Mapping]!;
System\Xml\Serialization\XmlSerializer.cs (5)
551TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[_primitiveType]!; 626serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].Key!]!; 644serializers[i] = contract!.TypedSerializers[mappings[i].Key!] as XmlSerializer; 744serializers[index] = (XmlSerializer)contract.TypedSerializers[mappingKey.Mapping.Key!]!; 860TypeDesc? typeDesc = (TypeDesc?)TypeScope.PrimtiveTypes[type];
System\Xml\Xsl\IlGen\XmlILModule.cs (4)
127while (_methods[name] != null) 203return (MethodInfo?)_methods[name]; 265return ((MethodInfo)_methods[name]!).CreateDelegate(typDelegate); 267return ((DynamicMethod)_methods[name]!).CreateDelegate(typDelegate);
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
97qnameRule = _qnames[_ruleTemp] as InternalWhitespaceRule;
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
130nav = _dataSourceCache[uriResolved] as XPathNavigator;
System\Xml\Xsl\XsltOld\Compiler.cs (2)
376NamespaceInfo? duplicate = _globalNamespaceAliasTable[StylesheetURI] as NamespaceInfo; 396return (NamespaceInfo?)_globalNamespaceAliasTable[StylesheetURI];
System\Xml\Xsl\XsltOld\HtmlProps.cs (2)
48HtmlElementProps? result = (HtmlElementProps?)s_table[name]; 159HtmlAttributeProps? result = (HtmlAttributeProps?)s_table[name];
System\Xml\Xsl\XsltOld\InputScope.cs (1)
113VariableAction? variable = (VariableAction?)inputScope.Variables[qname];
System\Xml\Xsl\XsltOld\Processor.cs (2)
165result = _documentCache[ruri] as XPathNavigator; 259return _scriptExtensions[nsUri];
System\Xml\Xsl\XsltOld\RootAction.cs (5)
105AttributeSetAction? action = (AttributeSetAction?)_attributeSetTable[name]; 137AttributeSetAction? dstAttSet = (AttributeSetAction?)_attributeSetTable[srcAttSet.Name!]; 175object? mark = markTable[qname]; 216DecimalFormat? exist = (DecimalFormat?)_decimalFormatTable[name]; 241return _decimalFormatTable[name] as DecimalFormat;
System\Xml\Xsl\XsltOld\Stylesheet.cs (5)
72elem = (WhitespaceElement)_queryKeyTable[query]!; 160((AttributeSetAction)_attributeSetTable[attributeSet.Name]!).Merge(attributeSet); 192TemplateManager? manager = (TemplateManager?)_modeManagers[mode]; 292TemplateManager? manager = (TemplateManager?)_modeManagers[mode]; 377action = (TemplateAction?)_templateNameTable[name];
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (5)
220func = s_FunctionTable[name] as IXsltContextFunction; 321ArrayList? list = (ArrayList?)keyTable[key]; 484return s_FunctionTable[name] != null && name != "unparsed-entity-uri"; 887resultCollection = AddToList(resultCollection, (ArrayList?)keyTable[it.Current!.Value]); 892resultCollection = AddToList(resultCollection, (ArrayList?)keyTable[ToString(args[1])]);
System\Xml\Xslt\XsltArgumentList.cs (4)
32return _parameters[new XmlQualifiedName(name, namespaceUri)]; 38return _extensions[namespaceUri]; 64object? parameter = _parameters[qname]; 71object? extension = _extensions[namespaceUri];
System.Runtime.Caching (7)
System\Runtime\Caching\FileChangeNotificationSystem.cs (3)
103DirectoryMonitor? dirMon = _dirMonitors[dir] as DirectoryMonitor; 108dirMon = _dirMonitors[dir] as DirectoryMonitor; 151DirectoryMonitor? dirMon = _dirMonitors[dir] as DirectoryMonitor;
System\Runtime\Caching\MemoryCacheStore.cs (4)
181existingEntry = _entries[key] as MemoryCacheEntry; 286MemoryCacheEntry? entry = _entries[key] as MemoryCacheEntry; 306entry = _entries[key] as MemoryCacheEntry; 339existingEntry = _entries[key] as MemoryCacheEntry;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SurrogateSelector.cs (1)
152ISerializationSurrogate? temp = (ISerializationSurrogate?)_surrogates[key];
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
467type.UserData.Add(s_surrogateDataKey, _dataContractSet.SurrogateData[dataContract]); 730type = surrogateProvider.GetReferencedTypeOnImport(dataContract.XmlName.Name, dataContract.XmlName.Namespace, _dataContractSet.SurrogateData[dataContract]); 873object? surrogateData = _dataContractSet.SurrogateData[dataMember];
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\C14NAncestralNamespaceContextManager.cs (1)
29XmlAttribute? local = (XmlAttribute?)nsLocallyDeclared[nsPrefix];
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
384if ((SymmetricAlgorithm?)_keyNameMapping[keyName] != null) 385return (SymmetricAlgorithm)_keyNameMapping[keyName]!; 489object? kek = _keyNameMapping[keyName]; 652encryptionKey = _keyNameMapping[keyName];
System\Security\Cryptography\Xml\ExcAncestralNamespaceContextManager.cs (1)
36XmlAttribute? local = (XmlAttribute?)nsLocallyDeclared[nsPrefix];
System\Security\Cryptography\Xml\NamespaceFrame.cs (2)
26return (XmlAttribute?)_rendered[nsPrefix]; 36return (XmlAttribute?)_unrendered[nsPrefix];
System\Security\Cryptography\Xml\Utils.cs (1)
751nsattrib.Value = namespaces[key] as string;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
206_connectionPoolRegistry = (ConnectionPoolRegistry)s_connectionPoolRegistries[GetType()];
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
47T value = (T)_states[key];
System\ServiceModel\Security\TimeBoundedCache.cs (5)
110IExpirableItem currentItem = _entries[key] as IExpirableItem; 152IExpirableItem currentItem = _entries[key] as IExpirableItem; 220IExpirableItem item = _entries[key] as IExpirableItem; 266IExpirableItem currentItem = _entries[key] as IExpirableItem; 379IExpirableItem item = _entries[key] as IExpirableItem;
System.Speech (3)
Internal\AlphabetConverter.cs (3)
285unit = (ConversionUnit?)_prefixSapiTable[phoneme]; 289unit = (ConversionUnit?)_prefixUpsTable[phoneme]; 327if (_convertTable[i].isDefault || prefixTable[from] == null)
System.Text.RegularExpressions (7)
System\Collections\HashtableExtensions.cs (1)
10if (table[key] is { } obj)
System\Text\RegularExpressions\RegexParser.cs (5)
1294if (IsCaptureSlot(newcapnum) && (_caps == null || (int)_caps[newcapnum]! < pos)) 2029int pos = (int)_capnames[name]!; 2073next = (int)_capnames[oldcapnamelist![0]]!; 2083next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]!; 2114caps != null ? (int)caps[capnum]! :
System\Text\RegularExpressions\RegexReplacement.cs (1)
69slot = (int)_caps[slot]!;
System.Text.RegularExpressions.Generator (6)
parent\src\System\Collections\HashtableExtensions.cs (1)
10if (table[key] is { } obj)
parent\src\System\Text\RegularExpressions\RegexParser.cs (5)
1294if (IsCaptureSlot(newcapnum) && (_caps == null || (int)_caps[newcapnum]! < pos)) 2029int pos = (int)_capnames[name]!; 2073next = (int)_capnames[oldcapnamelist![0]]!; 2083next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]!; 2114caps != null ? (int)caps[capnum]! :
System.Transactions.Local (3)
System\Transactions\InternalTransaction.cs (1)
424WeakReference? weakRef = (WeakReference?)promotedTransactionTable[_identifier];
System\Transactions\TransactionManager.cs (2)
525WeakReference? weakRef = (WeakReference?)promotedTransactionTable[transactionIdentifier]; 550WeakReference? weakRef = (WeakReference?)promotedTransactionTable[transactionIdentifier];
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (2)
120var propertyTransferEnabledForObject = _propertyTransferEnabledMap[d] as Dictionary<DependencyProperty, bool>; 133var propertyTransferEnabledForObject = _propertyTransferEnabledMap[d] as Dictionary<DependencyProperty, bool>;
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (1)
79object? value = _bag[name];
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (2)
63Debug.Assert(_bag[name] is string); 64*pVar = VARIANT.FromObject(_bag[name]);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalResourceManager.cs (2)
36public override object? GetObject(string name) { return Data[name]; } 37public override string? GetString(string name) { return Data[name] as string; }
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2432object? exp = table[value];
System\Drawing\Design\ToolboxItem.cs (1)
822object? value = base[propertyName];
System\Windows\Forms\Design\ContextMenuStripGroupCollection.cs (1)
23return (ContextMenuStripGroup)InnerHashtable[key]!;
System.Xaml (3)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
399return (Assembly)_loadedAssembliesHash[assemblyNameLookup]; 414Assembly retassem = (Assembly)_loadedAssembliesHash[assemblyShortName];
System\Windows\Markup\ValueSerializer.cs (1)
107object? value = s_valueSerializers[type];
UIAutomationClient (3)
MS\Internal\Automation\ProxyManager.cs (3)
495proxyDescOrArrayList = _classHandlers[className]; 512proxyDescOrArrayList = _classHandlers[baseClassName]; 568entryOrArrayList = _imageOnlyHandlers[imageName];
UIAutomationClientSideProviders (13)
MS\Internal\AutomationProxies\EventManager.cs (5)
55raiseEvent = (RaiseEvent)_objectIdWindow[idProp]; 65raiseEvent = (RaiseEvent)_objectIdClient[idProp]; 76raiseEvent = (RaiseEvent)_objectIdScroll[idProp]; 86raiseEvent = (RaiseEvent)_objectIdCaret[idProp]; 97raiseEvent = (RaiseEvent)_objectIdMenu[idProp];
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (5)
86eventTable = (Hashtable)(_hwndTable[hwnd]); 97eventTable[key] = eventTable.ContainsKey(key) ? (int)eventTable[key] + 1 : 1; 114Hashtable eventTable = (Hashtable)(_hwndTable[hwnd]); 123int refcount = (int)eventTable[key] - 1; 180Hashtable eventTable = (Hashtable)_hwndTable[hwnd];
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (1)
67GroupManager manager = _groupManagers[hwnd] as GroupManager;
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
123MenuParentInfo parentInfo = (MenuParentInfo)_expandedMenus[hwndMenu]; 1009parentInfo = (MenuParentInfo)_expandedMenus[IntPtr.Zero];
UIAutomationTypes (2)
System\Windows\Automation\AutomationIdentifier.cs (2)
153AutomationIdentifier autoid = (AutomationIdentifier)_idTable[id]; 182autoid = (AutomationIdentifier) _idTable[id];