5 overrides of Object
System.Windows.Forms (1)
System\Windows\Forms\Rendering\FontCache.FontCacheEntry.cs (1)
11
public override HFONT
Object
=> Data.HFONT;
System.Windows.Forms.Primitives (2)
System\Windows\Forms\GdiPlus\PenCache.cs (1)
19
public override Pen
Object
=> _pen;
System\Windows\Forms\GdiPlus\SolidBrushCache.cs (1)
20
public override SolidBrush
Object
=> _brush;
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\RefCacheTests.cs (2)
91
public override Color
Object
=> Data;
112
public override T
Object
=> _object;
5 references to Object
System.Windows.Forms.Primitives (4)
System\Windows\Forms\RefCountedCache.CacheEntry.cs (3)
66
private string DebuggerDisplay => $"Object: {
Object
} RefCount: {RefCount}";
69
/// By default we dispose of <see cref="Data"/> and <see cref="
Object
"/> if they implement
77
var disposable =
Object
as IDisposable;
System\Windows\Forms\RefCountedCache.Scope.cs (1)
71
return entry is null ? scope._object : entry.
Object
;
System.Windows.Forms.Tests (1)
System\Windows\Forms\FontCacheTests.cs (1)
34
Assert.False(hfont.
Object
.IsNull);