Use collection expressions in more places

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-09 19:28:47 +01:00
1 親 3e25eeb8b7
コミット 6eba10e18b
4ファイル変更
+4 -4

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

+1 -1
ファイルの表示
@@ -365,7 +365,7 @@ internal static partial class HlslKnownTypes
/// <returns>The same list as input, but in a valid HLSL declaration order.</returns>
private static IEnumerable<INamedTypeSymbol> OrderByDependency(IEnumerable<INamedTypeSymbol> types, IReadOnlyCollection<INamedTypeSymbol> invalidTypes)
{
Queue<(INamedTypeSymbol Type, HashSet<INamedTypeSymbol> Fields)> queue = new();
Queue<(INamedTypeSymbol Type, HashSet<INamedTypeSymbol> Fields)> queue = [];
// Build a mapping of type dependencies for all the captured types. A type depends on another
// when the latter is a field in the first type. HLSL requires custom types to be declared in