Add diagnostic for missing [D2DInputCount] attribute

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-07 16:12:31 -07:00
1 親 ee936f8fbe
コミット 3fb94daaa2
5ファイル変更
+30 -1

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

+1
ファイルの表示
@@ -45,6 +45,7 @@ public partial class D2D1PixelShaderEffectTests
{
}
[D2DInputCount(0)]
public partial struct Shader : ID2D1PixelShader
{
public float4 Execute() => default;
@@ -5,6 +5,7 @@
/// </summary>
internal sealed partial class D2D1ResourceTextureUninitializedFieldDiagnosticSuppressorTests
{
[D2DInputCount(0)]
public readonly partial struct MyShader : ID2D1PixelShader
{
// This test just needs to validate the project builds fine with this shader.