Remove leftover Result<T> type

このコミットが含まれているのは:
Sergio Pedri committed 2022-09-17 20:55:15 +02:00
1 親 d8aefe3128
コミット 50e82fce31
2ファイル変更
-12

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

-1
ファイルの表示
@@ -22,7 +22,6 @@
<Compile Include="$(MSBuildThisFileDirectory)Models\DeferredDiagnosticInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Models\DiagnosticInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Models\HierarchyInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Models\Result{T}.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Models\TypeInfo.cs" />
</ItemGroup>
</Project>
-11
ファイルの表示
@@ -1,11 +0,0 @@
using System.Collections.Immutable;
namespace ComputeSharp.SourceGeneration.Models;
/// <summary>
/// A model representing a value and an associated set of diagnostic errors.
/// </summary>
/// <typeparam name="TValue">The type of the wrapped value.</typeparam>
/// <param name="Value">The wrapped value for the current result.</param>
/// <param name="Errors">The associated diagnostic errors, if any.</param>
internal sealed record Result<TValue>(TValue Value, ImmutableArray<DiagnosticInfo> Errors);