Add missing required modifiers

このコミットが含まれているのは:
Sergio Pedri committed 2022-11-29 22:34:06 +01:00
1 親 7d3942611a
コミット 453590cf50
2ファイル変更
+6 -6

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -89,7 +89,7 @@ internal sealed class D2D1AffineTransformMapperFactory
/// <summary>
/// Gets the fixed affine transform matrix.
/// </summary>
public Matrix3x2 Amount { get; init; }
public required Matrix3x2 Amount { get; init; }
/// <inheritdoc/>
public override Matrix3x2 Get(in T shader)
+5 -5
ファイルの表示
@@ -19,7 +19,7 @@ internal sealed class D2D1InflateTransformMapperFactory<T> : D2D1TransformMapper
/// <summary>
/// Gets the fixed inflate amount.
/// </summary>
public int Amount { get; init; }
public required int Amount { get; init; }
/// <inheritdoc/>
public override (int, int, int, int) Get(in T shader)
@@ -36,22 +36,22 @@ internal sealed class D2D1InflateTransformMapperFactory<T> : D2D1TransformMapper
/// <summary>
/// The constant left inflate amount.
/// </summary>
public int Left { get; init; }
public required int Left { get; init; }
/// <summary>
/// The constant top inflate amount.
/// </summary>
public int Top { get; init; }
public required int Top { get; init; }
/// <summary>
/// The constant right inflate amount.
/// </summary>
public int Right { get; init; }
public required int Right { get; init; }
/// <summary>
/// The constant bottom inflate amount.
/// </summary>
public int Bottom { get; init; }
public required int Bottom { get; init; }
/// <inheritdoc/>
public override (int, int, int, int) Get(in T shader)