diff --git a/ReportDemoComponents/SimpleClosedXMLDemo.razor b/ReportDemoComponents/SimpleClosedXMLDemo.razor index 81abb6d589..f8ec336703 100644 --- a/ReportDemoComponents/SimpleClosedXMLDemo.razor +++ b/ReportDemoComponents/SimpleClosedXMLDemo.razor @@ -4,11 +4,14 @@ @implements IAsyncDisposable diff --git a/ReportDemoComponents/Utilities.cs b/ReportDemoComponents/Utilities.cs index 3501db24f6..bbcaf36dc5 100644 --- a/ReportDemoComponents/Utilities.cs +++ b/ReportDemoComponents/Utilities.cs @@ -7,7 +7,7 @@ public static class Utilities { public static DataTable ToDataTable(this IEnumerable data, string name) { - PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(T)!); + PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(T)); DataTable table = new(name); foreach (PropertyDescriptor prop in properties)