10 writes to Value
Aspire.Hosting.Testing (2)
DistributedApplicationEntryPointInvoker.cs (2)
229s_currentListener.Value = observer; 234s_currentListener.Value = null;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformGraphicsService.cs (1)
31 set => _threadLocalCreator.Value = value;
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentBag.cs (1)
136_locals.Value = queue;
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (4)
372m_threadProcessingMode.Value = ProcessingMode.ProcessingExclusiveTask; 390m_threadProcessingMode.Value = ProcessingMode.NotCurrentlyProcessing; 419m_threadProcessingMode.Value = ProcessingMode.ProcessingConcurrentTasks; 448m_threadProcessingMode.Value = ProcessingMode.NotCurrentlyProcessing;
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
725GetThreadLocal(slot).Value = value;
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (1)
330Value = value;
31 references to Value
Aspire.Hosting.Testing (2)
DistributedApplicationEntryPointInvoker.cs (2)
248if (s_currentListener.Value != this) 271if (s_currentListener.Value != this)
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (2)
201var highLightedList = GetHighlightedList(session, patternMatcherHelper.Value!, itemsToBeIncluded, cancellationToken); 279if (threadLocalPatternMatchHelper.Value!.TryCreateMatchResult(itemData.RoslynItem, roslynInitialTriggerKind, roslynFilterReason,
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
422private Stats GetStats() => _stats!.Value!;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformGraphicsService.cs (1)
30 get => _threadLocalCreator.Value;
Microsoft.ML.AutoML (4)
ColumnInference\TextFileSample.cs (1)
142.Select(x => AutoMlUtils.Random.Value.NextDouble() * fileSizeRemaining)
Sweepers\Random.cs (1)
26return new ParameterSet(SweepParameters.Select(sweepParameter => sweepParameter.CreateFromNormalized(AutoMlUtils.Random.Value.NextDouble())));
Sweepers\SweeperProbabilityUtils.cs (2)
39u1 = AutoMlUtils.Random.Value.NextDouble(); 40u2 = AutoMlUtils.Random.Value.NextDouble();
Microsoft.ML.AutoML.Tests (2)
GetNextPipelineTests.cs (1)
68var result = new PipelineScore(pipeline, AutoMlUtils.Random.Value.NextDouble(), true);
TextFileSampleTests.cs (1)
33AutoMlUtils.Random.Value.NextBytes(row);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ContextValue.vb (1)
55Return s_threadLocal.Value
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentBag.cs (1)
122_locals.Value ??
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (5)
370Debug.Assert(m_threadProcessingMode.Value == ProcessingMode.NotCurrentlyProcessing, 388Debug.Assert(m_threadProcessingMode.Value == ProcessingMode.ProcessingExclusiveTask, 417Debug.Assert(m_threadProcessingMode.Value == ProcessingMode.NotCurrentlyProcessing, 446Debug.Assert(m_threadProcessingMode.Value == ProcessingMode.ProcessingConcurrentTasks, 602if (m_pair.m_threadProcessingMode.Value == m_processingMode)
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
720return GetThreadLocal(slot).Value;
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (11)
91/// an attempt is made to retrieve <see cref="Value"/> without it having been previously initialized. 109/// an attempt is made to retrieve <see cref="Value"/> without it having been previously initialized. 212/// <returns>The result of calling <see cref="object.ToString"/> on the <see cref="Value"/>.</returns> 214/// The <see cref="Value"/> for the current thread is a null reference (<see langword="Nothing" /> in Visual Basic). 217/// The initialization function referenced <see cref="Value"/> in an improper manner. 224/// case with accessing <see cref="Value"/> directly. 228return Value!.ToString(); // Throws NullReferenceException as if caller called ToString on the value itself 235/// The initialization function referenced <see cref="Value"/> in an improper manner. 242/// accessing <see cref="Value"/> will attempt to initialize it. If an initialization function was 244/// to retrieve the initial value for <see cref="Value"/>. Otherwise, the default value of 476/// Gets whether <see cref="Value"/> is initialized on the current thread.