2 implementations of SetValue
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.StubSite.cs (1)
114void IDictionaryService.SetValue(object key, object? value)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.Site.cs (1)
83void IDictionaryService.SetValue(object key, object? value)
29 references to SetValue
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ReflectEventDescriptor.cs (2)
202dict.SetValue(this, eventdesc); 478dict.SetValue(this, del);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
331ds.SetValue(s_dictionaryKey, dict);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
249dictionaryService.SetValue(key, name);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (2)
132dictionary?.SetValue("GenerateMember", generate); 170dictionary.SetValue("Modifiers", modifiers);
System\Windows\Forms\Design\CommandSet.cs (1)
222ds?.SetValue(typeof(CommandID), new CommandID(new Guid("BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F"), 0));
System\Windows\Forms\Design\ComponentTray.cs (2)
1941ds?.SetValue(GetType(), this); 2036ds.SetValue(typeof(TrayControl), null);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
134dictionaryService.SetValue(s_nextNodeKey, 0); 147dictionaryService?.SetValue(s_nextNodeKey, _nextNode);
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignerHostTests.cs (9)
933service.SetValue(key1, value1); 964service.SetValue(key1, value1); 994service.SetValue(key1, value1); 1012service.SetValue(key1, value1); 1019service.SetValue(key2, value2); 1025service.SetValue(key1, value3); 1031service.SetValue(key1, null); 1045Assert.Throws<ArgumentNullException>("key", () => service.SetValue(null, new object())); 2877service.SetValue("key", "value");
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1012service.SetValue("key", "value");
System\Windows\Forms\Design\UserControlDocumentDesignerTests.cs (1)
62.Setup(s => s.SetValue(It.IsAny<object>(), It.IsAny<object>()));
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripControlHostTests.cs (7)
2061iDictionaryService.SetValue("key1", "value1"); 2102iDictionaryService.SetValue("key1", "value1"); 2122iDictionaryService.SetValue("key1", "value1"); 2143iDictionaryService.SetValue("key1", "value1"); 2148iDictionaryService.SetValue("key1", "otherValue"); 2153iDictionaryService.SetValue("key2", null); 2174Assert.Throws<ArgumentNullException>("key", () => iDictionaryService.SetValue(null, "value"));