7 references to CheckAndGetTarget
System.Windows.Forms (7)
System\Windows\Forms\ComponentModel\COM2Interop\COM2Properties.cs (5)
63
if (_alwaysValid == 0 &&
CheckAndGetTarget
(checkVersions: false, callDispose: true) is null)
84
if (
CheckAndGetTarget
(checkVersions: true, callDispose: true) is null)
107
if (
CheckAndGetTarget
(checkVersions: false, callDispose: true) is not { } target || _touchedTime == 0)
125
CheckAndGetTarget
(checkVersions: true, callDispose: true);
151
CheckAndGetTarget
(checkVersions: false, callDispose: false);
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.ValidityScope.cs (1)
26
Properties.AlwaysValid = Properties.
CheckAndGetTarget
(checkVersions: false, callDispose: true) is not null;
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
226
|| properties.
CheckAndGetTarget
(checkVersions: false, callDispose: true) is null)