Skip to content

Commit 1c16027

Browse files
committed
drop .NET 5 condition in XGraphics.cs
-> in 51dd927 (2022-05-01) stale conditionals have been removed, .NET 5 condition was left and made XForm non-functional in .NET versions != 5.0
1 parent 90eb7db commit 1c16027

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PdfSharpCore/Drawing/XGraphics.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,11 @@ public sealed class XGraphics : IDisposable
207207
form.AssociateGraphics(this);
208208

209209
_gsStack = new GraphicsStateStack(this);
210-
#if NET5_0
211210
_drawGraphics = false;
212211
if (form.Owner != null)
213212
_renderer = new XGraphicsPdfRenderer(form, this);
214213
_pageSize = form.Size;
215214
Initialize();
216-
#endif
217215
}
218216

219217
/// <summary>

0 commit comments

Comments
 (0)