// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Numerics { /// <summary>Defines a mechanism for computing the unary plus of a value.</summary> /// <typeparam name="TSelf">The type that implements this interface.</typeparam> /// <typeparam name="TResult">The type that contains the result of converting <typeparamref name="TSelf" />.</typeparam> public interface IUnaryPlusOperators<TSelf, TResult> where TSelf : IUnaryPlusOperators<TSelf, TResult>? { /// <summary>Computes the unary plus of a value.</summary> /// <param name="value">The value for which to compute its unary plus.</param> /// <returns>The unary plus of <paramref name="value" />.</returns> static abstract TResult operator +(TSelf value); } }