Apply IDE0003 codefix to solution (simply names)

このコミットが含まれているのは:
Sergio Pedri committed 2023-01-17 00:40:35 +01:00
1 親 f3d4820de0
コミット 1b77d4fe51
6ファイル変更
+18 -14

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

+1 -1
ファイルの表示
@@ -25,7 +25,7 @@ sealed partial class App : Application
/// </summary>
public App()
{
this.InitializeComponent();
InitializeComponent();
}
/// <inheritdoc cref="Application.Current"/>
+4 -2
ファイルの表示
@@ -17,8 +17,9 @@ public sealed partial class MainView : UserControl
{
public MainView()
{
this.InitializeComponent();
this.DataContext = App.Current.Services.GetRequiredService<MainViewModel>();
InitializeComponent();
DataContext = App.Current.Services.GetRequiredService<MainViewModel>();
}
/// <summary>
@@ -32,6 +33,7 @@ public sealed partial class MainView : UserControl
App.Current.Services.GetRequiredService<IAnalyticsService>().Log(Event.OpenShaderSelectionPanel);
_ = this.Root.Resources.Remove("ShaderSelectionPanel");
this.Root.Children.Add(this.ShaderSelectionPanel);
}
+4 -2
ファイルの表示
@@ -20,8 +20,9 @@ public sealed partial class MainWindow : Window
public MainWindow()
{
this.InitializeComponent();
this.ExtendsContentIntoTitleBar = true;
InitializeComponent();
ExtendsContentIntoTitleBar = true;
SetTitleBar(this.TitleBarRectangle);
@@ -50,6 +51,7 @@ public sealed partial class MainWindow : Window
private void OpenShaderSelectionPanelButton_Click(object sender, RoutedEventArgs e)
{
_ = this.Root.Resources.Remove("ShaderSelectionPanel");
this.Root.Children.Add(this.ShaderSelectionPanel);
}
+4 -4
ファイルの表示
@@ -47,10 +47,10 @@ public sealed partial class AnimatedComputeShaderPanel : SwapChainPanel, IDispos
{
this.swapChainManager = new SwapChainManager<AnimatedComputeShaderPanel>(this, device);
this.Loaded += AnimatedComputeShaderPanel_Loaded;
this.Unloaded += AnimatedComputeShaderPanel_Unloaded;
this.SizeChanged += AnimatedComputeShaderPanel_SizeChanged;
this.CompositionScaleChanged += AnimatedComputeShaderPanel_CompositionScaleChanged;
Loaded += AnimatedComputeShaderPanel_Loaded;
Unloaded += AnimatedComputeShaderPanel_Unloaded;
SizeChanged += AnimatedComputeShaderPanel_SizeChanged;
CompositionScaleChanged += AnimatedComputeShaderPanel_CompositionScaleChanged;
}
// Initializes the swap chain and starts the render thread
+4 -4
ファイルの表示
@@ -47,10 +47,10 @@ public sealed partial class ComputeShaderPanel : SwapChainPanel, IDisposable
{
this.swapChainManager = new SwapChainManager<ComputeShaderPanel>(this, device);
this.Loaded += ComputeShaderPanel_Loaded;
this.Unloaded += ComputeShaderPanel_Unloaded;
this.SizeChanged += ComputeShaderPanel_SizeChanged;
this.CompositionScaleChanged += ComputeShaderPanel_CompositionScaleChanged;
Loaded += ComputeShaderPanel_Loaded;
Unloaded += ComputeShaderPanel_Unloaded;
SizeChanged += ComputeShaderPanel_SizeChanged;
CompositionScaleChanged += ComputeShaderPanel_CompositionScaleChanged;
}
// Initializes the swap chain and starts the render thread
+1 -1
ファイルの表示
@@ -124,7 +124,7 @@ public abstract unsafe partial class TransferTexture2D<T> : IReferenceTrackedObj
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
using ReferenceTracker.Lease _0 = this.GetReferenceTracker().GetLease();
using ReferenceTracker.Lease _0 = GetReferenceTracker().GetLease();
return new(this.mappedData, Width, Height, (int)this.d3D12PlacedSubresourceFootprint.Footprint.RowPitch);
}