2 implementations of GetValue
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.StubSite.cs (1)
102object? IDictionaryService.GetValue(object key)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.Site.cs (1)
69object? IDictionaryService.GetValue(object key)
30 references to GetValue
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ReflectEventDescriptor.cs (2)
200Delegate? eventdesc = (Delegate?)dict.GetValue(this); 476Delegate? del = (Delegate?)dict.GetValue(this);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
327IDictionary? dict = ds.GetValue(s_dictionaryKey) as IDictionary;
System.Windows.Forms.Design (6)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (2)
110return (string?)ds.GetValue(new ReferenceEventClosure(component, this)); 190string? oldName = (string?)dictionaryService.GetValue(key);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (2)
71if (dictionary.GetValue("GenerateMember") is bool value) 97if (dictionary.GetValue("Modifiers") is MemberAttributes value)
System\Windows\Forms\Design\ComponentTray.cs (1)
2056return (TrayControl)ds.GetValue(typeof(TrayControl));
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
126object dictionaryValue = dictionaryService.GetValue(s_nextNodeKey);
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\DesignerHostTests.cs (13)
933Assert.Same(value1, service.GetValue(key1)); 948Assert.Null(service.GetValue(new object())); 964Assert.Same(value1, service.GetValue(key1)); 966Assert.Null(service.GetValue(new object())); 978Assert.Throws<ArgumentNullException>("key", () => service.GetValue(null)); 994Assert.Same(value1, service.GetValue(key1)); 996Assert.Throws<ArgumentNullException>("key", () => service.GetValue(null)); 1012Assert.Same(value1, service.GetValue(key1)); 1019Assert.Same(value2, service.GetValue(key2)); 1026Assert.Same(value3, service.GetValue(key1)); 1032Assert.Null(service.GetValue(key1)); 2876Assert.Equal("value", service.GetValue("key")); 2879Assert.Null(service.GetValue("key"));
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
1011Assert.Equal("value", service.GetValue("key")); 1014Assert.Equal("value", service.GetValue("key"));
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripControlHostTests.cs (6)
2080Assert.Null(iDictionaryService.GetValue(key)); 2101Assert.Null(iDictionaryService.GetValue(key)); 2121Assert.Throws<ArgumentNullException>("key", () => iDictionaryService.GetValue(null)); 2142Assert.Equal("value1", iDictionaryService.GetValue("key1")); 2147Assert.Equal("otherValue", iDictionaryService.GetValue("key1")); 2152Assert.Null(iDictionaryService.GetValue("key2"));