Use collection expressions for empty arrays and spans
このコミットが含まれているのは:
1 親
6d560f08e2
コミット
c9a5882f43
11ファイル変更
+18
-21
検索条件に一致するファイルはありません
+1
-1
@@ -244,7 +244,7 @@ partial class PixelShaderEffect<T>
|
||||
// Skip the array allocation if there are no resource texture descriptions
|
||||
if (descriptions.IsEmpty)
|
||||
{
|
||||
return ImmutableArray<int>.Empty;
|
||||
return [];
|
||||
}
|
||||
|
||||
int[] indices = new int[descriptions.Length];
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする