233 references to Increment
mscorlib (22)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
117
int numAllocCalls = Interlocked.
Increment
(ref m_numAllocCalls);
system\Collections\Concurrent\ConcurrentQueue.cs (4)
315
Interlocked.
Increment
(ref m_numSnapshotTakers);
475
Interlocked.
Increment
(ref m_numSnapshotTakers);
624
Interlocked.
Increment
(ref m_numSnapshotTakers);
797
newhigh = Interlocked.
Increment
(ref m_high);
system\collections\concurrent\PartitionerStatic.cs (2)
672
Interlocked.
Increment
(ref m_activeCopiers);
932
Interlocked.
Increment
(ref m_activePartitionCount.Value);
System\Diagnostics\Eventing\TraceLogging\NameInfo.cs (1)
44
this.identity = Interlocked.
Increment
(ref lastIdentity);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
472
int newCount = Interlocked.
Increment
(ref _count);
system\runtime\remoting\context.cs (1)
111
_ctxID = Interlocked.
Increment
(ref _ctxIDCounter);
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
897
roi.objectInfoId = Interlocked.
Increment
(ref readObjectInfoCounter);
system\sharedstatics.cs (1)
127
return Interlocked.
Increment
(ref _sharedStatics._Remoting_Identity_IDSeqNum);
system\threading\Tasks\Parallel.cs (6)
253
forkJoinContextID = Interlocked.
Increment
(ref s_forkJoinContextID);
292
int myIndex = Interlocked.
Increment
(ref actionIndex); // = index to use + 1
313
myIndex = Interlocked.
Increment
(ref actionIndex);
1099
forkJoinContextID = Interlocked.
Increment
(ref s_forkJoinContextID);
1414
forkJoinContextID = Interlocked.
Increment
(ref s_forkJoinContextID);
3228
forkJoinContextID = Interlocked.
Increment
(ref s_forkJoinContextID);
system\threading\Tasks\ParallelRangeManager.cs (1)
304
int nInitialRange = (Interlocked.
Increment
(ref m_nCurrentIndexRangeToAssign) - 1) % m_indexRanges.Length;
system\threading\Tasks\Task.cs (2)
1018
Interlocked.
Increment
(ref props.m_completionCountdown);
1307
newId = Interlocked.
Increment
(ref s_taskIdCounter);
system\threading\Tasks\TaskScheduler.cs (1)
413
newId = Interlocked.
Increment
(ref s_taskSchedulerIdCounter);
PresentationCore (2)
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
2098
uint renderID = (uint)Interlocked.
Increment
(ref _contextRenderID);
Core\CSharp\System\Windows\Media\SafeMILHandleMemoryPressure.cs (1)
38
Interlocked.
Increment
(ref _refCount);
PresentationFramework (5)
src\Framework\MS\Internal\Data\DataBindEngine.cs (1)
446
if (Interlocked.
Increment
(ref _cleanupRequests) == 1)
src\Framework\MS\Internal\Utility\MonitorWrapper.cs (1)
29
Interlocked.
Increment
(ref _enterCount);
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
340
int newWpfPayoutCount = Interlocked.
Increment
(ref _wpfPayloadCount);
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
1181
Interlocked.
Increment
(ref AutoGenChildNamePostfix);
src\Framework\System\Windows\StyleHelper.cs (1)
5345
Interlocked.
Increment
(ref lastChildIndex);
SMSvcHost (4)
System\ServiceModel\Activation\ActivatedMessageQueue.cs (1)
46
Interlocked.
Increment
(ref listenerChannelIdCounter), Guid.NewGuid());
System\ServiceModel\Activation\ListenerAdapterBase.cs (1)
227
if (Interlocked.
Increment
(ref closed) > 1)
System\ServiceModel\Activation\MsmqActivation.cs (1)
323
Interlocked.
Increment
(ref queueIdCounter), Guid.Empty);
System\ServiceModel\Activation\WorkerProcess.cs (1)
67
if (Interlocked.
Increment
(ref isUnregistered) == 1)
System (43)
compmod\system\componentmodel\TypeDescriptor.cs (3)
1908
int ci = System.Threading.Interlocked.
Increment
(ref _collisionIndex) - 1;
2944
Interlocked.
Increment
(ref _metadataVersion);
3012
Interlocked.
Increment
(ref _metadataVersion);
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
751
int currentVersion = Interlocked.
Increment
(ref s_CurrentVersion);
net\System\Net\_Connection.cs (1)
1554
int currentCount = Interlocked.
Increment
(ref m_ReservedCount);
net\System\Net\_ConnectStream.cs (2)
389
if ( Interlocked.
Increment
( ref m_DoneCalled) == 1 )
2529
if (Interlocked.
Increment
(ref m_ShutDown) > 1) {
net\System\Net\_LazyAsyncResult.cs (2)
347
if ((m_IntCompleted & ~c_HighBit) == 0 && (Interlocked.
Increment
(ref m_IntCompleted) & ~c_HighBit) == 1)
532
if ((m_IntCompleted & ~c_HighBit) == 0 && (Interlocked.
Increment
(ref m_IntCompleted) & ~c_HighBit) == 1)
net\System\Net\_NTAuthentication.cs (1)
349
m_UniqueUserId = (Interlocked.
Increment
(ref s_UniqueGroupId)).ToString(NumberFormatInfo.InvariantInfo) + m_UniqueUserId;
net\System\Net\_PooledStream.cs (2)
462
int newValue = Interlocked.
Increment
(ref m_SynchronousIOClosingState);
495
int newValue = Interlocked.
Increment
(ref m_SynchronousIOClosingState);
net\System\Net\_SafeNetHandles.cs (3)
299
if (Interlocked.
Increment
(ref _disposed) == 1) {
341
if (Interlocked.
Increment
(ref disposed) == 1) {
380
if (Interlocked.
Increment
(ref disposed) == 1) {
net\System\Net\_SSPISessionCache.cs (1)
44
int index = Interlocked.
Increment
(ref _Current) & c_MaxCacheSize;
net\System\Net\Cache\_CacheStreams.cs (8)
126
if (Interlocked.
Increment
(ref m_ReadNesting) != 1) {
216
if (Interlocked.
Increment
(ref m_ReadNesting) != 1) {
264
Interlocked.
Increment
(ref m_ReadNesting);
443
if (Interlocked.
Increment
(ref m_ReadNesting) != 1) {
668
if (Interlocked.
Increment
(ref m_ReadNesting) != 1) {
705
Interlocked.
Increment
(ref m_ReadNesting);
754
if (Interlocked.
Increment
(ref _Disposed) == 1) {
999
if (Interlocked.
Increment
(ref _Disposed) == 1) {
net\System\Net\connectionpool.cs (1)
609
Interlocked.
Increment
(ref m_WaitCount);
net\System\Net\filewebrequest.cs (1)
518
if (Interlocked.
Increment
(ref m_Aborted) == 1)
net\System\Net\HttpWebRequest.cs (1)
6299
return (Interlocked.
Increment
(ref s_UniqueGroupId)).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\mail\ClosableStream.cs (1)
29
if (Interlocked.
Increment
(ref closed) == 1)
net\System\Net\mail\MimeMultiPart.cs (1)
213
int b = Interlocked.
Increment
(ref boundary) - 1;
net\System\Net\mail\MultiAsyncResult.cs (1)
49
System.Threading.Interlocked.
Increment
(ref this.outstanding);
net\System\Net\SecureProtocols\_SslState.cs (1)
173
targetHost = "?" + Interlocked.
Increment
(ref UniqueNameInteger).ToString(NumberFormatInfo.InvariantInfo);
net\System\Net\webclient.cs (1)
92
if (AnotherCallInProgress(Interlocked.
Increment
(ref m_CallNesting))) {
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
552
if (Interlocked.
Increment
(ref m_CleanedUp) == 1)
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
117
int numAllocCalls = Interlocked.
Increment
(ref m_numAllocCalls);
regex\system\text\regularexpressions\RegexCompiler.cs (2)
3139
int typenum = Interlocked.
Increment
(ref _typeCount);
3426
int regexnum = Interlocked.
Increment
(ref _regexCount);
services\io\system\io\FileSystemWatcher.cs (2)
997
Interlocked.
Increment
(ref currentSession);
1046
Interlocked.
Increment
(ref currentSession);
sys\System\IO\compression\DeflateStream.cs (2)
389
Interlocked.
Increment
(ref asyncOperations);
653
Interlocked.
Increment
(ref asyncOperations);
sys\System\IO\compression\DeflateStreamAsyncResult.cs (2)
114
Interlocked.
Increment
(ref m_Completed);
120
if (Interlocked.
Increment
(ref m_InvokedCallback) == 1) {
sys\system\runtime\interopservices\handlecollector.cs (1)
69
Interlocked.
Increment
( ref handleCount);
System.Activities (1)
System\Activities\Activity.cs (1)
899
this.cacheId = Interlocked.
Increment
(ref nextCacheId);
System.AddIn (1)
System\Addin\Hosting\AddInServer.cs (1)
72
Interlocked.
Increment
(ref _addInAppDomains);
System.Core (8)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
109
int index = Interlocked.
Increment
(ref _index);
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
308
return _typeBuilder.DefineField("<ExpressionCompilerImplementationDetails>{" + Interlocked.
Increment
(ref _Counter) + "}" + name, type, FieldAttributes.Static | FieldAttributes.Private);
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
146
return "<ExpressionCompilerImplementationDetails>{" + Interlocked.
Increment
(ref _Counter) + "}lambda_method";
System\Diagnostics\PerformanceData\CounterSet.cs (1)
247
Interlocked.
Increment
(ref m_provider.m_counterSet);
System\IO\BufferedStream2.cs (1)
119
Interlocked.
Increment
(ref _pendingBufferCopy);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
186
Interlocked.
Increment
(ref m_sharedEmptyCount.Value);
System\Linq\Parallel\QueryOperators\Unary\SingleQueryOperator.cs (1)
161
Interlocked.
Increment
(ref m_totalElementCount.Value);
System\Linq\Parallel\Utils\PLINQETWProvider.cs (1)
52
return Interlocked.
Increment
(ref s_queryId);
System.Data (49)
fx\src\data\System\Data\Common\DataAdapter.cs (1)
37
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
39
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataColumn.cs (1)
89
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataRelation.cs (1)
84
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataRelationCollection.cs (1)
38
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataRow.cs (1)
45
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataSet.cs (1)
92
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataTable.cs (1)
177
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataTableCollection.cs (1)
40
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\DataView.cs (1)
103
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
37
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
56
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
42
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
30
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\OleDb\OleDbTransaction.cs (1)
31
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
30
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
33
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (1)
30
internal readonly int _objectID = Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (3)
76
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
461
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
1238
Interlocked.
Increment
(ref _waitCount);
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
45
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\Selection.cs (1)
95
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
255
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
47
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
31
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
75
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (1)
22
private readonly int _objectID = Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
265
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
75
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
480
int result = Interlocked.
Increment
(ref _startCount); // Add to refCount.
1241
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
88
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
915
Interlocked.
Increment
(ref _asyncCommandCount);
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (2)
48
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
351
Int32 openResultCount = Interlocked.
Increment
(ref _openResultCount);
fx\src\data\System\Data\SqlClient\SqlTransaction.cs (1)
22
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
32
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
376
int result = Interlocked.
Increment
(ref _nonTransactedOpenResultCount);
fx\src\data\System\Data\SqlClient\TdsParserSessionPool.cs (1)
33
private readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (8)
42
internal readonly int _objectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
566
int result = Interlocked.
Increment
(ref _activateCount); // must have non-zero activation count for reclaimation to work too.
917
int remaining = Interlocked.
Increment
(ref _pendingCallbacks);
1949
Interlocked.
Increment
(ref _readingCount);
2156
Interlocked.
Increment
(ref _readingCount);
2294
Interlocked.
Increment
(ref _readingCount);
2330
Interlocked.
Increment
(ref _readingCount);
2923
Interlocked.
Increment
(ref _asyncWriteCount);
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
32
internal readonly int ObjectID = System.Threading.Interlocked.
Increment
(ref _objectTypeCount);
System.Data.Entity (2)
System\Data\Mapping\Update\Internal\UpdateCommand.cs (2)
232
this.m_orderingIdentifier = Interlocked.
Increment
(ref s_orderingIdentifierCounter);
236
other.m_orderingIdentifier = Interlocked.
Increment
(ref s_orderingIdentifierCounter);
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
685
return "ScriptClass_" + System.Threading.Interlocked.
Increment
(ref scriptClassCounter);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (1)
243
Interlocked.
Increment
(ref m_refcount);
System.Management (2)
Instrumentation\EventSource.cs (1)
177
Interlocked.
Increment
(ref shutdownInProgress);
wmieventsink.cs (1)
121
hash = Threading.Interlocked.
Increment
(ref s_hash);
System.Net (3)
net\PeerToPeer\Collaboration\Peer.cs (2)
904
Interlocked.
Increment
(ref s_TraceEventId);
1284
Interlocked.
Increment
(ref m_numberOfResponses);
net\PeerToPeer\PeerNameResolver.cs (1)
913
Interlocked.
Increment
(ref s_TraceEventId);
System.Runtime.Remoting (1)
channels\core\requestqueue.cs (1)
147
Interlocked.
Increment
(ref _workItemCount);
System.ServiceModel (22)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
161
if (Interlocked.
Increment
(ref this.asyncWriteCount) > 1)
System\ServiceModel\Channels\LifetimeManager.cs (3)
132
Interlocked.
Increment
(ref busyWaiterCount);
165
Interlocked.
Increment
(ref this.busyWaiterCount);
230
Interlocked.
Increment
(ref this.busyWaiterCount);
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (3)
86
Interlocked.
Increment
(ref uncommittedMessageCount);
130
Interlocked.
Increment
(ref incompleteMessageCount);
165
Interlocked.
Increment
(ref incompleteMessageCount);
System\ServiceModel\Channels\PeerFlooder.cs (1)
548
int value = Interlocked.
Increment
(ref outgoingEnqueuedCount);
System\ServiceModel\Channels\PeerHelpers.cs (1)
35
int value = Interlocked.
Increment
(ref enqueuedCount);
System\ServiceModel\Channels\ServiceChannel.cs (2)
1222
Interlocked.
Increment
(ref this.activityCount);
2493
if (Interlocked.
Increment
(ref this.waitCount) == 2)
System\ServiceModel\Channels\UtilityExtension.cs (1)
123
Interlocked.
Increment
(ref pendingSends);
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (1)
49
Interlocked.
Increment
(ref instanceCount);
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (1)
349
newStopCount = Interlocked.
Increment
(ref this.stopCount);
System\ServiceModel\Dispatcher\QueryNode.cs (1)
1195
Interlocked.
Increment
(ref this.seq.refCount);
System\ServiceModel\Dispatcher\QueryProcessor.cs (1)
717
Interlocked.
Increment
(ref this.refCount);
System\ServiceModel\Security\SecurityListenerSettingsLifetimeManager.cs (1)
42
Interlocked.
Increment
(ref this.referenceCount);
System\ServiceModel\ServiceChannelManager.cs (4)
140
Interlocked.
Increment
(ref this.activityWaiterCount);
177
Interlocked.
Increment
(ref this.activityWaiterCount);
216
Interlocked.
Increment
(ref this.activityWaiterCount);
297
Interlocked.
Increment
(ref this.activityWaiterCount);
System\ServiceModel\ServiceHost.cs (1)
1205
Interlocked.
Increment
(ref this.busyCount);
System.ServiceModel.Activation (8)
System\ServiceModel\Activation\CollectibleLRUCache.cs (3)
80
node.LastCounter = Interlocked.
Increment
(ref counter);
115
node.LastCounter = Interlocked.
Increment
(ref counter);
139
node.LastCounter = Interlocked.
Increment
(ref counter);
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (2)
647
Interlocked.
Increment
(ref busyCount);
717
Interlocked.
Increment
(ref this.ambientTransactionCount);
System\ServiceModel\Activation\HostedHttpContext.cs (1)
181
if (Interlocked.
Increment
(ref this.impersonationReleased) == 1)
System\ServiceModel\Activation\HostedImpersonationContext.cs (2)
44
Interlocked.
Increment
(ref refCount);
107
Interlocked.
Increment
(ref refCount);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (2)
803
if (Interlocked.
Increment
(ref this.completedUnloadCount) == this.instanceCount)
884
if (Interlocked.
Increment
(ref thisPtr.completedUnloadCount) == thisPtr.instanceCount)
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpChannelListener.cs (1)
394
if (Interlocked.
Increment
(ref this.cleanedUp) == 1)
System.ServiceModel.Discovery (5)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (4)
96
complete = (Interlocked.
Increment
(ref this.completions) == innerResults.Length);
146
if (Interlocked.
Increment
(ref this.completions) == innerResults.Length)
183
if (Threading.Interlocked.
Increment
(ref this.completesCounter) == 1)
191
if (Threading.Interlocked.
Increment
(ref this.completesCounter) == 1)
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (1)
167
int index = Threading.Interlocked.
Increment
(ref this.currentSendIndex);
System.ServiceModel.Internals (1)
System\Runtime\IOThreadScheduler.cs (1)
482
int gateSnapshot = Interlocked.
Increment
(ref this.gate);
System.Transactions (8)
System\Transactions\Enlistment.cs (1)
296
Convert.ToString(Interlocked.
Increment
(ref InternalTransaction.nextHash), CultureInfo.InvariantCulture),
System\Transactions\Oletx\OleTxTransaction.cs (2)
695
Interlocked.
Increment
(ref this.undecidedEnlistmentCount);
1351
Interlocked.
Increment
( ref this.undisposedOletxTransactionCount );
System\Transactions\Transaction.cs (2)
442
this.cloneId = Interlocked.
Increment
(ref this.internalTransaction.cloneCount);
459
this.cloneId = Interlocked.
Increment
(ref this.internalTransaction.cloneCount);
System\Transactions\TransactionTable.cs (3)
79
readerIndex = Interlocked.
Increment
( ref this.readersIn );
124
Interlocked.
Increment
( ref this.readersOut );
650
int currentIndex = Interlocked.
Increment
( ref this.index );
System.Web (33)
AspNetSynchronizationContext.cs (1)
117
Interlocked.
Increment
(ref _state.VoidAsyncOutstandingOperationCount);
Cache\OutputCache.cs (1)
133
Interlocked.
Increment
(ref s_cEntries);
Cache\SqlCacheDependency.cs (2)
837
Interlocked.
Increment
(ref s_activePolling);
1166
Interlocked.
Increment
(ref dbState._refCount);
Compilation\BuildManagerHost.cs (1)
150
Interlocked.
Increment
(ref _pendingCallsCount);
Configuration\HttpCapabilitiesEvaluator.cs (1)
111
int id = Interlocked.
Increment
(ref _idCounter);
FileChangesMonitor.cs (4)
453
Interlocked.
Increment
(ref _activeDirMonCompletions);
1013
if (Interlocked.
Increment
(ref s_notificationBufferSizeIncreased) == 1) {
2042
Interlocked.
Increment
(ref _activeCallbackCount);
2067
Interlocked.
Increment
(ref _activeCallbackCount);
Hosting\ApplicationManager.cs (3)
194
Interlocked.
Increment
(ref _openCount);
729
int count = Interlocked.
Increment
(ref _activeHostingEnvCount);
862
Interlocked.
Increment
(ref _accessibleHostingEnvCount);
Hosting\HostingEnvironment.cs (1)
829
Interlocked.
Increment
(ref _busyCount);
Hosting\IPipelineRuntime.cs (1)
623
Interlocked.
Increment
(ref _inIndicateCompletionCount);
Hosting\ISAPIWorkerRequest.cs (2)
2362
Interlocked.
Increment
(ref _asyncIoCount); // increment async io count
2379
Interlocked.
Increment
(ref _asyncIoCount); // increment async io count
HttpRuntime.cs (3)
1375
Interlocked.
Increment
(ref _theRuntime._activeRequestCount);
1620
Interlocked.
Increment
(ref _activeRequestCount);
1717
Interlocked.
Increment
(ref _activeRequestCount);
LegacyAspNetSynchronizationContext.cs (1)
153
Interlocked.
Increment
(ref _pendingCount);
Management\SimpleMailWebEventProvider.cs (1)
199
Interlocked.
Increment
(ref _nonBufferNotificationSequence), // notificationSequence
Management\SqlWebEventProvider.cs (1)
199
Interlocked.
Increment
(ref _connectionCount);
Management\TemplatedMailWebEventProvider.cs (1)
157
Interlocked.
Increment
(ref _nonBufferNotificationSequence), // notificationSequence
Management\webeventbuffer.cs (2)
506
Interlocked.
Increment
(ref _threadsInFlush);
523
Interlocked.
Increment
(ref _notificationSequence),
Management\WebEvents.cs (1)
2242
timesRaised = Interlocked.
Increment
(ref _timesRaised);
RequestQueue.cs (1)
215
Interlocked.
Increment
(ref _workItemCount);
RequestTimeoutManager.cs (2)
124
Interlocked.
Increment
(ref _requestCount);
182
Interlocked.
Increment
( ref _count );
UI\LegacyPageAsyncTaskManager.cs (3)
203
Interlocked.
Increment
(ref _tasksStarted);
252
Interlocked.
Increment
(ref _tasksStarted);
314
int newTasksCompleted = Interlocked.
Increment
(ref _tasksCompleted);
System.Web.Services (2)
System\Web\Services\Protocols\ServerProtocol.cs (1)
280
return item.Pressure < threshold ? Interlocked.
Increment
(ref item.Pressure) >= threshold : false;
System\Web\Services\Protocols\WebServiceHandler.cs (1)
237
if (System.Threading.Interlocked.
Increment
(ref this.asyncCallbackCalls) == 1) {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Screen.cs (1)
471
Interlocked.
Increment
(ref desktopChangedCount);
System.WorkflowServices (1)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
42
string endpointUri = String.Format(CultureInfo.InvariantCulture, "{0}/{1}", baseUri, Interlocked.
Increment
(ref uriCounter));
System.Xml (1)
System\Xml\Schema\XmlSchema.cs (1)
493
schemaId = Interlocked.
Increment
(ref globalIdCounter);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
781
newEntry = Interlocked.
Increment
(ref numEntries);
WindowsBase (2)
Base\MS\Internal\WeakEventTable.cs (1)
206
if (Interlocked.
Increment
(ref _cleanupRequests) == 1)
Base\System\Windows\WeakEventManager.cs (1)
884
return (Interlocked.
Increment
(ref _users) != 1);