12 references to new
System.Windows.Forms.Primitives (4)
System\Windows\Forms\Automation\UiaTextProvider.cs (1)
85
return
new
(SAFEARRAY.CreateEmpty(VARENUM.VT_R8));
System\Windows\Forms\Automation\UiaTextRange.cs (1)
345
SafeArrayScope<double> ownerBounds =
new
(result.data.parray);
Windows\Win32\System\Com\ComSafeArrayScope.cs (2)
30
_value =
new
(value);
41
_value =
new
(PInvokeCore.SafeArrayCreate(VARENUM.VT_UNKNOWN, 1, &saBound));
System.Windows.Forms.Primitives.Tests (8)
System\Windows\Forms\Automation\UiaTextRangeTests.cs (6)
564
using SafeArrayScope<double> actual =
new
((SAFEARRAY*)null);
594
using SafeArrayScope<double> actual =
new
((SAFEARRAY*)null);
623
using SafeArrayScope<double> safeArrayScope =
new
((SAFEARRAY*)null);
664
using SafeArrayScope<double> actual =
new
((SAFEARRAY*)null);
747
using SafeArrayScope<double> actual =
new
((SAFEARRAY*)null);
829
using SafeArrayScope<double> actual =
new
((SAFEARRAY*)null);
Windows\Win32\System\Com\SafeArrayScopeTests.cs (2)
78
e = Assert.Throws<ArgumentException>(() => new
SafeArrayScope
<IUnknown>(array));
93
ArgumentException e = Assert.Throws<ArgumentException>(() => new
SafeArrayScope
<string>(array));