210 references to Explicit
mscorlib (19)
microsoft\win32\win32native.cs (2)
2381
[StructLayoutAttribute( LayoutKind.
Explicit
)]
2429
[StructLayoutAttribute( LayoutKind.
Explicit
, CharSet = CharSet.Unicode )]
system\collections\concurrent\PartitionerStatic.cs (1)
1715
if (typeof(TSource).StructLayoutAttribute.Value == LayoutKind.
Explicit
)
system\diagnostics\eventing\eventdescriptor.cs (1)
26
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
system\globalization\charunicodeinfo.cs (1)
84
[StructLayout(LayoutKind.
Explicit
)]
system\runtime\interopservices\attributes.cs (1)
883
case TypeAttributes.ExplicitLayout: layoutKind = LayoutKind.
Explicit
; break;
system\runtime\interopservices\ComTypes\itypecomp.cs (1)
31
[StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
system\runtime\interopservices\ComTypes\itypeinfo.cs (2)
166
[System.Runtime.InteropServices.StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
194
[System.Runtime.InteropServices.StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
system\runtime\interopservices\ucomitypecomp.cs (1)
33
[StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
system\runtime\interopservices\ucomitypeinfo.cs (2)
171
[System.Runtime.InteropServices.StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
190
[System.Runtime.InteropServices.StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
system\Runtime\InteropServices\Variant.cs (2)
25
[StructLayout(LayoutKind.
Explicit
)]
68
[StructLayout(LayoutKind.
Explicit
)]
system\runtime\interopservices\windowsruntime\nativemethods.cs (1)
20
[StructLayout(LayoutKind.
Explicit
, Size = 20)]
system\text\basecodepageencoding.cs (3)
85
[StructLayout(LayoutKind.
Explicit
)]
101
[StructLayout(LayoutKind.
Explicit
, Pack=2)]
114
[StructLayout(LayoutKind.
Explicit
)]
system\threading\Tasks\ProducerConsumerQueues.cs (1)
552
[StructLayout(LayoutKind.
Explicit
, Size = PaddingHelpers.CACHE_LINE_SIZE - sizeof(Int32))] // Based on common case of 64-byte cache lines
PresentationCore (141)
Core\CSharp\System\Windows\Media\Generated\RenderData.cs (25)
35
[StructLayout(LayoutKind.
Explicit
)]
56
[StructLayout(LayoutKind.
Explicit
)]
83
[StructLayout(LayoutKind.
Explicit
)]
102
[StructLayout(LayoutKind.
Explicit
)]
126
[StructLayout(LayoutKind.
Explicit
)]
151
[StructLayout(LayoutKind.
Explicit
)]
187
[StructLayout(LayoutKind.
Explicit
)]
212
[StructLayout(LayoutKind.
Explicit
)]
248
[StructLayout(LayoutKind.
Explicit
)]
269
[StructLayout(LayoutKind.
Explicit
)]
287
[StructLayout(LayoutKind.
Explicit
)]
306
[StructLayout(LayoutKind.
Explicit
)]
322
[StructLayout(LayoutKind.
Explicit
)]
337
[StructLayout(LayoutKind.
Explicit
)]
355
[StructLayout(LayoutKind.
Explicit
)]
374
[StructLayout(LayoutKind.
Explicit
)]
389
[StructLayout(LayoutKind.
Explicit
)]
406
[StructLayout(LayoutKind.
Explicit
)]
419
[StructLayout(LayoutKind.
Explicit
)]
437
[StructLayout(LayoutKind.
Explicit
)]
452
[StructLayout(LayoutKind.
Explicit
)]
467
[StructLayout(LayoutKind.
Explicit
)]
480
[StructLayout(LayoutKind.
Explicit
)]
496
[StructLayout(LayoutKind.
Explicit
)]
512
[StructLayout(LayoutKind.
Explicit
)]
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
86
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
Graphics\include\exports.cs (6)
298
[StructLayout(LayoutKind.
Explicit
, Pack = 1)]
306
[StructLayout(LayoutKind.
Explicit
, Pack = 1)]
312
[StructLayout(LayoutKind.
Explicit
, Pack = 1)]
318
[StructLayout(LayoutKind.
Explicit
, Pack = 1)]
329
[StructLayout(LayoutKind.
Explicit
, Pack = 1)]
1140
[StructLayout(LayoutKind.
Explicit
)]
Graphics\include\Generated\wgx_commands.cs (108)
27
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
33
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
39
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
45
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
51
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
59
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
66
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
74
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
81
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
88
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
95
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
102
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
109
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
116
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
123
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
130
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
137
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
144
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
151
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
159
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
166
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
173
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
180
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
187
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
194
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
201
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
208
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
215
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
221
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
228
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
236
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
245
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
253
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
260
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
267
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
274
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
281
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
288
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
294
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
301
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
309
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
328
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
335
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
351
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
362
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
369
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
376
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
383
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
390
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
399
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
414
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
422
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
429
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
435
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
445
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
453
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
472
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
491
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
500
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
508
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
517
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
528
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
547
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
572
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
582
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
592
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
599
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
608
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
617
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
625
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
632
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
644
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
662
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
675
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
682
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
691
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
701
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
711
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
728
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
748
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
755
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
762
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
772
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
786
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
800
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
812
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
820
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
831
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
844
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
857
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
866
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
876
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
885
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
897
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
915
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
937
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
961
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
985
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1009
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1021
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1030
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1045
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1054
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1062
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1071
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1080
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1096
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
1105
[StructLayout(LayoutKind.
Explicit
, Pack=1)]
Graphics\include\wgx_render.cs (1)
744
[StructLayout(LayoutKind.
Explicit
)]
PresentationFramework (8)
src\Framework\MS\Internal\PtsHost\Pts.cs (5)
1556
[StructLayout(LayoutKind.
Explicit
)]
1622
[StructLayout(LayoutKind.
Explicit
)]
1696
[StructLayout(LayoutKind.
Explicit
)]
1764
[StructLayout(LayoutKind.
Explicit
)]
1976
[StructLayout(LayoutKind.
Explicit
)]
src\Framework\System\Windows\Standard\ErrorCodes.cs (2)
18
[StructLayout(LayoutKind.
Explicit
)]
197
[StructLayout(LayoutKind.
Explicit
)]
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
2012
[StructLayout(LayoutKind.
Explicit
)]
System (6)
net\System\Net\Cache\WinInetCache.cs (1)
173
[StructLayout(LayoutKind.
Explicit
)]
net\System\Net\Internal.cs (1)
1212
[StructLayout(LayoutKind.
Explicit
)]
net\System\Net\UnsafeNativeMethods.cs (1)
973
[StructLayout(LayoutKind.
Explicit
)]
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (1)
110
[StructLayout(LayoutKind.
Explicit
)]
security\system\security\cryptography\cryptoapi.cs (2)
1059
[StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
1214
[StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
System.Core (8)
Microsoft\Win32\UnsafeNativeMethods.cs (5)
574
[StructLayout(LayoutKind.
Explicit
, Size = 40)]
581
[StructLayout(LayoutKind.
Explicit
, Size = 32)]
591
[StructLayout(LayoutKind.
Explicit
, Size = 32)]
731
[StructLayout(LayoutKind.
Explicit
, CharSet = CharSet.Auto)]
1307
[StructLayout(LayoutKind.
Explicit
, CharSet = CharSet.Auto)]
System\Diagnostics\Eventing\EventDescriptor.cs (1)
12
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
System\Diagnostics\Eventing\EventProvider.cs (1)
53
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
System\Linq\Parallel\Scheduling\Scheduling.cs (1)
88
if (typeof(T).StructLayoutAttribute.Value == LayoutKind.
Explicit
)
System.Data (2)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
39
[StructLayout(LayoutKind.
Explicit
)]
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
85
[StructLayout(LayoutKind.
Explicit
)]
System.IO.Log (1)
System\IO\Log\UnsafeNativeMethods.cs (1)
148
[StructLayout(LayoutKind.
Explicit
)]
System.Messaging (1)
System\Messaging\Interop\MessagePropertyVariants.cs (1)
16
[StructLayout(LayoutKind.
Explicit
)]
System.Net (1)
net\PeerToPeer\Collaboration\UnsafeCollabNativeMethods.cs (1)
644
[StructLayout(LayoutKind.
Explicit
, CharSet = CharSet.Unicode)]
System.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
16
[StructLayout(LayoutKind.
Explicit
)]
System.Security (1)
system\security\cryptography\cryptoapi.cs (1)
1127
[StructLayout(LayoutKind.
Explicit
, CharSet=CharSet.Unicode)]
System.ServiceModel (1)
System\ServiceModel\Channels\UnsafeNativeMethods.cs (1)
909
[StructLayout(LayoutKind.
Explicit
)]
System.ServiceModel.Internals (2)
System\Runtime\Diagnostics\EventDescriptor.cs (1)
7
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
System\Runtime\Interop\UnsafeNativeMethods.cs (1)
29
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
5584
[StructLayout(LayoutKind.
Explicit
)]
System.Xml (2)
System\Xml\Schema\ValidationState.cs (1)
14
[StructLayout(LayoutKind.
Explicit
)]
System\Xml\Schema\XmlAtomicValue.cs (1)
27
[StructLayout(LayoutKind.
Explicit
, Size=8)]
UIAutomationClient (1)
MS\Win32\UnsafeNativeMethods.cs (1)
76
[StructLayout(LayoutKind.
Explicit
)]
UIAutomationClientsideProviders (1)
MS\Win32\NativeMethods.cs (1)
1397
[StructLayout(LayoutKind.
Explicit
)]
WindowsBase (12)
Base\MS\Internal\Interop\ErrorCodes.cs (2)
19
[StructLayout(LayoutKind.
Explicit
)]
175
[StructLayout(LayoutKind.
Explicit
)]
Base\MS\Internal\Interop\NativeStructs.cs (1)
33
[StructLayout(LayoutKind.
Explicit
)]
Base\MS\Internal\IO\Packaging\OlePropertyStructs.cs (2)
164
[StructLayout(LayoutKind.
Explicit
)]
559
[StructLayout(LayoutKind.
Explicit
)]
Shared\MS\Internal\DoubleUtil.cs (1)
291
[StructLayout(LayoutKind.
Explicit
)]
Shared\MS\Utility\TraceProvider.cs (1)
28
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
Shared\MS\Win32\NativeMethodsCLR.cs (1)
7032
[StructLayout(LayoutKind.
Explicit
)]
Shared\MS\Win32\UnsafeNativeMethodsEventTrace.cs (2)
100
[StructLayout(LayoutKind.
Explicit
, Size = 16)]
240
[StructLayout(LayoutKind.
Explicit
, Size = 48 + 16 * MAX_MOF_FIELDS)]
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (2)
1188
[StructLayout(LayoutKind.
Explicit
)]
1201
[StructLayout(LayoutKind.
Explicit
)]
WsatUI (1)
Configuration\ETWSafeNativeMethods.cs (1)
16
[StructLayout(LayoutKind.
Explicit
, CharSet = CharSet.Unicode, Size = 48)]