oh dear
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
/// <summary>Provides the connection between an instance of <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and the formatter-provided class best suited to parse the data inside the <see cref="T:System.Runtime.Serialization.SerializationInfo" />.</summary>
|
||||
// Token: 0x0200043F RID: 1087
|
||||
[Token(Token = "0x200043F")]
|
||||
[ComVisible(true)]
|
||||
[CLSCompliant(false)]
|
||||
public interface IFormatterConverter
|
||||
{
|
||||
/// <summary>Converts a value to the given <see cref="T:System.Type" />.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> into which <paramref name="value" /> is to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x06002487 RID: 9351
|
||||
[Token(Token = "0x6002487")]
|
||||
[Address(Slot = "0")]
|
||||
object Convert(object value, Type type);
|
||||
|
||||
/// <summary>Converts a value to a <see cref="T:System.Boolean" />.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x06002488 RID: 9352
|
||||
[Token(Token = "0x6002488")]
|
||||
[Address(Slot = "1")]
|
||||
bool ToBoolean(object value);
|
||||
|
||||
/// <summary>Converts a value to a 32-bit signed integer.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x06002489 RID: 9353
|
||||
[Token(Token = "0x6002489")]
|
||||
[Address(Slot = "2")]
|
||||
int ToInt32(object value);
|
||||
|
||||
/// <summary>Converts a value to a 64-bit signed integer.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x0600248A RID: 9354
|
||||
[Token(Token = "0x600248A")]
|
||||
[Address(Slot = "3")]
|
||||
long ToInt64(object value);
|
||||
|
||||
/// <summary>Converts a value to a single-precision floating-point number.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x0600248B RID: 9355
|
||||
[Token(Token = "0x600248B")]
|
||||
[Address(Slot = "4")]
|
||||
float ToSingle(object value);
|
||||
|
||||
/// <summary>Converts a value to a <see cref="T:System.String" />.</summary>
|
||||
/// <param name="value">The object to be converted.</param>
|
||||
/// <returns>The converted <paramref name="value" />.</returns>
|
||||
// Token: 0x0600248C RID: 9356
|
||||
[Token(Token = "0x600248C")]
|
||||
[Address(Slot = "5")]
|
||||
string ToString(object value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user