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