Remove leftover code and diagnostics

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-08 11:17:07 +01:00
1 親 d1fabb6fed
コミット 771f8515c7
4ファイル変更
+27 -89

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

+12 -12
ファイルの表示
@@ -167,7 +167,7 @@ public class DiagnosticsTests
[DataRow(nameof(GroupIds), "CMPS0007")]
[DataRow(nameof(GroupSize), "CMPS0008")]
[DataRow(nameof(GridIds), "CMPS0009")]
[DataRow(nameof(DispatchSize), "CMPS0044")]
[DataRow(nameof(DispatchSize), "CMPS0039")]
public void InvalidDispatchInfoUsage_LocalFunction(string typeName, string diagnosticsId)
{
string source = $@"
@@ -202,7 +202,7 @@ public class DiagnosticsTests
[DataRow(nameof(GroupIds), "CMPS0007")]
[DataRow(nameof(GroupSize), "CMPS0008")]
[DataRow(nameof(GridIds), "CMPS0009")]
[DataRow(nameof(DispatchSize), "CMPS0044")]
[DataRow(nameof(DispatchSize), "CMPS0039")]
public void InvalidDispatchInfoUsage_StaticMethod(string typeName, string diagnosticsId)
{
string source = $@"
@@ -1194,7 +1194,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0042");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0037");
}
[TestMethod]
@@ -1222,7 +1222,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0043");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0038");
}
[TestMethod]
@@ -1250,7 +1250,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0045");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0040");
}
[TestMethod]
@@ -1281,7 +1281,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0045");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0040");
}
[TestMethod]
@@ -1309,7 +1309,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0045");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0040");
}
[TestMethod]
@@ -1337,7 +1337,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0045");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0040");
}
[TestMethod]
@@ -1371,7 +1371,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0046");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0041");
}
[TestMethod]
@@ -1396,7 +1396,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0047");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0042");
}
[TestMethod]
@@ -1430,7 +1430,7 @@ public class DiagnosticsTests
}
}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0048");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0043");
}
[TestMethod]
@@ -1469,7 +1469,7 @@ public class DiagnosticsTests
}}
}}";
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0049");
VerifyGeneratedDiagnostics<IShaderGenerator>(source, "CMPS0044");
}
/// <summary>