diff --git a/SMBLibrary/SMB1/Commands/SMB1Command.cs b/SMBLibrary/SMB1/Commands/SMB1Command.cs index f1b758c..d3370b7 100644 --- a/SMBLibrary/SMB1/Commands/SMB1Command.cs +++ b/SMBLibrary/SMB1/Commands/SMB1Command.cs @@ -254,7 +254,7 @@ namespace SMBLibrary.SMB1 } else { - throw new InvalidRequestException();; + throw new InvalidRequestException(); } } case CommandName.SMB_COM_SESSION_SETUP_ANDX: diff --git a/SMBLibrary/SMB1/SMB1Message.cs b/SMBLibrary/SMB1/SMB1Message.cs index cf98555..135062a 100644 --- a/SMBLibrary/SMB1/SMB1Message.cs +++ b/SMBLibrary/SMB1/SMB1Message.cs @@ -99,7 +99,7 @@ namespace SMBLibrary.SMB1 { if (!SMB1Header.IsValidSMB1Header(buffer)) { - throw new InvalidRequestException("Invalid SMB header signature");; + throw new InvalidRequestException("Invalid SMB header signature"); } return new SMB1Message(buffer); } diff --git a/SMBLibrary/SMB1FileStore/Structures/FindInformation/FindInformation.cs b/SMBLibrary/SMB1FileStore/Structures/FindInformation/FindInformation.cs index 82e0eee..987ba05 100644 --- a/SMBLibrary/SMB1FileStore/Structures/FindInformation/FindInformation.cs +++ b/SMBLibrary/SMB1FileStore/Structures/FindInformation/FindInformation.cs @@ -49,7 +49,7 @@ namespace SMBLibrary.SMB1 case FindInformationLevel.SMB_FIND_FILE_BOTH_DIRECTORY_INFO: return new FindFileBothDirectoryInfo(buffer, ref offset, isUnicode); default: - throw new UnsupportedInformationLevelException();; + throw new UnsupportedInformationLevelException(); } } }