61 references to ByValArray
mscorlib (5)
microsoft\win32\win32native.cs (1)
662
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=TOKEN_SOURCE_LENGTH)]
system\reflection\emit\unmanagedmarshal.cs (4)
30
unmanagedType == UnmanagedType.
ByValArray
||
50
return new UnmanagedMarshal(UnmanagedType.
ByValArray
, Guid.Empty, elemCount, (UnmanagedType) 0);
84
if (m_unmanagedType != UnmanagedType.
ByValArray
&&
144
if (m_unmanagedType == UnmanagedType.
ByValArray
||
PresentationFramework (3)
src\Framework\System\Windows\Standard\NativeMethods.cs (3)
1882
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 128)]
1891
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 256)]
1895
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 64)]
System (23)
net\System\Net\_OSSOCK.cs (1)
91
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=16)]
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (16)
204
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = MAX_ADAPTER_ADDRESS_LENGTH)]
212
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
226
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
231
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 130)]
278
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = GuidLength)]
280
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = IfMaxStringSize + 1)]
282
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = IfMaxStringSize + 1)]
285
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = IfMaxPhysAddressLength)]
287
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = IfMaxPhysAddressLength)]
300
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = GuidLength)]
415
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=256)]
450
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
459
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
513
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
565
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=6)]
567
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=16)]
net\System\Net\Sockets\Internal.cs (1)
121
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = (int) AsyncEventBitsPos.FdMaxEvents)]
net\System\Net\UnsafeNativeMethods.cs (2)
886
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=7)]
929
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=16)]
security\system\security\cryptography\cryptoapi.cs (3)
1824
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=8)]
1859
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=20)]
1862
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=40)]
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
2614
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 32)]
2616
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
2620
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 255)]
System.Drawing (1)
commonui\System\Drawing\NativeMethods.cs (1)
61
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValArray
, SizeConst=BITMAPINFO_MAX_COLORSIZE*4)]
System.IdentityModel (1)
System\IdentityModel\NativeMethods.cs (1)
165
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = TOKEN_SOURCE_LENGTH)]
System.Security (3)
system\security\cryptography\cryptoapi.cs (3)
1714
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=8)]
1780
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=20)]
1783
[MarshalAs(UnmanagedType.
ByValArray
,SizeConst=40)]
System.ServiceModel (5)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (2)
55
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = maxAddresses)]
123
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = addrByteCount)]
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
1224
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 4)]
1226
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 8)]
1237
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 16)]
System.Windows.Forms (10)
winforms\Managed\System\WinForms\NativeMethods.cs (10)
2829
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=32)]
2852
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=20)]
4068
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=6)/*leftover(offset=0, widths)*/]
5615
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=64)]
5630
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=32)]
5645
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=32)]
5693
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=32)]
5725
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = 56)]
5852
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=56)]
6383
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValArray
, SizeConst=BITMAPINFO_MAX_COLORSIZE*4)]
UIAutomationClientsideProviders (3)
MS\Win32\UnsafeNativeMethods.cs (3)
340
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValArray
, SizeConst = NativeMethods.CCHILDREN_TITLEBAR + 1)]
349
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValArray
, SizeConst = NativeMethods.CCHILDREN_TITLEBAR + 1)]
351
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValArray
, SizeConst = NativeMethods.CCHILDREN_TITLEBAR + 1)]
WindowsBase (2)
Shared\MS\Win32\NativeMethodsCLR.cs (2)
2796
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=32)]
4193
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst=6)/*leftover(offset=0, widths)*/]
WsatUI (2)
Configuration\ETWSafeNativeMethods.cs (2)
74
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = SafeNativeMethods.MaxTraceLoggerNameLen)]
76
[MarshalAs(UnmanagedType.
ByValArray
, SizeConst = SafeNativeMethods.MaxTraceFileNameLen)]