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 ComputeSharp.D2D1.SourceGenerators.Models;
@@ -63,8 +62,7 @@ public sealed partial class D2DPixelShaderSourceGenerator : IIncrementalGenerato
// Output the diagnostics
context.ReportDiagnostics(
shaderInfoWithErrors
.Select(static (item, _) => item.Diagnostcs.AsImmutableArray())
.WithComparer(EqualityComparer<DiagnosticInfo>.Default.ForImmutableArray()));
.Select(static (item, _) => item.Diagnostcs));
// Compile the requested shader bytecodes
IncrementalValuesProvider<(HierarchyInfo Hierarchy, EmbeddedBytecodeMethodInfo BytecodeInfo, DeferredDiagnosticInfo? Diagnostic)> embeddedBytecodeWithErrors =
+1 -3
ファイルの表示
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
@@ -135,8 +134,7 @@ public sealed partial class ID2D1ShaderGenerator : 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 GetInputCount() info (hierarchy and input count)
IncrementalValuesProvider<(HierarchyInfo Hierarchy, int InputCount)> inputCountInfo =