Target TerraFX.Interop.Windows to .NET Standard 2.0
このコミットが含まれているのは:
1 親
22a12e0e5d
コミット
9c6826dbda
190ファイル変更
+4588
-4374
検索条件に一致するファイルはありません
@@ -0,0 +1,23 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace System;
|
||||
|
||||
/// <summary>
|
||||
/// A polyfill type with additional formatting extensions.
|
||||
/// </summary>
|
||||
internal static class FormatExtensions
|
||||
{
|
||||
/// <inheritdoc cref="IFormattable.ToString(string?, IFormatProvider?)"/>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static string ToString<T>(this T value, string? format)
|
||||
{
|
||||
throw new NotSupportedException("This API is not supported on this target.");
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IFormattable.ToString(string?, IFormatProvider?)"/>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static string ToString<T>(this T value, string? format, IFormatProvider? formatProvider)
|
||||
{
|
||||
throw new NotSupportedException("This API is not supported on this target.");
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする