m
This commit is contained in:
@@ -0,0 +1,294 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Represents the standard input, output, and error streams for console applications. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000171 RID: 369
|
||||
[Token(Token = "0x2000171")]
|
||||
public static class Console
|
||||
{
|
||||
// Token: 0x06000F21 RID: 3873 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F21")]
|
||||
[Address(RVA = "0x2C31560", Offset = "0x2C30560", VA = "0x182C31560")]
|
||||
private static void SetupStreams(Encoding inputEncoding, Encoding outputEncoding)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the standard error output stream.</summary>
|
||||
/// <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard error output stream.</returns>
|
||||
// Token: 0x1700016F RID: 367
|
||||
// (get) Token: 0x06000F22 RID: 3874 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700016F")]
|
||||
public static TextWriter Error
|
||||
{
|
||||
[Token(Token = "0x6000F22")]
|
||||
[Address(RVA = "0x2C31C50", Offset = "0x2C30C50", VA = "0x182C31C50")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the standard output stream.</summary>
|
||||
/// <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard output stream.</returns>
|
||||
// Token: 0x17000170 RID: 368
|
||||
// (get) Token: 0x06000F23 RID: 3875 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000170")]
|
||||
public static TextWriter Out
|
||||
{
|
||||
[Token(Token = "0x6000F23")]
|
||||
[Address(RVA = "0x2C31D10", Offset = "0x2C30D10", VA = "0x182C31D10")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000F24 RID: 3876 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F24")]
|
||||
[Address(RVA = "0x2C31120", Offset = "0x2C30120", VA = "0x182C31120")]
|
||||
private static Stream Open(IntPtr handle, FileAccess access, int bufferSize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Acquires the standard error stream, which is set to a specified buffer size.</summary>
|
||||
/// <param name="bufferSize">The internal stream buffer size.</param>
|
||||
/// <returns>The standard error stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is less than or equal to zero.</exception>
|
||||
// Token: 0x06000F25 RID: 3877 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F25")]
|
||||
[Address(RVA = "0x2C30F70", Offset = "0x2C2FF70", VA = "0x182C30F70")]
|
||||
public static Stream OpenStandardError(int bufferSize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Acquires the standard input stream, which is set to a specified buffer size.</summary>
|
||||
/// <param name="bufferSize">The internal stream buffer size.</param>
|
||||
/// <returns>The standard input stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is less than or equal to zero.</exception>
|
||||
// Token: 0x06000F26 RID: 3878 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F26")]
|
||||
[Address(RVA = "0x2C31000", Offset = "0x2C30000", VA = "0x182C31000")]
|
||||
public static Stream OpenStandardInput(int bufferSize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Acquires the standard output stream, which is set to a specified buffer size.</summary>
|
||||
/// <param name="bufferSize">The internal stream buffer size.</param>
|
||||
/// <returns>The standard output stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is less than or equal to zero.</exception>
|
||||
// Token: 0x06000F27 RID: 3879 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F27")]
|
||||
[Address(RVA = "0x2C31090", Offset = "0x2C30090", VA = "0x182C31090")]
|
||||
public static Stream OpenStandardOutput(int bufferSize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets the <see cref="P:System.Console.Out" /> property to the specified <see cref="T:System.IO.TextWriter" /> object.</summary>
|
||||
/// <param name="newOut">A stream that is the new standard output.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="newOut" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06000F28 RID: 3880 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F28")]
|
||||
[Address(RVA = "0x2C314C0", Offset = "0x2C304C0", VA = "0x182C314C0")]
|
||||
public static void SetOut(TextWriter newOut)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.</summary>
|
||||
/// <param name="value">The value to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
// Token: 0x06000F29 RID: 3881 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F29")]
|
||||
[Address(RVA = "0x2C319A0", Offset = "0x2C309A0", VA = "0x182C319A0")]
|
||||
public static void WriteLine(object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the specified string value, followed by the current line terminator, to the standard output stream.</summary>
|
||||
/// <param name="value">The value to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
// Token: 0x06000F2A RID: 3882 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F2A")]
|
||||
[Address(RVA = "0x2C31A20", Offset = "0x2C30A20", VA = "0x182C31A20")]
|
||||
public static void WriteLine(string value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream using the specified format information.</summary>
|
||||
/// <param name="format">A composite format string.</param>
|
||||
/// <param name="arg0">An object to write using <paramref name="format" />.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="format" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
|
||||
// Token: 0x06000F2B RID: 3883 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F2B")]
|
||||
[Address(RVA = "0x2C31910", Offset = "0x2C30910", VA = "0x182C31910")]
|
||||
public static void WriteLine(string format, object arg0)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the encoding the console uses to read input.</summary>
|
||||
/// <returns>The encoding used to read console input.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
|
||||
// Token: 0x17000171 RID: 369
|
||||
// (get) Token: 0x06000F2C RID: 3884 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000171")]
|
||||
public static Encoding InputEncoding
|
||||
{
|
||||
[Token(Token = "0x6000F2C")]
|
||||
[Address(RVA = "0x2C31CB0", Offset = "0x2C30CB0", VA = "0x182C31CB0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the encoding the console uses to write output.</summary>
|
||||
/// <returns>The encoding used to write console output.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
|
||||
// Token: 0x17000172 RID: 370
|
||||
// (get) Token: 0x06000F2D RID: 3885 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000172")]
|
||||
public static Encoding OutputEncoding
|
||||
{
|
||||
[Token(Token = "0x6000F2D")]
|
||||
[Address(RVA = "0x2C31D70", Offset = "0x2C30D70", VA = "0x182C31D70")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.</summary>
|
||||
/// <returns>An object that describes the <see cref="T:System.ConsoleKey" /> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo" /> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
|
||||
// Token: 0x06000F2E RID: 3886 RVA: 0x0000C918 File Offset: 0x0000AB18
|
||||
[Token(Token = "0x6000F2E")]
|
||||
[Address(RVA = "0x2C31350", Offset = "0x2C30350", VA = "0x182C31350")]
|
||||
public static ConsoleKeyInfo ReadKey()
|
||||
{
|
||||
return default(ConsoleKeyInfo);
|
||||
}
|
||||
|
||||
/// <summary>Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.</summary>
|
||||
/// <param name="intercept">Determines whether to display the pressed key in the console window. <see langword="true" /> to not display the pressed key; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>An object that describes the <see cref="T:System.ConsoleKey" /> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo" /> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
|
||||
// Token: 0x06000F2F RID: 3887 RVA: 0x0000C930 File Offset: 0x0000AB30
|
||||
[Token(Token = "0x6000F2F")]
|
||||
[Address(RVA = "0x2C31200", Offset = "0x2C30200", VA = "0x182C31200")]
|
||||
public static ConsoleKeyInfo ReadKey(bool intercept)
|
||||
{
|
||||
return default(ConsoleKeyInfo);
|
||||
}
|
||||
|
||||
// Token: 0x06000F30 RID: 3888 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F30")]
|
||||
[Address(RVA = "0x2C30D90", Offset = "0x2C2FD90", VA = "0x182C30D90")]
|
||||
internal static void DoConsoleCancelEvent()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400060E RID: 1550
|
||||
[Token(Token = "0x400060E")]
|
||||
internal static TextWriter stdout;
|
||||
|
||||
// Token: 0x0400060F RID: 1551
|
||||
[Token(Token = "0x400060F")]
|
||||
private static TextWriter stderr;
|
||||
|
||||
// Token: 0x04000610 RID: 1552
|
||||
[Token(Token = "0x4000610")]
|
||||
private static TextReader stdin;
|
||||
|
||||
// Token: 0x04000611 RID: 1553
|
||||
[Token(Token = "0x4000611")]
|
||||
private static Encoding inputEncoding;
|
||||
|
||||
// Token: 0x04000612 RID: 1554
|
||||
[Token(Token = "0x4000612")]
|
||||
private static Encoding outputEncoding;
|
||||
|
||||
// Token: 0x04000613 RID: 1555
|
||||
[Token(Token = "0x4000613")]
|
||||
private static ConsoleCancelEventHandler cancel_event;
|
||||
|
||||
// Token: 0x04000614 RID: 1556
|
||||
[Token(Token = "0x4000614")]
|
||||
private static readonly Console.InternalCancelHandler cancel_handler;
|
||||
|
||||
// Token: 0x02000172 RID: 370
|
||||
[Token(Token = "0x2000172")]
|
||||
private class WindowsConsole
|
||||
{
|
||||
// Token: 0x06000F31 RID: 3889
|
||||
[Token(Token = "0x6000F31")]
|
||||
[Address(RVA = "0x2C4A4A0", Offset = "0x2C494A0", VA = "0x182C4A4A0")]
|
||||
private static extern int GetConsoleCP();
|
||||
|
||||
// Token: 0x06000F32 RID: 3890
|
||||
[Token(Token = "0x6000F32")]
|
||||
[Address(RVA = "0x2C4A510", Offset = "0x2C49510", VA = "0x182C4A510")]
|
||||
private static extern int GetConsoleOutputCP();
|
||||
|
||||
// Token: 0x06000F33 RID: 3891 RVA: 0x0000C948 File Offset: 0x0000AB48
|
||||
[Token(Token = "0x6000F33")]
|
||||
[Address(RVA = "0x2C4A440", Offset = "0x2C49440", VA = "0x182C4A440")]
|
||||
private static bool DoWindowsConsoleCancelEvent(int keyCode)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000F34 RID: 3892 RVA: 0x0000C960 File Offset: 0x0000AB60
|
||||
[Token(Token = "0x6000F34")]
|
||||
[Address(RVA = "0x2C4A580", Offset = "0x2C49580", VA = "0x182C4A580")]
|
||||
public static int GetInputCodePage()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000F35 RID: 3893 RVA: 0x0000C978 File Offset: 0x0000AB78
|
||||
[Token(Token = "0x6000F35")]
|
||||
[Address(RVA = "0x2C4A620", Offset = "0x2C49620", VA = "0x182C4A620")]
|
||||
public static int GetOutputCodePage()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04000615 RID: 1557
|
||||
[Token(Token = "0x4000615")]
|
||||
public static bool ctrlHandlerAdded;
|
||||
|
||||
// Token: 0x04000616 RID: 1558
|
||||
[Token(Token = "0x4000616")]
|
||||
private static Console.WindowsConsole.WindowsCancelHandler cancelHandler;
|
||||
|
||||
// Token: 0x02000173 RID: 371
|
||||
// (Invoke) Token: 0x06000F38 RID: 3896
|
||||
[Token(Token = "0x2000173")]
|
||||
private delegate bool WindowsCancelHandler(int keyCode);
|
||||
}
|
||||
|
||||
// Token: 0x02000174 RID: 372
|
||||
// (Invoke) Token: 0x06000F3C RID: 3900
|
||||
[Token(Token = "0x2000174")]
|
||||
private delegate void InternalCancelHandler();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user