Switch methods to block bodies

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 16c0fc9aab
コミット b2afb88f30
53ファイル変更
+426 -132

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

+8 -2
ファイルの表示
@@ -16,10 +16,16 @@ namespace ComputeSharp.SourceGeneration.Models;
internal sealed record DeferredDiagnosticInfo(DiagnosticDescriptor Descriptor, ImmutableArray<string> Arguments)
{
/// <inheritdoc/>
public bool Equals(DeferredDiagnosticInfo? obj) => Comparer.Default.Equals(this, obj);
public bool Equals(DeferredDiagnosticInfo? obj)
{
return Comparer.Default.Equals(this, obj);
}
/// <inheritdoc/>
public override int GetHashCode() => Comparer.Default.GetHashCode(this);
public override int GetHashCode()
{
return Comparer.Default.GetHashCode(this);
}
/// <summary>
/// Creates a new <see cref="DeferredDiagnosticInfo"/> instance with the specified parameters.