Remove unnecessary modifiers for partial types

このコミットが含まれているのは:
Sergio Pedri committed 2022-06-19 02:57:59 +02:00
1 親 903c5504c6
コミット 279c464dc2
13ファイル変更
+13 -13

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

+1 -1
ファイルの表示
@@ -16,7 +16,7 @@ namespace ComputeSharp.Core.SourceGenerators;
/// A source generator creating constructors for types annotated with <see cref="AutoConstructorAttribute"/>.
/// </summary>
[Generator(LanguageNames.CSharp)]
public sealed partial class AutoConstructorGenerator : IIncrementalGenerator
public sealed class AutoConstructorGenerator : IIncrementalGenerator
{
/// <inheritdoc/>
public void Initialize(IncrementalGeneratorInitializationContext context)
@@ -7,7 +7,7 @@ using static ComputeSharp.D2D1.SourceGenerators.Diagnostics.DiagnosticDescriptor
namespace ComputeSharp.D2D1.SourceGenerators.SyntaxRewriters;
/// <inheritdoc cref="HlslSourceRewriter"/>
internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter
partial class HlslSourceRewriter : CSharpSyntaxRewriter
{
/// <inheritdoc/>
public override SyntaxNode? VisitAnonymousObjectCreationExpression(AnonymousObjectCreationExpressionSyntax node)
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.D2D1.Helpers;
/// <summary>
/// Helper methods to efficiently throw exceptions.
/// </summary>
internal static partial class ThrowHelper
internal static class ThrowHelper
{
/// <summary>
/// Throws a new <see cref="ArgumentException"/>.
@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace ComputeSharp.__Internals;
/// <inheritdoc/>
public sealed partial class ShaderMethodSourceAttribute : Attribute
partial class ShaderMethodSourceAttribute : Attribute
{
/// <summary>
/// Appends the mapped source code for the current method.
+1 -1
ファイルの表示
@@ -9,7 +9,7 @@ using TerraFX.Interop.Windows;
namespace ComputeSharp.Shaders.Translation;
/// <inheritdoc cref="ShaderCompiler"/>
internal sealed unsafe partial class ShaderCompiler
unsafe partial class ShaderCompiler
{
/// <summary>
/// Initializes the DLL resolvers for the dxcompiler.dll and dxil.dll libraries.
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ using static ComputeSharp.SourceGenerators.Diagnostics.DiagnosticDescriptors;
namespace ComputeSharp.SourceGenerators.SyntaxRewriters;
/// <inheritdoc cref="HlslSourceRewriter"/>
internal abstract partial class HlslSourceRewriter : CSharpSyntaxRewriter
partial class HlslSourceRewriter : CSharpSyntaxRewriter
{
/// <inheritdoc/>
public override SyntaxNode? VisitAnonymousObjectCreationExpression(AnonymousObjectCreationExpressionSyntax node)
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@
namespace ComputeSharp;
/// <inheritdoc cref="ThreadIds"/>
public static partial class ThreadIds
partial class ThreadIds
{
/// <summary>
/// A <see langword="class"/> that indicates the normalized ids of a given GPU thread running a compute shader.
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ using ComputeSharp.Resources;
namespace ComputeSharp;
/// <inheritdoc cref="GraphicsDeviceExtensions"/>
public static partial class GraphicsDeviceExtensions
partial class GraphicsDeviceExtensions
{
/// <summary>
/// Allocates a new constant buffer with the specified parameters.
+1 -1
ファイルの表示
@@ -21,7 +21,7 @@ using UnmanagedCallersOnlyAttribute = ComputeSharp.NetStandard.System.Runtime.In
namespace ComputeSharp.Graphics.Extensions;
/// <inheritdoc/>
internal static unsafe partial class IWICStreamExtensions
unsafe partial class IWICStreamExtensions
{
/// <summary>
/// Initializes an input <see cref="IWICStream"/> wrapping a given <see cref="IBufferWriter{T}"/> instance.
+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ using static TerraFX.Interop.DirectX.DXGI_GPU_PREFERENCE;
namespace ComputeSharp.Graphics.Helpers;
/// <inheritdoc/>
internal static partial class DeviceHelper
partial class DeviceHelper
{
/// <summary>
/// A custom query type that iterates through devices matching a given predicate.
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ using TerraFX.Interop.Windows;
namespace ComputeSharp.Graphics.Helpers;
/// <inheritdoc/>
internal static partial class DeviceHelper
partial class DeviceHelper
{
/// <summary>
/// The local cache of <see cref="GraphicsDevice"/> instances that are currently usable.
+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ using Enum = ComputeSharp.NetStandard.System.Enum;
namespace ComputeSharp.Graphics.Helpers;
/// <inheritdoc/>
internal static partial class DeviceHelper
partial class DeviceHelper
{
/// <summary>
/// A shared <see cref="StringBuilder"/> used from <see cref="FlushAllID3D12InfoQueueMessagesAndCheckForErrorsOrWarnings"/> to create messages.
+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ using UnmanagedCallersOnlyAttribute = ComputeSharp.NetStandard.System.Runtime.In
namespace ComputeSharp.Graphics.Helpers;
/// <inheritdoc cref="DeviceHelper"/>
internal static partial class DeviceHelper
partial class DeviceHelper
{
/// <summary>
/// The creation flags for <see cref="IDXGIFactory"/> instances.