コード例 #1
0
 public bool TryFormat(
     Span <char> destination,
     out int charsWritten,
     ReadOnlySpan <char> format             = default(ReadOnlySpan <char>),
     [Nullable(2)] IFormatProvider provider = null)
 {
     return(Number.TryFormatInt64(this, format, provider, destination, out charsWritten));
 }
コード例 #2
0
 public bool TryFormat(Span <char> destination, out int charsWritten, [StringSyntax(StringSyntaxAttribute.NumericFormat)] ReadOnlySpan <char> format = default, IFormatProvider?provider = null)
 {
     return(Number.TryFormatInt64(m_value, format, provider, destination, out charsWritten));
 }
コード例 #3
0
ファイル: Int64.cs プロジェクト: Fredo-Q/dotnet-coreclr
 public bool TryFormat(Span <char> destination, out int charsWritten, ReadOnlySpan <char> format = default, IFormatProvider?provider = null)
 {
     return(Number.TryFormatInt64(m_value, format, provider, destination, out charsWritten));
 }
コード例 #4
0
 public bool TryFormat(Span <char> destination, out int charsWritten, string format = null, IFormatProvider provider = null)
 {
     return(Number.TryFormatInt64(m_value, format, NumberFormatInfo.GetInstance(provider), destination, out charsWritten));
 }