Add necessary parentheses and use target-typed new() expressions
このコミットが含まれているのは:
1 親
b2afb88f30
コミット
553c7a4014
11ファイル変更
+43
-44
検索条件に一致するファイルはありません
@@ -77,7 +77,7 @@ public sealed partial class HlslBokehBlurProcessor : IImageProcessor
|
||||
ThrowHelper.ThrowInvalidOperationException("This processor only supports the RGBA32 pixel format.");
|
||||
}
|
||||
|
||||
Implementation processor = new Implementation(this, configuration, Unsafe.As<Image<ImageSharpRgba32>>(source), sourceRectangle);
|
||||
Implementation processor = new(this, configuration, Unsafe.As<Image<ImageSharpRgba32>>(source), sourceRectangle);
|
||||
|
||||
return Unsafe.As<IImageProcessor<TPixel>>(processor);
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public sealed partial class HlslGaussianBlurProcessor : IImageProcessor
|
||||
ThrowHelper.ThrowInvalidOperationException("This processor only supports the RGBA32 pixel format.");
|
||||
}
|
||||
|
||||
Implementation processor = new Implementation(this, configuration, Unsafe.As<Image<ImageSharpRgba32>>(source), sourceRectangle);
|
||||
Implementation processor = new(this, configuration, Unsafe.As<Image<ImageSharpRgba32>>(source), sourceRectangle);
|
||||
|
||||
return Unsafe.As<IImageProcessor<TPixel>>(processor);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする