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