Skip to content

Commit 3565c91

Browse files
committed
miscellaneous cleanup.
1 parent b94f1c7 commit 3565c91

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Grun/Options.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@
3434
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
#endregion
3636

37+
using System.Diagnostics.CodeAnalysis;
38+
3739
using CommandLine;
3840

3941
namespace Org.Edgerunner.ANTLR4.Tools.Testing.Grun
4042
{
4143
/// <summary>
4244
/// Class that represents command line options.
4345
/// </summary>
46+
[SuppressMessage("ReSharper", "StyleCop.SA1600", Justification = "Option attributes already describe them well enough")]
4447
public class Options
4548
{
4649
[Value(0, MetaName = "Grammar Name", HelpText = "ANTLR grammar to load", Required = true)]

GunWin/Options.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@
3434
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
#endregion
3636

37+
using System.Diagnostics.CodeAnalysis;
38+
3739
using CommandLine;
3840

3941
namespace Org.Edgerunner.ANTLR4.Tools.Testing.GrunWin
4042
{
4143
/// <summary>
4244
/// Class that represents command line options.
4345
/// </summary>
46+
[SuppressMessage("ReSharper", "StyleCop.SA1600", Justification = "Option attributes already describe them well enough")]
4447
public class Options
4548
{
4649
[Option("grammar", HelpText = "ANTLR grammar to load", Required = false)]

Utilities/Grammar/Errors/ParseMessage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public struct ParseMessage
5252
/// <param name="message">The message.</param>
5353
/// <param name="token">The token.</param>
5454
// ReSharper disable once TooManyDependencies
55-
public ParseMessage(int lineNumber, int column,string source, string message, IToken token)
55+
public ParseMessage(int lineNumber, int column, string source, string message, IToken token)
5656
{
5757
LineNumber = lineNumber;
5858
Column = column;
@@ -80,7 +80,7 @@ public ParseMessage(int lineNumber, int column,string source, string message, IT
8080
public string Message { get; set; }
8181

8282
/// <summary>
83-
/// Gets or sets the mesasge source.
83+
/// Gets or sets the message source.
8484
/// </summary>
8585
/// <value>The source.</value>
8686
public string Source { get; set; }

0 commit comments

Comments
 (0)