Apply IDE0001 code fixers (simplify names)

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-04 20:42:31 +01:00
1 親 016d51e161
コミット 3d1a131d23
11ファイル変更
+14 -14

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

+2 -2
ファイルの表示
@@ -340,8 +340,8 @@ public static class GraphicsDeviceExtensions
{
return type switch
{
_ when type == typeof(ReadOnlyTexture3D<>) => device.AllocateReadOnlyTexture3D<T>(data),
_ when type == typeof(ReadWriteTexture3D<>) => device.AllocateReadWriteTexture3D<T>(data),
_ when type == typeof(ReadOnlyTexture3D<>) => device.AllocateReadOnlyTexture3D(data),
_ when type == typeof(ReadWriteTexture3D<>) => device.AllocateReadWriteTexture3D(data),
_ => throw new ArgumentException($"Invalid type: {type}", nameof(type))
};
}