Skip to content

Commit

Permalink
[fix] 修复 Exception 重写 Exception(SerializationInfo info, StreamingCont…
Browse files Browse the repository at this point in the history
…ext context)构造函数引发的警告
  • Loading branch information
pirunxi committed Apr 17, 2024
1 parent 21af2c5 commit 9ab8fe3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/Luban.Core/Defs/LoadDefException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ public LoadDefException(string message) : base(message)
public LoadDefException(string message, Exception innerException) : base(message, innerException)
{
}

protected LoadDefException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
4 changes: 0 additions & 4 deletions src/Luban.Core/Utils/LoadXmlException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ public LoadXmlException(string message) : base(message)
public LoadXmlException(string message, Exception innerException) : base(message, innerException)
{
}

protected LoadXmlException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ public InvalidExcelDataException(string message) : base(message)
public InvalidExcelDataException(string message, Exception innerException) : base(message, innerException)
{
}

protected InvalidExcelDataException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}

0 comments on commit 9ab8fe3

Please sign in to comment.