Skip to content

Commit 81ea601

Browse files
committed
Arguments should not be null.
1 parent 51c6467 commit 81ea601

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Magick.NET/Native/Drawables/DrawingWand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ protected override void Dispose(IntPtr instance)
569569
NativeMethods.X86.DrawingWand_Dispose(instance);
570570
#endif
571571
}
572-
public NativeDrawingWand(IMagickImage? image, DrawingSettings? settings)
572+
public NativeDrawingWand(IMagickImage image, DrawingSettings settings)
573573
{
574574
using var settingsNative = DrawingSettings.CreateInstance(settings);
575575
#if PLATFORM_AnyCPU

src/Magick.NET/Native/Drawables/DrawingWand.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"arguments": [
55
{
66
"name": "image",
7-
"type": "MagickImage?"
7+
"type": "MagickImage"
88
},
99
{
1010
"name": "settings",
11-
"type": "DrawingSettings?"
11+
"type": "DrawingSettings"
1212
}
1313
]
1414
},

0 commit comments

Comments
 (0)