Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/FormattableString.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

51 lines
1.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a composite format string, along with the arguments to be formatted.</summary>
// Token: 0x02000090 RID: 144
[Token(Token = "0x2000090")]
public abstract class FormattableString
{
/// <summary>Returns the composite format string.</summary>
/// <returns>The composite format string.</returns>
// Token: 0x17000085 RID: 133
// (get) Token: 0x06000466 RID: 1126
[Token(Token = "0x17000085")]
public abstract string Format
{
[Token(Token = "0x6000466")]
[Address(Slot = "4")]
get;
}
/// <summary>Returns an object array that contains one or more objects to format.</summary>
/// <returns>An object array that contains one or more objects to format.</returns>
// Token: 0x06000467 RID: 1127
[Token(Token = "0x6000467")]
[Address(Slot = "5")]
public abstract object[] GetArguments();
/// <summary>Gets the number of arguments to be formatted.</summary>
/// <returns>The number of arguments to be formatted.</returns>
// Token: 0x17000086 RID: 134
// (get) Token: 0x06000468 RID: 1128
[Token(Token = "0x17000086")]
public abstract int ArgumentCount
{
[Token(Token = "0x6000468")]
[Address(Slot = "6")]
get;
}
/// <summary>Returns the argument at the specified index position.</summary>
/// <param name="index">The index of the argument. Its value can range from zero to one less than the value of <see cref="P:System.FormattableString.ArgumentCount" />.</param>
/// <returns>The argument.</returns>
// Token: 0x06000469 RID: 1129
[Token(Token = "0x6000469")]
[Address(Slot = "7")]
public abstract object GetArgument(int index);
}
}