158 references to MemoryBarrier
mscorlib (61)
system\console.cs (1)
292
System.Threading.Thread.
MemoryBarrier
();
system\environment.cs (1)
1274
System.Threading.Thread.
MemoryBarrier
();
system\globalization\cultureinfo.cs (3)
555
System.Threading.Thread.
MemoryBarrier
();
1451
System.Threading.Thread.
MemoryBarrier
();
1561
System.Threading.Thread.
MemoryBarrier
();
system\io\filestream.cs (3)
253
Thread.
MemoryBarrier
();
277
Thread.
MemoryBarrier
();
351
Thread.
MemoryBarrier
();
system\io\streamwriter.cs (1)
113
Thread.
MemoryBarrier
();
system\security\cryptography\passwordderivebytes.cs (1)
45
System.Threading.Thread.
MemoryBarrier
();
system\security\cryptography\rfc2898derivebytes.cs (1)
290
System.Threading.Thread.
MemoryBarrier
();
system\threading\CancellationTokenSource.cs (1)
833
Thread.
MemoryBarrier
(); // for safety, prevent reorderings crossing this point and seeing inconsistent state.
system\threading\interlocked.cs (1)
253
Thread.
MemoryBarrier
();
system\threading\thread.cs (26)
1586
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1594
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1602
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1610
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1619
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1628
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1637
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1645
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1654
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1663
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1671
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1679
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1687
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1694
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1701
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1708
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1715
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1723
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1731
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1739
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1746
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1754
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1762
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1769
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1776
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
1783
MemoryBarrier
(); // Call MemoryBarrier to ensure the proper semantic in a portable way.
system\threading\volatile.cs (22)
39
Thread.
MemoryBarrier
();
52
Thread.
MemoryBarrier
();
64
Thread.
MemoryBarrier
();
76
Thread.
MemoryBarrier
();
89
Thread.
MemoryBarrier
();
101
Thread.
MemoryBarrier
();
114
Thread.
MemoryBarrier
();
158
Thread.
MemoryBarrier
();
171
Thread.
MemoryBarrier
();
183
Thread.
MemoryBarrier
();
209
Thread.
MemoryBarrier
();
223
Thread.
MemoryBarrier
();
235
Thread.
MemoryBarrier
();
246
Thread.
MemoryBarrier
();
257
Thread.
MemoryBarrier
();
269
Thread.
MemoryBarrier
();
280
Thread.
MemoryBarrier
();
292
Thread.
MemoryBarrier
();
341
Thread.
MemoryBarrier
();
353
Thread.
MemoryBarrier
();
364
Thread.
MemoryBarrier
();
389
Thread.
MemoryBarrier
();
System (5)
net\System\Net\HttpWebRequest.cs (1)
3168
Thread.
MemoryBarrier
();
net\System\Net\ServicePointManager.cs (1)
710
Thread.
MemoryBarrier
();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
186
Thread.
MemoryBarrier
();
sys\system\io\ports\SerialStream.cs (2)
799
Thread.
MemoryBarrier
();
1831
Thread.
MemoryBarrier
();
System.Activities (9)
System\Activities\WorkflowApplication.cs (9)
810
Thread.
MemoryBarrier
();
1895
Thread.
MemoryBarrier
();
2350
Thread.
MemoryBarrier
();
3782
Thread.
MemoryBarrier
();
4595
Thread.
MemoryBarrier
();
5678
Thread.
MemoryBarrier
();
5690
Thread.
MemoryBarrier
();
5746
Thread.
MemoryBarrier
();
6028
Thread.
MemoryBarrier
();
System.AddIn (1)
System\Addin\Pipeline\ContractBase.cs (1)
88
System.Threading.Thread.
MemoryBarrier
();
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (5)
2014
Thread.
MemoryBarrier
();
2119
Thread.
MemoryBarrier
();
2577
Thread.
MemoryBarrier
();
2684
Thread.
MemoryBarrier
();
2931
Thread.
MemoryBarrier
();
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
243
Thread.
MemoryBarrier
();
261
Thread.
MemoryBarrier
();
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
1413
Thread.
MemoryBarrier
();
1436
Thread.
MemoryBarrier
();
System.Runtime.Serialization (19)
System\Runtime\Serialization\ClassDataContract.cs (6)
130
Thread.
MemoryBarrier
();
282
Thread.
MemoryBarrier
();
309
Thread.
MemoryBarrier
();
1003
Thread.
MemoryBarrier
();
1132
Thread.
MemoryBarrier
();
1251
Thread.
MemoryBarrier
();
System\Runtime\Serialization\CollectionDataContract.cs (5)
285
Thread.
MemoryBarrier
();
407
Thread.
MemoryBarrier
();
434
Thread.
MemoryBarrier
();
466
Thread.
MemoryBarrier
();
780
Thread.
MemoryBarrier
();
System\Runtime\Serialization\EnumDataContract.cs (1)
328
Thread.
MemoryBarrier
();
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
48
Thread.
MemoryBarrier
();
71
Thread.
MemoryBarrier
();
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (3)
45
Thread.
MemoryBarrier
();
77
Thread.
MemoryBarrier
();
100
Thread.
MemoryBarrier
();
System\Runtime\Serialization\XmlDataContract.cs (2)
153
Thread.
MemoryBarrier
();
250
Thread.
MemoryBarrier
();
System.Security (8)
system\security\cryptography\xml\utils.cs (8)
228
Thread.
MemoryBarrier
();
292
Thread.
MemoryBarrier
();
314
Thread.
MemoryBarrier
();
336
Thread.
MemoryBarrier
();
359
Thread.
MemoryBarrier
();
383
Thread.
MemoryBarrier
();
431
Thread.
MemoryBarrier
();
453
Thread.
MemoryBarrier
();
System.ServiceModel (13)
System\ServiceModel\Activation\SharedMemory.cs (1)
60
Thread.
MemoryBarrier
();
System\ServiceModel\Channels\MessageHeaders.cs (1)
1198
System.Threading.Thread.
MemoryBarrier
();
System\ServiceModel\Channels\PipeConnection.cs (2)
2659
Thread.
MemoryBarrier
();
2702
Thread.
MemoryBarrier
();
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
99
System.Threading.Thread.
MemoryBarrier
();
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
28
Thread.
MemoryBarrier
();
System\ServiceModel\ComIntegration\OuterProxyWrapper.cs (1)
101
Thread.
MemoryBarrier
();
System\ServiceModel\ComIntegration\TypeCacheManager.cs (1)
43
Thread.
MemoryBarrier
();
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (1)
44
Thread.
MemoryBarrier
();
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (2)
94
Thread.
MemoryBarrier
();
99
Thread.
MemoryBarrier
();
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
252
Thread.
MemoryBarrier
();
System\ServiceModel\Security\SecurityUtils.cs (1)
2349
Thread.
MemoryBarrier
();
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
976
Thread.
MemoryBarrier
();
3872
Thread.
MemoryBarrier
();
System.Transactions (9)
System\Transactions\Enlistment.cs (1)
301
Thread.
MemoryBarrier
();
System\Transactions\Oletx\OletxEnlistment.cs (1)
741
Thread.
MemoryBarrier
();
System\Transactions\Oletx\OletxResourceManager.cs (2)
167
Thread.
MemoryBarrier
();
1062
Thread.
MemoryBarrier
();
System\Transactions\Oletx\OleTxTransaction.cs (2)
460
Thread.
MemoryBarrier
();
1420
Thread.
MemoryBarrier
();
System\Transactions\Transaction.cs (1)
1091
Thread.
MemoryBarrier
();
System\Transactions\TransactionTable.cs (2)
655
Thread.
MemoryBarrier
(); // This data must be written before the transaction
697
Thread.
MemoryBarrier
();
System.Web (6)
Configuration\HttpCapabilitiesBase.cs (2)
553
Thread.
MemoryBarrier
();
878
Thread.
MemoryBarrier
();
Hosting\IPipelineRuntime.cs (4)
161
Thread.
MemoryBarrier
();
181
Thread.
MemoryBarrier
();
201
Thread.
MemoryBarrier
();
221
Thread.
MemoryBarrier
();
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
298
Thread.
MemoryBarrier
();
System.Windows.Forms (4)
winforms\Managed\System\WinForms\FileDialog.cs (2)
636
Thread.
MemoryBarrier
();
667
Thread.
MemoryBarrier
();
winforms\Managed\System\WinForms\FileDialog_Vista.cs (2)
165
Thread.
MemoryBarrier
();
198
Thread.
MemoryBarrier
();
System.Workflow.Activities (1)
LocalService\CorrelationResolver.cs (1)
128
System.Threading.Thread.
MemoryBarrier
();
System.Workflow.ComponentModel (3)
AuthoringOM\ActivityExecutor.cs (3)
191
System.Threading.Thread.
MemoryBarrier
();
199
System.Threading.Thread.
MemoryBarrier
();
223
System.Threading.Thread.
MemoryBarrier
();
System.Workflow.Runtime (3)
WorkflowDefinitionDispenser.cs (2)
363
Thread.
MemoryBarrier
();
524
Thread.
MemoryBarrier
();
WorkflowEventArgs.cs (1)
78
Thread.
MemoryBarrier
();
System.Xml (1)
System\Xml\XmlCharType.cs (1)
432
Thread.
MemoryBarrier
(); // For weak memory models (IA64)
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
613
Thread.
MemoryBarrier
();
791
Thread.
MemoryBarrier
();
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
272
System.Threading.Thread.
MemoryBarrier
();