Implemented interface member:
property
this
System.Collections.IDictionary.this[System.Object]
2 overrides of Item
System.Private.CoreLib (1)
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]
430 writes to Item
dotnet-svcutil-lib (51)
FrameworkFork\Microsoft.CodeDom\Configuration\CodeDomCompilationConfiguration.cs (2)
47_compilerLanguages[language] = compilerInfo; 52_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)
1430proj.AspNetConfigurations[configurationName] = aspNetCompilerParameters;
Microsoft.Build.Engine.UnitTests (1)
TaskThatReturnsMinimalItem.cs (1)
39t["key"] = "value";
Microsoft.Build.Tasks.Core (9)
LC.cs (7)
28set => Bag[nameof(Sources)] = value; 38set => Bag[nameof(OutputLicense)] = value; 48set => Bag[nameof(LicenseTarget)] = value; 58set => Bag[nameof(OutputDirectory)] = value; 68set => Bag[nameof(ReferencedAssemblies)] = value; 77set => Bag[nameof(NoLogo)] = value; 83set => Bag[nameof(SdkToolsPath)] = value;
RedistList.cs (2)
573uniqueClientListNames[redistName] = null; 613denyList[hashKey] = entryFullName;
Microsoft.Build.Tasks.UnitTests (4)
ResolveNonMSBuildProjectOutput_Tests.cs (2)
200unresolvedOutputs[rvpo.UnresolvedProjectReferences[i].ItemSpec] = rvpo.UnresolvedProjectReferences[i]; 206resolvedOutputs[rvpo.ResolvedOutputPaths[i].ItemSpec] = rvpo.ResolvedOutputPaths[i];
ToolTaskExtension_Tests.cs (2)
85t.Bag["Key"] = true; 98t.Bag["Key"] = 5;
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
94s_builtInMetadataNames[builtInMetadataName] = string.Empty;
Microsoft.Build.Utilities.UnitTests (3)
TaskItem_Tests.cs (3)
116h[FileUtilities.ItemSpecModifiers.Filename] = "foo"; 117h[FileUtilities.ItemSpecModifiers.Extension] = "bar"; 118h["custom"] = "hello";
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\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (1)
1130ObjectHashTable[fullName] = record;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1485_IDTypes[xamlPropertyNode.Value] = _elementTypeStack.Peek() as Type;
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\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 (73)
MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
56_hashTable[key] = value;
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\Animation\Clock.cs (2)
47_objectTable[_debugIdentity] = weakRef; 4371removeTable[e.Key] = weakRef;
System\Windows\Media\Animation\Timeline.cs (2)
42_objectTable[_debugIdentity] = weakRef; 1164removeTable[e.Key] = weakRef;
System\Windows\Media\Imaging\BitmapDownload.cs (3)
166_uriTable[uri] = entry; 319_uriTable[entry.inputUri] = null; 413_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)
715_registry[sharedSizeGroup] = sharedState;
System\Windows\Controls\Grid.cs (1)
1289store[key] = value;
System\Windows\Controls\RadioButton.cs (1)
79_groupNameToElements[groupName] = elements;
System\Windows\Documents\ImmComposition.cs (2)
77_list[source] = immComposition; 308_list[newSource] = this;
System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (1)
261_attributes[guidatom] = attr;
System\Windows\Input\KeyboardNavigation.cs (2)
2797_containerHashtable[container] = elementTable; 2800elementTable[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)
452_baseDictionary[key] = value; 1053_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 (21)
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 (10)
232editorTables[editorBaseType] = table; 443editorTables[editorBaseType] = editorTables; 1114attributeCache[type] = attrs; 1142attributeCache[member] = attrs; 1212eventCache[type] = events; 1300extendedPropertyCache[providerType] = extendedProperties; 1408propertyCache[type] = properties; 1463table[baseType] = hashEntry; 1497table[callingType] = hashEntry; 1543table[callingType] = hashEntry;
System\ComponentModel\TypeDescriptor.cs (4)
257s_providerTable[type] = head; 1683s_providerTable[searchType] = node; 2485refreshedTypes[nodeType] = nodeType; 2498refreshedTypes[populatedType] = populatedType;
System\ComponentModel\WeakHashtable.cs (1)
32this[new EqualityWeakReference(key)] = value;
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)
1891factoryList[configKey] = factoryRecord; 2056factoryList[configKey] = factoryRecord; 3674factoryList[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)
453propertyDescriptors[displayName] = descriptor; 459propertyDescriptors[ADP.ConnectionString] = reflected; 525propertyDescriptors[keyword] = descriptor;
System\Data\Common\FieldNameLookup.cs (1)
114hash[fieldName] = i;
System\Data\DataColumn.cs (1)
1552clone.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)
621dst[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; 373_expressions[dc] = attrs[i].Value; 699_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; 2472foundColumns[column] = column; 2508foundColumns[c] = c; 2533foundColumns[c] = c;
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 (4)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
461ht[keyv] = lbuckets[bucket].val; 1279_table[key] = value;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
22type._hashtable[Field] = m;
src\libraries\System.Private.CoreLib\src\System\Text\EncodingTable.cs (1)
44s_nameToCodePage[name] = codePage;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
631SurrogateData[key] = surrogateData;
System.Private.Uri (2)
System\UriSyntax.cs (2)
185s_table[syntax.SchemeName] = syntax; 211s_tempTable[lwrCaseScheme] = syntax;
System.Private.Windows.Core (2)
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (2)
499temp[primitiveKey.Value] = null; // null values are allowed 503temp[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)
306scopeTable[mapping.Scope!] = mapping; 325assemblies[name] = a; 421serializers[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)
79ObjectCache[key] = list; 110Hash[o1] ??= GetHash(o1); 125refs[o] = o; 182looks[o] = hashString; 184Hash[o] = code;
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
652delegateCacheForType[memberName] = result;
System\Xml\Serialization\XmlReflectionImporter.cs (6)
694_anonymous[type] = mapping; 752_anonymous[model.Type] = mapping; 921ids[member.SequenceId] = member; 1133_anonymous[model.Type] = mapping; 1140_anonymous[model.Type] = mapping; 1217_anonymous[model.Type] = mapping;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
970_references[mapping] = mapping; 1024_references[mapping] = null;
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1320ImportedMappings[type] = arrayMapping;
System\Xml\Serialization\XmlSchemas.cs (1)
117References[schema] = schema;
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
190uniqueTypes[type] = type;
System\Xml\Serialization\XmlSerializationReader.cs (5)
1488_referencedTargets[o] = o; 1861_types[typeName] = type; 1862_typesReverse[type] = typeName; 2274GeneratedMethods[mapping] = mapping; 3043cases[c.XmlName] = c.XmlName;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
2293GeneratedMethods[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)
196_documentCache[ruri] = result!.Clone();
System\Xml\Xsl\XsltOld\RootAction.cs (4)
146_attributeSetTable[srcAttSet.Name!] = dstAttSet; 189markTable[qname] = (object)PROCESSING; 191markTable[qname] = (object)DONE; 237_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)
121_dirMonitors[dir] = dirMon;
System\Runtime\Caching\HostFileChangeMonitor.cs (1)
64fcnState[path] = state;
System\Runtime\Caching\MemoryCacheStore.cs (2)
199_entries[key] = entry; 351_entries[key] = entry;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
201s_connectionPoolRegistries[GetType()] = new ConnectionPoolRegistry();
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexParser.cs (3)
129sparseMapping[captureNumberList[i]] = i; 1836_capnames[name] = _autocap; 1895_capnames[str] = j;
System.Text.RegularExpressions.Generator (3)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (3)
129sparseMapping[captureNumberList[i]] = i; 1836_capnames[name] = _autocap; 1895_capnames[str] = j;
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (1)
601promotedTransactionTable[dtx.Identifier] = weakRef;
System\Transactions\TransactionState.cs (2)
2228promotedTransactionTable[distributedTx.Identifier] = weakRef; 3326promotedTransactionTable[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\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;
770 references to Item
BinaryFormatTests (12)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (4)
57deserializedHashtable[key].Should().Be(hashtable[key]); 114deserializedHashtable[key].Should().Be(hashtable[key]);
FormatTests\FormattedObject\HashTableTests.cs (6)
112deserialized[key].Should().Be(hashtable[key]); 135deserialized[key].Should().Be(hashtable[key]); 152deserialized[key].Should().Be(hashtable[key]);
SerializationRecordExtensionsTests.cs (2)
40deserializedHashtable[key].Should().Be(hashtable[key]);
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)
1386object aspNetCompilerParametersObject = proj.AspNetConfigurations[configurationName];
Microsoft.Build.Engine.UnitTests (4)
Construction\SolutionFile_NewParser_Tests.cs (2)
92AspNetCompilerParameters debugAspNetCompilerParameters = (AspNetCompilerParameters)aspNetCompilerParameters["Debug"]; 93AspNetCompilerParameters releaseAspNetCompilerParameters = (AspNetCompilerParameters)aspNetCompilerParameters["Release"];
Construction\SolutionFile_OldParser_Tests.cs (2)
1552AspNetCompilerParameters debugAspNetCompilerParameters = (AspNetCompilerParameters)aspNetCompilerParameters["Debug"]; 1553AspNetCompilerParameters releaseAspNetCompilerParameters = (AspNetCompilerParameters)aspNetCompilerParameters["Release"];
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)
29get => (ITaskItem[])Bag[nameof(Sources)]; 39get => (ITaskItem)Bag[nameof(OutputLicense)]; 49get => (ITaskItem)Bag[nameof(LicenseTarget)]; 59get => (string)Bag[nameof(OutputDirectory)]; 69get => (ITaskItem[])Bag[nameof(ReferencedAssemblies)]; 84get => (string)Bag[nameof(SdkToolsPath)];
ToolTaskExtension.cs (2)
77object obj = Bag[parameterName]; 87object obj = Bag[parameterName];
Microsoft.Build.Tasks.UnitTests (6)
ResolveNonMSBuildProjectOutput_Tests.cs (6)
232Assert.Equal("true", ((ITaskItem)resolvedOutputs[Path.Combine("obj", "managed.dll")]).GetMetadata("ManagedAssembly")); 233Assert.NotEqual("true", ((ITaskItem)resolvedOutputs[Path.Combine("obj", "unmanaged.dll")]).GetMetadata("ManagedAssembly")); 260Assert.Equal(unresolvedOutputs["MCDep1.vcproj"], projectRefs[0]); 261Assert.Equal(unresolvedOutputs["MCDep2.vcproj"], projectRefs[1]); 275Assert.Equal(unresolvedOutputs["MCDep1.vcproj"], projectRefs[0]); 330Assert.Equal(unresolvedOutputs["MCDep2.vcproj"], projectRefs[1]);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (2)
101Dim AssemData As AssemblyData = CType(m_AssemblyData.Item(assem), AssemblyData) 104m_AssemblyData.Item(assem) = AssemData
PresentationBuildTasks (16)
Microsoft\Build\Tasks\Windows\UidManager.cs (3)
762Int64 maxIndex = (Int64)_sequenceMaxIds[uidSequence]; 794index = (Int64) _sequenceMaxIds[sequence]; 809index = (Int64) _sequenceMaxIds[sequence];
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (2)
1123if (ObjectHashTable[fullName] is not BamlAssemblyInfoRecord record) 1662return ObjectHashTable[key];
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
465targetType = _IDTypes[_setterTargetNameOrConditionSourceName] as Type;
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\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (2)
92if (_assemblyHasCacheInfo[assemblyName] != null) 94hasCacheInfo = (bool)_assemblyHasCacheInfo[assemblyName];
PresentationCore (23)
MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
37return _hashTable[key];
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\Animation\Clock.cs (2)
4222WeakReference weakRef = (WeakReference)_objectTable[idTable[index]]; 4339object handleReference = _objectTable[id];
System\Windows\Media\Animation\Timeline.cs (2)
1001WeakReference weakRef = (WeakReference)_objectTable[idTable[index]]; 1132object handleReference = _objectTable[id];
System\Windows\Media\Imaging\BitmapDownload.cs (2)
91if (_uriTable[uri] != null) 93entry = (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]; 626ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[_selection]; 889ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[selection]; 960ComponentsRegister 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)
711SharedSizeState sharedState = _registry[sharedSizeGroup] as SharedSizeState;
System\Windows\Controls\Grid.cs (1)
1284object 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)
215attr = (TextServicesDisplayAttribute)_attributes[guidatom];
System\Windows\Documents\XPSS0ValidatingLoader.cs (3)
177if ((int)_uniqueUriRef[uri] != node) 199validResources.Add(uri, validResources[resUri]); 210if (!(bool)validResources[uri])
System\Windows\Input\KeyboardNavigation.cs (2)
2787Hashtable elementTable = _containerHashtable[container] as Hashtable; 2790if (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)
434object oldValue = _baseDictionary[key]; 494object value = _baseDictionary[key]; 531object value = _baseDictionary[key]; 721KeyRecord keyRecord = _baseDictionary[key] as KeyRecord; 776KeyRecord keyRecord = _baseDictionary[key] as KeyRecord; 816return _baseDictionary[key] as KeyRecord; 886RemoveInheritanceContext(_baseDictionary[key]); 1045if (!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\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 (26)
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 (17)
421object? table = editorTables[editorBaseType]; 430table = editorTables[editorBaseType]; 440table = editorTables[editorBaseType]; 1100Attribute[]? attrs = (Attribute[]?)attributeCache[type]; 1108attrs = (Attribute[]?)attributeCache[type]; 1128Attribute[]? attrs = (Attribute[]?)attributeCache[member]; 1136attrs = (Attribute[]?)attributeCache[member]; 1156EventDescriptor[]? events = (EventDescriptor[]?)eventCache[type]; 1164events = (EventDescriptor[]?)eventCache[type]; 1256ReflectPropertyDescriptor[]? extendedProperties = (ReflectPropertyDescriptor[]?)extendedPropertyCache[providerType]; 1261extendedProperties = (ReflectPropertyDescriptor[]?)extendedPropertyCache[providerType]; 1341PropertyDescriptor[]? properties = (PropertyDescriptor[]?)propertyCache[type]; 1349properties = (PropertyDescriptor[]?)propertyCache[type]; 1452hashEntry = table[baseType]; 1516hashEntry = table[s_intrinsicNullableKey]; 1522hashEntry = table[s_intrinsicReferenceKey]; 1529hashEntry ??= table[typeof(object)];
System\ComponentModel\TypeDescriptor.cs (6)
416IList? associations = (IList?)associationTable[primary]; 422associations = (IList?)associationTable[primary]; 1665node = (TypeDescriptionNode?)s_providerTable[searchType]; 1676node = (TypeDescriptionNode?)s_providerTable[searchType]; 1739TypeDescriptionNode? node = (TypeDescriptionNode?)s_providerTable[instance]; 1803TypeDescriptionNode? head = (TypeDescriptionNode?)s_providerTable[key];
System.Configuration.ConfigurationManager (30)
src\libraries\Common\src\System\IO\TempFileCollection.cs (2)
88if (_files[fileName] != null) 173object keep = _files[fileName];
System\Configuration\BaseConfigurationRecord.cs (6)
730factoryRecord = (FactoryRecord)factoryList[configKey]; 1861FactoryRecord factoryRecord = (FactoryRecord)factoryList[configKey]; 1997FactoryRecord factoryRecord = (FactoryRecord)factoryList[configKey]; 3112if (_sectionRecords != null) sectionRecord = (SectionRecord)_sectionRecords[configKey]; 3177FactoryRecord factoryRecord = (FactoryRecord)_factoryRecords[configKey]; 3661FactoryRecord 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 (58)
System\Data\DataColumn.cs (1)
1552clone.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)
619if (!_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)
1874XmlSchemaSimpleType? 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 (4)
84object? val = _pointers[pointer]; 2506if (foundColumns[c] == null) 2531if (foundColumns[c] == null) 2542if (foundColumns[c] == null && !IsNotMapped(c))
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 (4)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1274get => _table[key];
src\libraries\System.Private.CoreLib\src\System\CurrentSystemTimeZone.cs (1)
175return (DaylightTime)m_CachedDaylightChanges[objYear]!;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
17m = (type._hashtable[Field] as FieldInfo)!;
src\libraries\System.Private.CoreLib\src\System\Text\EncodingTable.cs (1)
35object? codePageObj = s_nameToCodePage[name];
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContract.cs (2)
872object? value = s_namespaces[key]; 881value = s_namespaces[key];
System\Runtime\Serialization\DataContractSet.cs (1)
626return 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)
579object? otherItem = items[qname];
System.Private.Uri (6)
System\UriSyntax.cs (6)
168UriParser? oldSyntax = (UriParser?)s_table[lwrCaseSchemeName]; 172oldSyntax = (UriParser?)s_tempTable[syntax.SchemeName]; 194UriParser? syntax = (UriParser?)s_table[lwrCaseScheme]; 199syntax = (UriParser?)s_tempTable[lwrCaseScheme]; 217(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)
256if (_htElementIDAttrDecl == null || _htElementIDAttrDecl[eleName] == null) 322ArrayList elementList = (ArrayList)(_htElementIdMap[id]!); 332ArrayList elementList = (ArrayList)(_htElementIdMap[id]!); 938ArrayList? 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)
277if (ns != null && _referenceNamespaces[ns] == null) 283if (schema.TargetNamespace != null && _referenceNamespaces[schema.TargetNamespace] == null) 1717if (_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)
739if (builder._UndeclaredElements[qname] != null) 917pAttdef = (SchemaAttDef?)builder._ElementDef._AttDefList[pName]; 1185SchemaElementDecl? ed = (SchemaElementDecl?)builder._UndeclaredElements[qname]; 1277attdef = (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)
417if (disallowedNamespaces[importedNS] == null) 470return _targetNamespaces[targetNamespace] != null; 630if (_targetNamespaces[tns] == null) 646if (_targetNamespaces[tns] == null) 798if (validatedNamespaces[targetNamespace] != null) 833if (validatedNamespaces[tns] != null && (FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)) 853schema = (XmlSchema)_schemaLocations[schemaUri]!; 882schema = (XmlSchema)_chameleonSchemas[cKey]!; //Need not clone if a schema for that namespace already exists 923if (_targetNamespaces[tns] == null) 939if (_targetNamespaces[tns] == null) 1115if (_schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && _schemaLocations[baseUri] != null)) 1126if (_targetNamespaces[tns] == null) 1285schema = (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) 984if (_attPresence[attDef.Name] == null) 1572if (_attPresence[s_xsiTypeSO!.QualifiedName] == null) 1576if (_attPresence[s_xsiNilSO!.QualifiedName] == null) 1580if (_attPresence[s_xsiSLSO!.QualifiedName] == null) 1584if (_attPresence[s_xsiNoNsSLSO!.QualifiedName] == null) 2102if (_attPresence[attdef.Name] == null)
System\Xml\Serialization\CodeIdentifiers.cs (1)
164_list.Remove(_identifiers[identifier]);
System\Xml\Serialization\Compilation.cs (4)
320if (assemblies[name] != null) 419if (serializers[xmlMappings[i].Key!] == null) 618string? methodName = (string?)_readerMethods[mapping.Key!]; 645string? 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)
75ArrayList? list = (ArrayList?)ObjectCache[key]; 95Warnings.Add($"DEBUG:Cached item key:\r\n{(string?)looks[cachedItem]}\r\nnew item key:\r\n{(string?)looks[item]}"); 111int hash1 = (int)Hash[o1]!; 123if (refs[o] == null) 127ArrayList? list = Graph[o] as ArrayList; 145object? cachedHash = Hash[list[i]!]; 169object? hash = Hash[o]; 245if (_scope[item] != null) 246return (ArrayList)_scope[item]!; 258if (item == null || _scope[item] != null)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
605var result = delegateCacheForType[memberName]; 610if ((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)
633if (s_primitiveTypes[type] == null) 651if (s_primitiveTypes[type] == null) 682return (TypeDesc?)s_primitiveDataTypes[dataType]; 706(TypeDesc?)s_primitiveTypes[type] ?? 707(TypeDesc?)_typeDescs[type] ?? 719TypeDesc? typeDesc = (TypeDesc?)_arrayTypeDescs[type];
System\Xml\Serialization\Xmlcustomformatter.cs (1)
460object? 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]; 917if (ids[member.SequenceId] != null)
System\Xml\Serialization\XmlSchemaExporter.cs (8)
237XmlSchemaElement? element = (XmlSchemaElement?)_elements[accessor]; 600XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[currentMapping]; 748if (_attributes[accessor] == null) 814XmlSchemaElement? element = (XmlSchemaElement?)_elements[accessor]; 968if (_references[mapping] != null) 972XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[mapping]; 1006model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.BaseMapping]!); 1144XmlSchemaSimpleType? 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)
81if (delayedSchemas[schema] == null) 325if (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)
1562Type? arrayType = (Type?)_types[new XmlQualifiedName(typeName, typeNs)]; 1592elementType = (Type?)_types[qname]; 1628XmlQualifiedName? newQname = (XmlQualifiedName?)_typesReverse[elementType]; 1826XmlSerializationReadCallback? callback = (XmlSerializationReadCallback?)_callbacks[typeId]; 2314string idName = (string)_idNames[id]!; 2400methodName = (string)MethodNames[mapping]!; 2874object? m = Enums[uniqueName]; 2887m = Enums[uniqueName]; 2977string methodName = (string)MethodNames[mapping]!; 3036if (cases[c.XmlName] == null) 3162string methodName = (string)MethodNames[nullableMapping]!; 3216string methodName = (string)MethodNames[structMapping]!; 3423string methodName = (string)MethodNames[structMapping]!; 3562CreateCollectionInfo? create = (CreateCollectionInfo?)_createMethods[typeDesc]; 3664string? idName = (string?)_idNames[name];
System\Xml\Serialization\XmlSerializationWriter.cs (14)
898string? id = (string?)_references[o]; 1412return (TypeEntry?)_typeEntries[t]; 1545if (s_assemblyToNameMap[a] != null) 1550Assembly? oldAssembly = s_nameToAssemblyMap[a.FullName!] as Assembly; 1571return s_nameToAssemblyMap != null ? (Assembly?)s_nameToAssemblyMap[fullName] : null; 1576return s_assemblyToNameMap != null ? (string?)s_assemblyToNameMap[a] : null; 1623string? typeVariable = (string?)_reflectionVariables[typeFullName]; 1757string? assemblyVariable = (string?)_reflectionVariables[assemblyFullName]; 1867return (string?)_reflectionVariables[key]; 2342string methodName = (string)MethodNames[typeMapping]!; 2863string methodName = (string)MethodNames[mapping]!; 2896if (values[c.Value] == null) 3079string? methodName = (string?)MethodNames[mapping]; 4056string methodName = (string)MethodNames[element.Mapping]!;
System\Xml\Serialization\XmlSerializer.cs (5)
547TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[_primitiveType]!; 622serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].Key!]!; 640serializers[i] = contract!.TypedSerializers[mappings[i].Key!] as XmlSerializer; 740serializers[index] = (XmlSerializer)contract.TypedSerializers[mappingKey.Mapping.Key!]!; 846TypeDesc? 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)
166result = _documentCache[ruri] as XPathNavigator; 260return _scriptExtensions[nsUri];
System\Xml\Xsl\XsltOld\RootAction.cs (5)
106AttributeSetAction? action = (AttributeSetAction?)_attributeSetTable[name]; 138AttributeSetAction? dstAttSet = (AttributeSetAction?)_attributeSetTable[srcAttSet.Name!]; 176object? mark = markTable[qname]; 217DecimalFormat? exist = (DecimalFormat?)_decimalFormatTable[name]; 242return _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 (8)
System\Runtime\Caching\FileChangeNotificationSystem.cs (3)
103DirectoryMonitor dirMon = _dirMonitors[dir] as DirectoryMonitor; 108dirMon = _dirMonitors[dir] as DirectoryMonitor; 152DirectoryMonitor dirMon = _dirMonitors[dir] as DirectoryMonitor;
System\Runtime\Caching\HostFileChangeMonitor.cs (1)
132object state = fcnState[path];
System\Runtime\Caching\MemoryCacheStore.cs (4)
186existingEntry = _entries[key] as MemoryCacheEntry; 291MemoryCacheEntry entry = _entries[key] as MemoryCacheEntry; 311entry = _entries[key] as MemoryCacheEntry; 344existingEntry = _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)
460type.UserData.Add(s_surrogateDataKey, _dataContractSet.SurrogateData[dataContract]); 717type = surrogateProvider.GetReferencedTypeOnImport(dataContract.XmlName.Name, dataContract.XmlName.Namespace, _dataContractSet.SurrogateData[dataContract]); 859object? 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)
323if ((SymmetricAlgorithm?)_keyNameMapping[keyName] != null) 324return (SymmetricAlgorithm)_keyNameMapping[keyName]!; 412object? kek = _keyNameMapping[keyName]; 575encryptionKey = _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)
482nsattrib.Value = namespaces[key] as string;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
206_connectionPoolRegistry = (ConnectionPoolRegistry)s_connectionPoolRegistries[GetType()];
System.Text.RegularExpressions (9)
System\Collections\HashtableExtensions.cs (1)
12value = (T)table[key]!;
System\Text\RegularExpressions\RegexParser.cs (5)
1219if (IsCaptureSlot(newcapnum) && (_caps == null || (int)_caps[newcapnum]! < pos)) 1835int pos = (int)_capnames[name]!; 1879next = (int)_capnames[oldcapnamelist![0]]!; 1889next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]!; 1920caps != null ? (int)caps[capnum]! :
System\Text\RegularExpressions\RegexReplacement.cs (1)
69slot = (int)_caps[slot]!;
System\Text\RegularExpressions\RegexTree.cs (2)
59int? captureNumber = captureNameToNumberMapping[captureName] as int?; 64captureNumber = captureNumberSparseMapping[captureNumber] as int?;
System.Text.RegularExpressions.Generator (8)
src\libraries\System.Text.RegularExpressions\src\System\Collections\HashtableExtensions.cs (1)
12value = (T)table[key]!;
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (5)
1219if (IsCaptureSlot(newcapnum) && (_caps == null || (int)_caps[newcapnum]! < pos)) 1835int pos = (int)_capnames[name]!; 1879next = (int)_capnames[oldcapnamelist![0]]!; 1889next = (k == oldcapnamelist.Count) ? -1 : (int)_capnames[oldcapnamelist[k]]!; 1920caps != null ? (int)caps[capnum]! :
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexTree.cs (2)
59int? captureNumber = captureNameToNumberMapping[captureName] as int?; 64captureNumber = captureNumberSparseMapping[captureNumber] as int?;
System.Transactions.Local (3)
System\Transactions\InternalTransaction.cs (1)
424WeakReference? weakRef = (WeakReference?)promotedTransactionTable[_identifier];
System\Transactions\TransactionManager.cs (2)
551WeakReference? weakRef = (WeakReference?)promotedTransactionTable[transactionIdentifier]; 576WeakReference? weakRef = (WeakReference?)promotedTransactionTable[transactionIdentifier];
System.Web.Services.Description (4)
System\Web\Services\Configuration\WebServicesSection.cs (4)
54if (extensions[extensionType] != null) { 64XmlAttributes xmlAttrs = (XmlAttributes)table[extensionPointType]; 83namespaces.Add(prefixes[i], (string)nsDefs[prefixes[i]]); 88XmlAttributes xmlAttrs = (XmlAttributes)table[extensionPointType];
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.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\FlowLayoutPanelDesignerTests.cs (2)
72properties[nameof(FlowLayoutPanel.FlowDirection)].Should().NotBeNull(); 73properties[nameof(FlowLayoutPanel.FlowDirection)].Should().BeAssignableTo<PropertyDescriptor>();
System.Xaml (3)
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];