Emit a diagnostic for collection expressions
このコミットが含まれているのは:
1 親
f934c04955
コミット
b266308c8b
6ファイル変更
+60
-3
検索条件に一致するファイルはありません
@@ -78,3 +78,4 @@ CMPSD2D0068 | ComputeSharp.D2D1.Shaders | Error | [Documentation](https://github
|
||||
CMPSD2D0069 | ComputeSharp.D2D1.Shaders | Warning | [Documentation](https://github.com/Sergio0694/ComputeSharp)
|
||||
CMPSD2D0070 | ComputeSharp.D2D1.Shaders | Warning | [Documentation](https://github.com/Sergio0694/ComputeSharp)
|
||||
CMPSD2D0071 | ComputeSharp.D2D1.Shaders | Error | [Documentation](https://github.com/Sergio0694/ComputeSharp)
|
||||
CMPSD2D0072 | ComputeSharp.D2D1.Shaders | Error | [Documentation](https://github.com/Sergio0694/ComputeSharp)
|
||||
@@ -1067,4 +1067,17 @@ partial class DiagnosticDescriptors
|
||||
isEnabledByDefault: true,
|
||||
description: "An initializer expression cannot be used in a pixel shader.",
|
||||
helpLinkUri: "https://github.com/Sergio0694/ComputeSharp");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="DiagnosticDescriptor"/> for a collection expression.
|
||||
/// </summary>
|
||||
public static readonly DiagnosticDescriptor CollectionExpression = new(
|
||||
id: "CMPSD2D0072",
|
||||
title: "Collection expression",
|
||||
messageFormat: "A collection expression cannot be used in a pixel shader",
|
||||
category: "ComputeSharp.D2D1.Shaders",
|
||||
defaultSeverity: DiagnosticSeverity.Error,
|
||||
isEnabledByDefault: true,
|
||||
description: "A collection expression cannot be used in a pixel shader.",
|
||||
helpLinkUri: "https://github.com/Sergio0694/ComputeSharp");
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする