Skip to content

Commit

Permalink
Fix nullability warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryHughes committed Dec 30, 2024
1 parent 07fadff commit 3a4762d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FixClient/CheckGroupBox/CheckGroupBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// * Publicly release modified versions of the code or publicly release works derived from
// the code without express written authorization.
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.Windows.Forms.VisualStyles;

Expand Down Expand Up @@ -62,6 +63,7 @@ public CheckGroupBox()
/// The text associated with the control.
/// </summary>
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[AllowNull]
public override string Text
{
get
Expand Down
2 changes: 2 additions & 0 deletions FixClient/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/////////////////////////////////////////////////
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.IO;
using System.Net;
Expand Down Expand Up @@ -417,6 +418,7 @@ public MainForm()
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[AllowNull]
public override sealed string Text
{
get { return base.Text; }
Expand Down

0 comments on commit 3a4762d

Please sign in to comment.