diff options
author | Thays Grazia <thaystg@gmail.com> | 2020-04-08 22:35:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 22:35:29 +0300 |
commit | 259ec2ef65a272ead111dba37617387864b188af (patch) | |
tree | 7b25ffc905042a4d840b388889146e5b524adde3 /mcs/class | |
parent | 165f4b03417a1e18c8c6db3d93a7a4916d77488a (diff) |
[2020-02][debugger] Bump protocol for this commit https://github.com/mono/mono/pull/19248 (#19318) (#19473)
* Bump protocol for this commit https://github.com/mono/mono/pull/19248 as suggested by @vargaz.
* Fix coding convention.
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs index 70de4ad7bea..252959eb361 100644 --- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs +++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs @@ -439,7 +439,7 @@ namespace Mono.Debugger.Soft * with newer runtimes, and vice versa. */ internal const int MAJOR_VERSION = 2; - internal const int MINOR_VERSION = 55; + internal const int MINOR_VERSION = 56; enum WPSuspendPolicy { NONE = 0, @@ -799,7 +799,7 @@ namespace Mono.Debugger.Soft ReadInt (); // id ReadByte (); // flags ErrorCode = ReadShort (); - if (ErrorCode == (int)Mono.Debugger.Soft.ErrorCode.INVALID_ARGUMENT && len > offset) + if (ErrorCode == (int)Mono.Debugger.Soft.ErrorCode.INVALID_ARGUMENT && connection.Version.AtLeast (2, 56) && len > offset) ErrorMsg = ReadString (); } |