1 write to Data
System.Windows.Forms.Primitives (1)
System\Windows\Forms\RefCountedCache.CacheEntry.cs (1)
21
Data
= data;
11 references to Data
System.Windows.Forms (3)
System\Windows\Forms\Rendering\FontCache.cs (2)
50
=> entry.
Data
.Font.TryGetTarget(out Font? currentFont)
52
&& key.Quality == entry.
Data
.Quality;
System\Windows\Forms\Rendering\FontCache.FontCacheEntry.cs (1)
11
public override HFONT Object =>
Data
.HFONT;
System.Windows.Forms.Primitives (5)
System\Windows\Forms\GdiPlus\PenCache.cs (1)
13
protected override bool IsMatch(Color key, CacheEntry entry) => key == entry.
Data
;
System\Windows\Forms\GdiPlus\SolidBrushCache.cs (1)
13
protected override bool IsMatch(Color key, CacheEntry data) => key == data.
Data
;
System\Windows\Forms\RefCountedCache.CacheEntry.cs (2)
69
/// By default we dispose of <see cref="
Data
"/> and <see cref="Object"/> if they implement
79
disposable =
Data
as IDisposable;
System\Windows\Forms\RefCountedCache.Scope.cs (1)
47
public TCacheEntryData Data => Entry is null ? default : Entry.
Data
;
System.Windows.Forms.Primitives.Tests (3)
System\Windows\Forms\RefCacheTests.cs (3)
86
protected override bool IsMatch(int key, CacheEntry data) => key == data.
Data
.ToArgb();
91
public override Color Object =>
Data
;
106
protected override bool IsMatch(int key, CacheEntry data) => key == data.
Data
;