using Microsoft.CodeAnalysis;
namespace ComputeSharp.D2D1.SourceGenerators.Diagnostics;
///
/// A container for all instances for suppressed diagnostics by analyzers in this project.
///
internal static class SuppressionDescriptors
{
///
/// Gets a for an uninitialized D2D1 resource texture field.
///
public static readonly SuppressionDescriptor UninitializedD2D1ResourceTextureField = new(
id: "CMPSD2DSPR0001",
suppressedDiagnosticId: "CS0649",
justification: "Fields of type D2D1ResourceTexture1D, D2D1ResourceTexture2D and D2D1ResourceTexture3D are implicitly mapped to resource texture objects into the resulting D2D1 pixel shader for their containing type, and don't need to be initialized");
}