Skip to content

Commit 2927a11

Browse files
committed
Partial fox for future possible porting to .NET Standard
1 parent 40dfd55 commit 2927a11

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

itext/itext.cleanup/itext/pdfcleanup/CleanUpExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ source product.
4545
using System;
4646
using System.Collections;
4747
using System.Collections.Generic;
48+
using System.IO;
4849
using System.Linq;
4950
using System.Reflection;
5051
using System.Text;

itext/itext.cleanup/itext/pdfcleanup/PdfCleanUpTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public PdfCleanUpTool(PdfDocument pdfDocument, bool cleanRedactAnnotations) {
189189
private static Type GetClass(string className)
190190
{
191191
String licenseKeyClassFullName = null;
192-
Assembly assembly = typeof(PdfCleanUpTool).Assembly;
192+
Assembly assembly = typeof(PdfCleanUpTool).GetAssembly();
193193
Attribute keyVersionAttr = assembly.GetCustomAttribute(typeof(KeyVersionAttribute));
194194
if (keyVersionAttr is KeyVersionAttribute)
195195
{

0 commit comments

Comments
 (0)