Skip to content

Commit

Permalink
Merge pull request #1805 from giduac/1804-Remove-warning-from-CommonH…
Browse files Browse the repository at this point in the history
…elper.cs

1804-Remove-warning-from-CommonHelper.cs
  • Loading branch information
Smurf-IV authored Oct 6, 2024
2 parents 0415671 + 0feface commit ad492ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ public static string MakeCustomDateFormat(string? format)
/// <returns>Reference to new instance.</returns>
public static object CreateInstance(Type itemType, IDesignerHost? host)
{
object retObj;
object? retObj;

// Cannot use the designer host to create component unless the type implements IComponent
if (typeof(IComponent).IsAssignableFrom(itemType) && (host != null))
Expand Down

0 comments on commit ad492ee

Please sign in to comment.