File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ It is now possible to provide ReadOnlyMemory<byte> data and IOwnedMemory<byte> d
16
16
## v0.12 (2024-02-06)
17
17
18
18
* Fix compatibility with RecyclableMemoryStream 3.x, drop compatibility with 1.x
19
+ * Remove default constructor on BuildJobResult and BuildEncodeResult; these are not user-created types.
19
20
20
21
## v0.11 (2024-01-29)
21
22
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public record class BuildEncodeResult
14
14
// Destination = destination;
15
15
// }
16
16
17
- public BuildEncodeResult ( )
17
+ internal BuildEncodeResult ( )
18
18
{
19
19
}
20
20
// maps to "preferred_mime_type" in json
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public class BuildJobResult
9
9
{
10
10
11
11
[ Obsolete ( "Use ImageJob.FinishAsync() to get a result; you should never create a BuildJobResult directly." ) ]
12
- public BuildJobResult ( ) {
12
+ internal BuildJobResult ( ) {
13
13
_encodeResults = new Dictionary < int , BuildEncodeResult > ( ) ;
14
14
DecodeResults = new List < BuildDecodeResult > ( ) ;
15
15
EncodeResults = new List < BuildEncodeResult > ( ) ;
You can’t perform that action at this time.
0 commit comments