Skip to content

Commit 3299eee

Browse files
authored
Rework OverheadBase class (#375)
***NO_CI***
1 parent 4840e7f commit 3299eee

File tree

1 file changed

+9
-1
lines changed
  • nanoFramework.Tools.DebugLibrary.Shared/WireProtocol

1 file changed

+9
-1
lines changed

nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Commands.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,7 +2029,15 @@ public static object ResolveCommandToPayload(uint cmd, bool fReply, CLRCapabilit
20292029
public abstract class OverheadBase
20302030
{
20312031
[IgnoreDataMember]
2032-
public int Overhead { get; private set; }
2032+
public int Overhead
2033+
{
2034+
get
2035+
{
2036+
return GetOverhead();
2037+
}
2038+
2039+
private set { }
2040+
}
20332041

20342042
protected OverheadBase()
20352043
{

0 commit comments

Comments
 (0)