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