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)
28 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 (10)
System\ComponentModel\Design\DesignerHostTests.cs (9)
931service.SetValue(key1, value1); 962service.SetValue(key1, value1); 992service.SetValue(key1, value1); 1010service.SetValue(key1, value1); 1017service.SetValue(key2, value2); 1023service.SetValue(key1, value3); 1029service.SetValue(key1, null); 1043Assert.Throws<ArgumentNullException>("key", () => service.SetValue(null, new object())); 2875service.SetValue("key", "value");
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1010service.SetValue("key", "value");
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripControlHostTests.cs (7)
2059iDictionaryService.SetValue("key1", "value1"); 2100iDictionaryService.SetValue("key1", "value1"); 2120iDictionaryService.SetValue("key1", "value1"); 2141iDictionaryService.SetValue("key1", "value1"); 2146iDictionaryService.SetValue("key1", "otherValue"); 2151iDictionaryService.SetValue("key2", null); 2172Assert.Throws<ArgumentNullException>("key", () => iDictionaryService.SetValue(null, "value"));