Skip to content

Commit

Permalink
net8.0, designer, runtime fixes Make constructors public and add para…
Browse files Browse the repository at this point in the history
…meterless constructors

Modified constructors in `fyiReporting.RdlDesign` namespace to be public.
Added parameterless constructors to resolve `MissingMethodException`.
  • Loading branch information
majorsilence committed Jan 1, 2025
1 parent 6f987a2 commit 1df316a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions RdlDesign/RdlProperties/PropertyReport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal class PropertyReport
private DesignXmlDraw _Draw;
private DesignCtl _DesignCtl;

internal PropertyReport(DesignXmlDraw d, DesignCtl dc)
public PropertyReport(DesignXmlDraw d, DesignCtl dc)
{
_Draw = d;
_DesignCtl = dc;
Expand Down Expand Up @@ -345,7 +345,7 @@ internal class PropertyReportParameters
{
PropertyReport pr;

internal PropertyReportParameters(PropertyReport r)
public PropertyReportParameters(PropertyReport r)
{
pr = r;
}
Expand Down Expand Up @@ -409,7 +409,8 @@ public override object ConvertTo(ITypeDescriptorContext context,

internal class PropertyReportParameterUIEditor : UITypeEditor
{
internal PropertyReportParameterUIEditor()
// Adding a parameterless constructor to resolve the MissingMethodException
public PropertyReportParameterUIEditor()
{
}

Expand Down Expand Up @@ -452,7 +453,8 @@ public override object EditValue(ITypeDescriptorContext context,
}
}
}
#endregion

#endregion

#region Code
[TypeConverter(typeof(PropertyReportCodeConverter)),
Expand All @@ -461,7 +463,7 @@ internal class PropertyReportCode
{
PropertyReport pr;

internal PropertyReportCode(PropertyReport r)
public PropertyReportCode(PropertyReport r)
{
pr = r;
}
Expand Down Expand Up @@ -505,7 +507,7 @@ public override object ConvertTo(ITypeDescriptorContext context,

internal class PropertyReportCodeUIEditor : UITypeEditor
{
internal PropertyReportCodeUIEditor()
public PropertyReportCodeUIEditor() : base()
{
}

Expand Down Expand Up @@ -557,7 +559,7 @@ internal class PropertyReportModulesClasses
{
PropertyReport pr;

internal PropertyReportModulesClasses(PropertyReport r)
public PropertyReportModulesClasses(PropertyReport r)
{
pr = r;
}
Expand Down Expand Up @@ -609,7 +611,7 @@ public override object ConvertTo(ITypeDescriptorContext context,

internal class PropertyReportModulesClassesUIEditor : UITypeEditor
{
internal PropertyReportModulesClassesUIEditor()
public PropertyReportModulesClassesUIEditor() : base()
{
}

Expand Down Expand Up @@ -657,7 +659,7 @@ public override object EditValue(ITypeDescriptorContext context,
#region XSLFile
internal class FileUIEditor : UITypeEditor
{
internal FileUIEditor()
public FileUIEditor()
{
}

Expand Down

0 comments on commit 1df316a

Please sign in to comment.