Remove IEqualityComparerExtensions

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-20 03:27:45 +02:00
1 親 76da654352
コミット ac89019292
7ファイル変更
+5 -73

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

+1 -3
ファイルの表示
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
@@ -118,8 +117,7 @@ public sealed partial class IShaderGenerator : IIncrementalGenerator
// Output the diagnostics, if any
context.ReportDiagnostics(
shaderInfoWithErrors
.Select(static (item, _) => item.Diagnostcs.AsImmutableArray())
.WithComparer(EqualityComparer<DiagnosticInfo>.Default.ForImmutableArray()));
.Select(static (item, _) => item.Diagnostcs));
// Get the GetDispatchId() info (hierarchy and dispatch id info)
IncrementalValuesProvider<(HierarchyInfo Hierarchy, DispatchIdInfo DispatchId)> dispatchIdInfo =
+1 -2
ファイルの表示
@@ -48,8 +48,7 @@ public sealed partial class ShaderMethodSourceGenerator : IIncrementalGenerator
// Output the diagnostics, if any
context.ReportDiagnostics(
methodInfoWithErrors
.Select(static (item, _) => item.Diagnostcs.AsImmutableArray())
.WithComparer(EqualityComparer<DiagnosticInfo>.Default.ForImmutableArray()));
.Select(static (item, _) => item.Diagnostcs));
// Generate the [ShaderMethodSource] attributes
context.RegisterSourceOutput(methodInfoWithErrors, static (context, item) =>