diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs index 9b4bda1c..dd0f4c3f 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs @@ -1001,7 +1001,7 @@ partial class DiagnosticDescriptors /// 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 /// 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, diff --git a/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs b/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs index e6536130..d3e77055 100644 --- a/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs +++ b/src/ComputeSharp.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs @@ -777,7 +777,7 @@ partial class DiagnosticDescriptors /// 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 /// 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,