121 writes to SizeConst
mscorlib (10)
microsoft\win32\win32native.cs (9)
254
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 32)]
259
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 32)]
281
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 32)]
286
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 32)]
291
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 128)]
410
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=128)]
427
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=128)]
662
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=TOKEN_SOURCE_LENGTH)]
2808
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 128)]
system\runtime\interopservices\attributes.cs (1)
599
SizeConst
= sizeConst;
PresentationFramework (10)
src\Framework\MS\Internal\AppModel\ShellProvider.cs (1)
75
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 260)]
src\Framework\MS\Internal\Printing\NativeMethods.cs (2)
83
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= CCHDEVICENAME)]
101
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= CCHFORMNAME)]
src\Framework\System\Windows\Standard\NativeMethods.cs (6)
1882
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 128)]
1891
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 256)]
1895
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 64)]
1952
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 32)]
2279
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 260)]
2281
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 14)]
src\Framework\System\Windows\Standard\ShellProvider.cs (1)
333
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 260)]
System (45)
compmod\microsoft\win32\NativeMethods.cs (1)
708
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 128)]
compmod\System\Runtime\InteropServices\ComTypes\IEnumSTATDATA.cs (1)
28
int Next(int celt, [Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] STATDATA[] rgelt, [Out, MarshalAs(UnmanagedType.LPArray,
SizeConst
=1)] int[] pceltFetched);
net\System\Net\_OSSOCK.cs (3)
46
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=257)]
48
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=129)]
91
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=16)]
net\System\Net\mail\iisPickupDirectory.cs (1)
285
[Out, MarshalAs(UnmanagedType.LPWStr,
SizeConst
=256)] out string Location,
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (21)
80
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=16)]
82
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=16)]
96
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=MAX_HOSTNAME_LEN + 4)]
98
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=MAX_DOMAIN_NAME_LEN + 4)]
103
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=MAX_SCOPE_ID_LEN + 4)]
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 (14)
385
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxEntryName + 1)]
387
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxDeviceType + 1)]
389
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxDeviceName + 1)]
408
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxDeviceType + 1)]
410
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxDeviceName + 1)]
421
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxEntryName + 1)]
423
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxPhoneNumber + 1)]
425
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=RAS_MaxCallbackNumber + 1)]
427
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=UNLEN + 1)]
429
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=PWLEN + 1)]
431
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=DNLEN + 1)]
886
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=7)]
911
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=256)]
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 (5)
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
4396
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,
SizeConst
=32)]
4598
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,
SizeConst
=32)]
4618
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,
SizeConst
=32)]
commonui\System\Drawing\NativeMethods.cs (1)
61
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray,
SizeConst
=BITMAPINFO_MAX_COLORSIZE*4)]
misc\GDI\NativeMethods.cs (1)
310
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,
SizeConst
=32)]
System.IdentityModel (1)
System\IdentityModel\NativeMethods.cs (1)
165
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= TOKEN_SOURCE_LENGTH)]
System.IO.Log (2)
System\IO\Log\UnsafeNativeMethods.cs (2)
87
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= Const.CLFS_MAX_CONTAINER_INFO)]
346
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= Const.MAX_PATH + 6)]
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 (8)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (2)
55
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= maxAddresses)]
123
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= addrByteCount)]
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
1224
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 4)]
1226
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 8)]
1237
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= 16)]
1313
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 257)]
1315
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 129)]
System\ServiceModel\Transactions\OletxTransactionFormatter.cs (1)
87
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 40)]
System.Web (2)
UnsafeNativeMethods.cs (2)
165
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=260)]
167
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=14)]
System.Windows.Forms (19)
misc\GDI\NativeMethods.cs (1)
310
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,
SizeConst
=32)]
winforms\Managed\System\WinForms\NativeMethods.cs (18)
2829
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=32)]
2852
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=20)]
2862
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= CCHDEVICENAME)]
2878
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= CCHFORMNAME)]
3702
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=32)]
3764
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=128)]
3768
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 256)]
3771
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 64)]
4068
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=6)/*leftover(offset=0, widths)*/]
5118
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=80)]
5131
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=80)]
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 (4)
MS\Win32\NativeMethods.cs (1)
676
[MarshalAs (UnmanagedType.ByValTStr,
SizeConst
= 32)]
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 (7)
Base\MS\Internal\Interop\NativeStructs.cs (2)
166
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 260)]
168
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 14)]
Shared\MS\Win32\NativeMethodsCLR.cs (3)
2796
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=32)]
3727
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=32)]
4193
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
=6)/*leftover(offset=0, widths)*/]
Shared\MS\Win32\NativeMethodsOther.cs (2)
101
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
=128)]
1690
[MarshalAs(UnmanagedType.ByValTStr,
SizeConst
= 260)] internal string CachePath;
WsatUI (2)
Configuration\ETWSafeNativeMethods.cs (2)
74
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= SafeNativeMethods.MaxTraceLoggerNameLen)]
76
[MarshalAs(UnmanagedType.ByValArray,
SizeConst
= SafeNativeMethods.MaxTraceFileNameLen)]
1 reference to SizeConst
mscorlib (1)
system\reflection\customattribute.cs (1)
465
namedArgs[i++] = new CustomAttributeNamedArgument(type.GetField("SizeConst"), marshalAs.
SizeConst
);