Use semicolon token type declarations if possible
このコミットが含まれているのは:
1 親
347ae52d83
コミット
1ffa43ed34
8ファイル変更
+10
-30
検索条件に一致するファイルはありません
@@ -228,9 +228,7 @@ partial class CanvasEffect
|
||||
/// This interface only implemented by <see cref="EffectNode{T}"/> and it's not meant to be implemented by external types.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
protected interface IEffectNode
|
||||
{
|
||||
}
|
||||
protected interface IEffectNode;
|
||||
|
||||
/// <summary>
|
||||
/// A marker interface for a generic effect node that was registered from an <see cref="EffectGraph"/> value.
|
||||
@@ -246,16 +244,12 @@ partial class CanvasEffect
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
protected interface IEffectNode<out T> : IEffectNode
|
||||
where T : ICanvasImage
|
||||
{
|
||||
}
|
||||
where T : ICanvasImage;
|
||||
|
||||
/// <summary>
|
||||
/// A marker type for an effect node that can be registered and retrieved from an <see cref="EffectGraph"/> value.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of <see cref="ICanvasImage"/> associated with the current effect node.</typeparam>
|
||||
protected sealed class EffectNode<T> : IEffectNode<T>
|
||||
where T : class, ICanvasImage
|
||||
{
|
||||
}
|
||||
where T : class, ICanvasImage;
|
||||
}
|
||||
@@ -19,6 +19,4 @@ namespace ComputeSharp.D2D1;
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
|
||||
public sealed class D2DGeneratedPixelShaderDescriptorAttribute : Attribute
|
||||
{
|
||||
}
|
||||
public sealed class D2DGeneratedPixelShaderDescriptorAttribute : Attribute;
|
||||
@@ -12,6 +12,4 @@ namespace ComputeSharp.D2D1;
|
||||
/// <para>For more info, see <see href="https://docs.microsoft.com/en-us/windows/win32/direct2d/hlsl-helpers"/>.</para>
|
||||
/// </remarks>
|
||||
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
|
||||
public sealed class D2DRequiresScenePositionAttribute : Attribute
|
||||
{
|
||||
}
|
||||
public sealed class D2DRequiresScenePositionAttribute : Attribute;
|
||||
@@ -5,6 +5,4 @@ namespace ComputeSharp.SourceGeneration.Diagnostics;
|
||||
/// <summary>
|
||||
/// A container for all <see cref="DiagnosticDescriptor"/> instances for errors reported by analyzers in this project.
|
||||
/// </summary>
|
||||
internal static partial class DiagnosticDescriptors
|
||||
{
|
||||
}
|
||||
internal static partial class DiagnosticDescriptors;
|
||||
@@ -22,6 +22,4 @@ namespace ComputeSharp;
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
|
||||
public sealed class GeneratedComputeShaderDescriptorAttribute : Attribute
|
||||
{
|
||||
}
|
||||
public sealed class GeneratedComputeShaderDescriptorAttribute : Attribute;
|
||||
@@ -21,6 +21,4 @@ namespace ComputeSharp;
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
|
||||
public sealed class GloballyCoherentAttribute : Attribute
|
||||
{
|
||||
}
|
||||
public sealed class GloballyCoherentAttribute : Attribute;
|
||||
@@ -6,6 +6,4 @@ namespace ComputeSharp.Tests.Attributes;
|
||||
/// An attribute to use with <see cref="CombinatorialTestMethodAttribute"/> targeting all supported devices.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
|
||||
public sealed class AllDevicesAttribute : Attribute
|
||||
{
|
||||
}
|
||||
public sealed class AllDevicesAttribute : Attribute;
|
||||
@@ -838,9 +838,7 @@ namespace ComputeSharp.Tests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ShaderWithPartialDeclarations : IComputeShader
|
||||
{
|
||||
}
|
||||
internal readonly partial struct ShaderWithPartialDeclarations : IComputeShader;
|
||||
|
||||
partial struct ShaderWithPartialDeclarations
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする