3 writes to Value
Microsoft.Build (1)
Collections\ItemDictionary.cs (1)
304node.Value = newItem;
Microsoft.CodeAnalysis.EditorFeatures (1)
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (1)
150node.Value = node.Value with { Span = span };
Microsoft.ML.Tokenizers (1)
Utils\LruCache.cs (1)
103cached.Value = new KeyValuePair<string, TValue>(key, value);
110 references to Value
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\MruCache.cs (2)
75TKey keyRemove = _mruList.Last.Value; 143if (_mruEntry.node != null && key != null && key.Equals(_mruEntry.node.Value))
Microsoft.Build (28)
BackEnd\Components\RequestBuilder\Lookup.cs (26)
126get { return _lookupScopes.First.Value.Items; } 127set { _lookupScopes.First.Value.Items = value; } 132get { return _lookupScopes.First.Value.Adds; } 133set { _lookupScopes.First.Value.Adds = value; } 138get { return _lookupScopes.First.Value.Removes; } 139set { _lookupScopes.First.Value.Removes = value; } 144get { return _lookupScopes.First.Value.Modifies; } 145set { _lookupScopes.First.Value.Modifies = value; } 150get { return _lookupScopes.First.Value.PropertySets; } 151set { _lookupScopes.First.Value.PropertySets = value; } 156get { return _lookupScopes.First.Next.Value.Items; } 157set { _lookupScopes.First.Next.Value.Items = value; } 162get { return _lookupScopes.First.Next.Value.Adds; } 163set { _lookupScopes.First.Next.Value.Adds = value; } 168get { return _lookupScopes.First.Next.Value.Removes; } 169set { _lookupScopes.First.Next.Value.Removes = value; } 174get { return _lookupScopes.First.Next.Value.Modifies; } 175set { _lookupScopes.First.Next.Value.Modifies = value; } 180get { return _lookupScopes.First.Next.Value.Properties; } 181set { _lookupScopes.First.Next.Value.Properties = value; } 186get { return _lookupScopes.First.Next.Value.PropertySets; } 187set { _lookupScopes.First.Next.Value.PropertySets = value; } 264ErrorUtilities.VerifyThrow(Object.ReferenceEquals(scopeToLeave, _lookupScopes.First.Value), "Attempting to leave with scope '{0}' but scope '{1}' is on top of the stack.", scopeToLeave.Description, _lookupScopes.First.Value.Description); 759Scope scope = node.Value; 991Scope scope = node.Value;
Evaluation\ProjectRootElementCache.cs (2)
589if (Object.ReferenceEquals(node.Value, projectRootElement)) 607DebugTraceCache("Shedding: ", node.Value.FullPath);
Microsoft.CodeAnalysis (1)
InternalUtilities\ConcurrentLruCache.cs (1)
105_cache.Remove(lastNode!.Value);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
114var currentNode = nodes.First!.Value;
Microsoft.CodeAnalysis.EditorFeatures (6)
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (6)
129classifications.AddRange(node.Value.ClassifiedSpans); 150node.Value = node.Value with { Span = span }; 153node.Value.ClassifiedSpans.Clear(); 154node.Value.ClassifiedSpans.AddRange(newClassifications); 180Debug.Assert(_spanToLruNode[firstNode.Value.Span] == firstNode); 181_spanToLruNode.Remove(firstNode.Value.Span);
Microsoft.CodeAnalysis.Remote.ServiceHub (9)
Host\RemoteSolutionCache.cs (7)
73if (current.Value.Checksum.Equals(checksum)) 99Contract.ThrowIfFalse(_cacheNodes.First.Value.Checksum.Equals(checksum)); 102_cacheNodes.First.Value.Solution = solution; 114current.Value.Solution = null; 127if (current.Value.Checksum.Equals(checksum)) 130if (current.Value.Solution is null) 142return current.Value.Solution;
Services\DiagnosticAnalyzer\PerformanceQueue.cs (1)
52first.Value.Update(rawData, unitCount);
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
267if (currentNode.Value.id == documentKey.Id)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
114var currentNode = nodes.First!.Value;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
105_cache.Remove(lastNode!.Value);
Microsoft.ML.Core (3)
Utilities\LruCache.cs (3)
47Contracts.Assert(key.GetHashCode() == node.Value.Key.GetHashCode()); 50value = node.Value.Value; 71_cache.Remove(node.Value.Key);
Microsoft.ML.Data (1)
Model\Pfa\SavePfaCommand.cs (1)
143Host.Assert(transforms.Count == 0 || transforms.Last.Value == end);
Microsoft.ML.OnnxConverter (1)
SaveOnnxCommand.cs (1)
335Host.Assert(transforms.Count == 0 || transforms.Last.Value == end);
Microsoft.ML.Tokenizers (3)
Utils\LruCache.cs (3)
55value = cached.Value.Value; 82value = cached.Value.Value; 113_cache.Remove(new StringSpanOrdinalKey(nodeToEvict!.Value.Key));
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\CompilerServices\CacheDict.vb (1)
33_dict.Remove(last.Value)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
1594Return node.Value 1597_dict.Remove(_list.Last.Value)
Microsoft.VisualStudio.LanguageServices (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
105_cache.Remove(lastNode!.Value);
System.Data.Common (4)
System\Data\SortExpressionBuilder.cs (4)
134if (selector == _currentSelector!.Value) 147if (comparer == _currentComparer!.Value) 169if (selector == _currentSelector!.Value) 182if (comparer == _currentComparer!.Value)
System.IO.Packaging (1)
System\IO\Packaging\OrderedDictionary.cs (1)
61value = node.Value;
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
522TimerQueue? queue = (TimerQueue?)node.Value.Target;
System.Windows.Forms (25)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarAccessibleObject.cs (3)
93if (_monthCalendarAccessibleObject.CalendarsAccessibleObjects?.Last?.Value == this 110=> _monthCalendarAccessibleObject.CalendarsAccessibleObjects?.Find(this)?.Next?.Value 117: _monthCalendarAccessibleObject.CalendarsAccessibleObjects?.Find(this)?.Previous?.Value,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (3)
76NavigateDirection.NavigateDirection_FirstChild => RowsAccessibleObjects?.First?.Value, 77NavigateDirection.NavigateDirection_LastChild => RowsAccessibleObjects?.Last?.Value, 92return RowsAccessibleObjects?.First?.Value.CellsAccessibleObjects?.ToArray();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (3)
96=> _calendarRowAccessibleObject.CellsAccessibleObjects?.Find(this)?.Next?.Value, 100: _calendarRowAccessibleObject.CellsAccessibleObjects?.Find(this)?.Previous?.Value, 115CalendarRowAccessibleObject? topRow = _calendarBodyAccessibleObject.RowsAccessibleObjects?.First?.Value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarDayOfWeekCellAccessibleObject.cs (2)
42NavigateDirection.NavigateDirection_NextSibling => _calendarRowAccessibleObject.CellsAccessibleObjects?.Find(this)?.Next?.Value, 43NavigateDirection.NavigateDirection_PreviousSibling => _calendarRowAccessibleObject.CellsAccessibleObjects?.Find(this)?.Previous?.Value,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (1)
39NavigateDirection.NavigateDirection_NextSibling => _monthCalendarAccessibleObject.CalendarsAccessibleObjects?.First?.Value,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (7)
128CalendarCellAccessibleObject? cell = CellsAccessibleObjects?.First?.Value; 146=> _calendarBodyAccessibleObject.RowsAccessibleObjects?.Find(this)?.Next?.Value, 148=> _calendarBodyAccessibleObject.RowsAccessibleObjects?.Find(this)?.Previous?.Value, 152: CellsAccessibleObjects?.First?.Value, 153NavigateDirection.NavigateDirection_LastChild => CellsAccessibleObjects?.Last?.Value, 217|| CellsAccessibleObjects.First.Value.DateRange is null) 224_rowIndex, -1, GetWeekNumber(CellsAccessibleObjects.First.Value.DateRange.Start));
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarTodayLinkAccessibleObject.cs (1)
40=> _monthCalendarAccessibleObject.CalendarsAccessibleObjects?.Last?.Value,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
47NavigateDirection.NavigateDirection_NextSibling => _calendarRowAccessibleObject.CellsAccessibleObjects?.First?.Value,
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (4)
137int currentY = CalendarsAccessibleObjects.First?.Value.Bounds.Y ?? 0; 174=> CalendarsAccessibleObjects?.First?.Value is CalendarAccessibleObject firstCalendar 179=> CalendarsAccessibleObjects?.Last?.Value is CalendarAccessibleObject lastCalendar 213: CalendarsAccessibleObjects?.Last?.Value,
System.Windows.Forms.Tests (18)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarAccessibleObjectTests.cs (10)
152CalendarAccessibleObject calendar = calendarNode.Value; 298CalendarAccessibleObject calendar = calendarNode.Value; 355CalendarAccessibleObject calendar1 = calendars?.First?.Value; 356CalendarAccessibleObject calendar2 = calendars?.First?.Next?.Value; 357CalendarAccessibleObject calendar3 = calendars?.First?.Next?.Next?.Value; 358CalendarAccessibleObject calendar4 = calendars?.First?.Next?.Next?.Next?.Value; 397CalendarAccessibleObject calendar1 = calendars?.First?.Value; 398CalendarAccessibleObject calendar2 = calendars?.First?.Next?.Value; 399CalendarAccessibleObject calendar3 = calendars?.First?.Next?.Next?.Value; 400CalendarAccessibleObject calendar4 = calendars?.First?.Next?.Next?.Next?.Value;
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (1)
151CalendarBodyAccessibleObject calendarBody = calendarNode.Value.CalendarBodyAccessibleObject;
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (7)
144CalendarDayOfWeekCellAccessibleObject sunday = days?.First?.Value as CalendarDayOfWeekCellAccessibleObject; 145CalendarDayOfWeekCellAccessibleObject monday = days?.First?.Next?.Value as CalendarDayOfWeekCellAccessibleObject; 146CalendarDayOfWeekCellAccessibleObject tuesday = days?.First?.Next?.Next?.Value as CalendarDayOfWeekCellAccessibleObject; 147CalendarDayOfWeekCellAccessibleObject friday = days?.Last?.Previous?.Value as CalendarDayOfWeekCellAccessibleObject; 148CalendarDayOfWeekCellAccessibleObject saturday = days?.Last?.Value as CalendarDayOfWeekCellAccessibleObject; 188CalendarDayOfWeekCellAccessibleObject sunday = days?.First?.Value as CalendarDayOfWeekCellAccessibleObject; 189CalendarDayOfWeekCellAccessibleObject monday = days?.First?.Next?.Value as CalendarDayOfWeekCellAccessibleObject;