Fix duplicate diagnostic titles

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-21 18:01:37 +02:00
1 親 dd9d6bca06
コミット ff571c44aa
2ファイル変更
+4 -4

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

+2 -2
ファイルの表示
@@ -1001,7 +1001,7 @@ partial class DiagnosticDescriptors
/// </summary>
public static readonly DiagnosticDescriptor NotAccessibleTargetTypeForD2DGeneratedPixelShaderDescriptorAttribute = new DiagnosticDescriptor(
id: "CMPSD2D0067",
title: "Invalid [D2DGeneratedPixelShaderDescriptor] attribute target",
title: "Not accessible type using the [D2DGeneratedPixelShaderDescriptor] attribute",
messageFormat: "The [D2DGeneratedPixelShaderDescriptor] attribute requires target types to be accessible from their containing assembly (type {0} has less effective accessibility than internal)",
category: "ComputeSharp.D2D1.Shaders",
defaultSeverity: DiagnosticSeverity.Error,
@@ -1017,7 +1017,7 @@ partial class DiagnosticDescriptors
/// </summary>
public static readonly DiagnosticDescriptor NotAccessibleFieldTypeInTargetTypeForD2DGeneratedPixelShaderDescriptorAttribute = new DiagnosticDescriptor(
id: "CMPSD2D0068",
title: "Invalid [D2DGeneratedPixelShaderDescriptor] attribute target",
title: "Not accessible field type in type using the [D2DGeneratedPixelShaderDescriptor] attribute",
messageFormat: """The [D2DGeneratedPixelShaderDescriptor] attribute requires the type of all fields of target types to be accessible from their containing assembly (type {0} has a field "{1}" of type {2} that has less effective accessibility than internal)""",
category: "ComputeSharp.D2D1.Shaders",
defaultSeverity: DiagnosticSeverity.Error,
+2 -2
ファイルの表示
@@ -777,7 +777,7 @@ partial class DiagnosticDescriptors
/// </summary>
public static readonly DiagnosticDescriptor NotAccessibleTargetTypeForGeneratedComputeShaderDescriptorAttribute = new DiagnosticDescriptor(
id: "CMPS0055",
title: "Invalid [GeneratedComputeShaderDescriptor] attribute target",
title: "Not accessible type using the [GeneratedComputeShaderDescriptor] attribute",
messageFormat: "The [GeneratedComputeShaderDescriptor] attribute requires target types to be accessible from their containing assembly (type {0} has less effective accessibility than internal)",
category: "ComputeSharp.Shaders",
defaultSeverity: DiagnosticSeverity.Error,
@@ -793,7 +793,7 @@ partial class DiagnosticDescriptors
/// </summary>
public static readonly DiagnosticDescriptor NotAccessibleFieldTypeInTargetTypeForGeneratedComputeShaderDescriptorAttribute = new DiagnosticDescriptor(
id: "CMPS0056",
title: "Invalid [GeneratedComputeShaderDescriptor] attribute target",
title: "Not accessible field type in type using the [GeneratedComputeShaderDescriptor] attribute",
messageFormat: """The [GeneratedComputeShaderDescriptor] attribute requires the type of all fields of target types to be accessible from their containing assembly (type {0} has a field "{1}" of type {2} that has less effective accessibility than internal)""",
category: "ComputeSharp.Shaders",
defaultSeverity: DiagnosticSeverity.Error,