9 references to TryGetValue
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.cs (1)
154
if (property is not null && property.
TryGetValue
(value, out text))
System\ComponentModel\Design\ComponentDesigner.cs (1)
46
if (defaultProperty.
TryGetValue
(_component, out string? currentValue) && string.IsNullOrEmpty(currentValue))
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
659
if (clearProperty is not null && clearProperty.
TryGetValue
(manager, out bool b) && b)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
181
if (generateProp is not null && generateProp.
TryGetValue
(value, out bool b) && !b)
224
if (modifiersProp is null || !modifiersProp.
TryGetValue
(value, out MemberAttributes fieldAttrs))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
144
if (supportGenerate is not null && supportGenerate.
TryGetValue
(manager, out bool supportGenerateValue) && supportGenerateValue)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
83
if (p is not null && p.
TryGetValue
(component: null, out bool b) && b)
System\Windows\Forms\Design\CommandSet.cs (1)
2089
if (nameProp is not null && nameProp.
TryGetValue
(curComp, out string? newName))
System.Windows.Forms.Primitives (1)
System\ComponentModel\TypeDescriptorHelper.cs (1)
43
if (property is not null && property.
TryGetValue
(component, out value))