From 50e82fce31d921eab64b439ab90a90bbce4b13ca Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 17 Sep 2022 20:55:15 +0200 Subject: [PATCH] Remove leftover Result type --- .../ComputeSharp.SourceGeneration.projitems | 1 - src/ComputeSharp.SourceGeneration/Models/Result{T}.cs | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 src/ComputeSharp.SourceGeneration/Models/Result{T}.cs diff --git a/src/ComputeSharp.SourceGeneration/ComputeSharp.SourceGeneration.projitems b/src/ComputeSharp.SourceGeneration/ComputeSharp.SourceGeneration.projitems index 754e9d60..83b77644 100644 --- a/src/ComputeSharp.SourceGeneration/ComputeSharp.SourceGeneration.projitems +++ b/src/ComputeSharp.SourceGeneration/ComputeSharp.SourceGeneration.projitems @@ -22,7 +22,6 @@ - \ No newline at end of file diff --git a/src/ComputeSharp.SourceGeneration/Models/Result{T}.cs b/src/ComputeSharp.SourceGeneration/Models/Result{T}.cs deleted file mode 100644 index 5b300a5b..00000000 --- a/src/ComputeSharp.SourceGeneration/Models/Result{T}.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Collections.Immutable; - -namespace ComputeSharp.SourceGeneration.Models; - -/// -/// A model representing a value and an associated set of diagnostic errors. -/// -/// The type of the wrapped value. -/// The wrapped value for the current result. -/// The associated diagnostic errors, if any. -internal sealed record Result(TValue Value, ImmutableArray Errors);