Use collection expressions for array initializations
このコミットが含まれているのは:
1 親
8dc70916ac
コミット
6d560f08e2
14ファイル変更
+145
-155
検索条件に一致するファイルはありません
+3
-3
@@ -16,8 +16,8 @@ public sealed class MissingPixelShaderDescriptorOnPixelShaderCodeFixer : Missing
|
||||
/// <summary>
|
||||
/// The set of type names for all D2D attributes that can be over shader types.
|
||||
/// </summary>
|
||||
private static readonly string[] D2DAttributeTypeNames = new[]
|
||||
{
|
||||
private static readonly string[] D2DAttributeTypeNames =
|
||||
[
|
||||
"ComputeSharp.D2D1.D2DCompileOptionsAttribute",
|
||||
"ComputeSharp.D2D1.D2DEffectAuthorAttribute",
|
||||
"ComputeSharp.D2D1.D2DEffectCategoryAttribute",
|
||||
@@ -32,7 +32,7 @@ public sealed class MissingPixelShaderDescriptorOnPixelShaderCodeFixer : Missing
|
||||
"ComputeSharp.D2D1.D2DPixelOptionsAttribute",
|
||||
"ComputeSharp.D2D1.D2DRequiresScenePositionAttribute",
|
||||
"ComputeSharp.D2D1.D2DShaderProfileAttribute"
|
||||
};
|
||||
];
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="MissingAttributeCodeFixer"/> instance with the specified parameters.
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする