Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2021-06-11 21:05:48 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2021-06-11 21:05:48 +0300
commit0f20c15133e907128895e49277549de5ae0d9f9a (patch)
tree267892a35109732835aa585da4e98c311de4db22
parentd346e6ef729e7b94153e81961053715f301e4dc4 (diff)
Apply API changes from https://github.com/mono/mono/pull/20886
-rw-r--r--profiles/net_4_x/mscorlib.cs16
1 files changed, 9 insertions, 7 deletions
diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs
index 4e2fa50..ed83f4a 100644
--- a/profiles/net_4_x/mscorlib.cs
+++ b/profiles/net_4_x/mscorlib.cs
@@ -1272,8 +1272,8 @@ namespace System
public static partial class Console
{
public static System.ConsoleColor BackgroundColor { get { throw null; } set { } }
- public static int BufferHeight { get { throw null; } [System.MonoLimitationAttribute("Implemented only on Windows")]set { } }
- public static int BufferWidth { get { throw null; } [System.MonoLimitationAttribute("Implemented only on Windows")]set { } }
+ public static int BufferHeight { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
+ public static int BufferWidth { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
[System.MonoLimitationAttribute("Implemented only on Windows")]
public static bool CapsLock { get { throw null; } }
public static int CursorLeft { get { throw null; } set { } }
@@ -1295,10 +1295,10 @@ namespace System
public static System.Text.Encoding OutputEncoding { get { throw null; } set { } }
public static string Title { get { throw null; } set { } }
public static bool TreatControlCAsInput { get { throw null; } set { } }
- public static int WindowHeight { get { throw null; } set { } }
- public static int WindowLeft { get { throw null; } set { } }
- public static int WindowTop { get { throw null; } set { } }
- public static int WindowWidth { get { throw null; } set { } }
+ public static int WindowHeight { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
+ public static int WindowLeft { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
+ public static int WindowTop { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
+ public static int WindowWidth { get { throw null; } [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]set { } }
public static event System.ConsoleCancelEventHandler CancelKeyPress { add { } remove { } }
public static void Beep() { }
public static void Beep(int frequency, int duration) { }
@@ -1321,7 +1321,7 @@ namespace System
public static System.ConsoleKeyInfo ReadKey(bool intercept) { throw null; }
public static string ReadLine() { throw null; }
public static void ResetColor() { }
- [System.MonoLimitationAttribute("Only works on windows")]
+ [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]
public static void SetBufferSize(int width, int height) { }
public static void SetCursorPosition(int left, int top) { }
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, UnmanagedCode=true)]
@@ -1330,7 +1330,9 @@ namespace System
public static void SetIn(System.IO.TextReader newIn) { }
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, UnmanagedCode=true)]
public static void SetOut(System.IO.TextWriter newOut) { }
+ [System.MonoLimitationAttribute("Works only on Windows")]
public static void SetWindowPosition(int left, int top) { }
+ [System.MonoLimitationAttribute("Works only on Windows, or with some Xterm-based terminals")]
public static void SetWindowSize(int width, int height) { }
public static void Write(bool value) { }
public static void Write(char value) { }