38 references to Write
dotnet (1)
Commands\Test\MTP\TestApplication.cs (1)
484Volatile.Write(ref _protocolNegotiated, 1);
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.AspNetCore.Razor.Utilities.Shared (4)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\InterlockedOperations.cs (4)
127Volatile.Write(ref state, Initialized); 134Volatile.Write(ref state, NotInitialized); 210Volatile.Write(ref state, Initialized); 217Volatile.Write(ref state, NotInitialized);
Microsoft.CodeAnalysis (2)
CodeGen\TokenMap.cs (1)
83Volatile.Write(ref _count, count);
InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\LexicalSortKey.cs (1)
139Volatile.Write(ref _position, other._position);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Intermediate\LazyContent.cs (1)
65Volatile.Write(ref _state, Initialized);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\LexicalSortKey.vb (1)
237Volatile.Write(Me._position, other._position)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
Microsoft.Extensions.Caching.Hybrid.Tests (1)
StampedeTests.cs (1)
132Volatile.Write(ref executeCount, 0);
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogCollector.LogEnumeration.cs (1)
173Volatile.Write(ref _moveNextActive, 0);
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SingleInitNullable.cs (1)
64Volatile.Write(ref _initialized, 2);
System.Console (1)
System\ConsolePal.Unix.cs (1)
1112Volatile.Write(ref s_invalidateCachedSettings, 1);
System.Net.Quic (4)
System\Net\Quic\QuicStream.cs (4)
460Volatile.Write(ref _sendLocked, 0); 536Volatile.Write(ref _sendLocked, 0); 607Volatile.Write(ref _receivedNeedsEnable, 1); 619Volatile.Write(ref _sendLocked, 0);
System.Private.CoreLib (11)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifier.cs (1)
188Volatile.Write(ref _buckets[bucket], newEntryIdx);
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (1)
245Volatile.Write(ref _buckets[bucket], newEntryIdx);
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (1)
227Volatile.Write(ref _buckets[bucket], newEntryIdx);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueueSegment.cs (2)
149Volatile.Write(ref slots[slotsIndex].SequenceNumber, currentHead + slots.Length); 298Volatile.Write(ref slots[slotsIndex].SequenceNumber, currentTail + 1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (3)
624Volatile.Write(ref _buckets[bucket], newEntry); 732Volatile.Write(ref entry.HashCode, -1); 865Volatile.Write(ref oldEntry.HashCode, -1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
895Volatile.Write(
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (1)
428Volatile.Write(ref _separated.priorCompletedWorkRequestsTime, currentTicks);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
621public static void VolatileWrite(ref int address, int value) => Volatile.Write(ref address, value);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (1)
115Volatile.Write(ref _buckets[bucket], newEntryIdx);
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\ReflectionEmitCachingMemberAccessor.Cache.cs (1)
52Volatile.Write(ref _evictLock, 0);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
377Volatile.Write(ref _dfaDelta[offset], targetState.Id);