Use collection expressions to create empty collections
このコミットが含まれているのは:
1 親
358f378796
コミット
8dc70916ac
13ファイル変更
+19
-19
検索条件に一致するファイルはありません
@@ -644,9 +644,9 @@ public partial class CanvasEffectTests
|
||||
private static readonly EffectNode<DummyCanvasImageTrackingDisposal> EffectNode1 = new();
|
||||
private static readonly EffectNode<DummyCanvasImageTrackingDisposal> EffectNode2 = new();
|
||||
private static readonly EffectNode<DummyCanvasImageTrackingDisposal> EffectNode3 = new();
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects1 = new();
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects2 = new();
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects3 = new();
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects1 = [];
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects2 = [];
|
||||
public readonly List<DummyCanvasImageTrackingDisposal> Effects3 = [];
|
||||
|
||||
public void InvalidateCreation()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ public class DeviceLostTests
|
||||
{
|
||||
GraphicsDeviceHelper.GetD3D12Device(graphicsDevice, in d3D12Device);
|
||||
|
||||
List<(object? Sender, DeviceLostEventArgs Args)> args = new();
|
||||
List<(object? Sender, DeviceLostEventArgs Args)> args = [];
|
||||
|
||||
// Register the device lost callback
|
||||
graphicsDevice.DeviceLost += (s, e) => args.Add((s, e));
|
||||
|
||||
@@ -17,7 +17,7 @@ internal struct DebugDispatchDataLoader : IConstantBufferLoader, IGraphicsResour
|
||||
/// <summary>
|
||||
/// The list of loaded resources.
|
||||
/// </summary>
|
||||
private readonly List<(IGraphicsResource Resource, uint Index)> graphicsResources = new();
|
||||
private readonly List<(IGraphicsResource Resource, uint Index)> graphicsResources = [];
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="DebugDispatchDataLoader"/> instance.
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする