mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
Address CI Errors
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// An interface for copying token
|
/// An interface for copying token
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IObjectCopier
|
internal interface IObjectCopier
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Copy the token to the destination stream
|
/// Copy the token to the destination stream
|
||||||
|
|||||||
@@ -98,10 +98,7 @@
|
|||||||
|
|
||||||
case ObjectToken _:
|
case ObjectToken _:
|
||||||
{
|
{
|
||||||
|
throw new NotSupportedException("Copying a Object Token is not supported");
|
||||||
// This is because, since we don't write token directly to the stream. So we can't know the offset.
|
|
||||||
// The token would be invalid. Although I don't think the copy of an object token would ever happen
|
|
||||||
throw new NotSupportedException("Copying a Object token is not supported");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user