OwnageIsMagic

Results 27 issues of OwnageIsMagic

`warning MSB3268: The primary reference "Quartz.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which could not be resolved in...

just for source compatibility https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6bf7424a79ce3af9d6657/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/SkipLocalsInitAttribute.cs

https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6bf7424a79ce3af9d6657/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs

`Thread.GetCurrentProcessorId` if native method is unavailable, it using `Environment.CurrentManagedThreadId`, which is also new API (returning `Thread.CurrentThread.ManagedThreadId`) https://github.com/dotnet/runtime/blob/1c927462696f5af7d5e667f54b1c39452cba4b2d/src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs#L192 https://github.com/dotnet/runtime/blob/ef2c9044e94fa1997fff7105fb7fdc4ec7802dac/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/Thread.CoreRT.Unix.cs#L166

https://github.com/dotnet/runtime/tree/main/src/libraries/System.Runtime.CompilerServices.Unsafe/src exact commit in case it moved https://github.com/dotnet/runtime/tree/053a472be0143bda0891c715d7b2ce7398538127/src/libraries/System.Runtime.CompilerServices.Unsafe/src to build without configuring `global.json` replace ```xml ``` with ```xml ```

https://github.com/theraot/Theraot/blob/99c4399b85d326f2e266bf4834dd11e4b1900fa6/Framework.Core/Theraot/Collections/ThreadSafe/ArrayReservoir.cs https://github.com/dotnet/runtime/blob/c7fda3b94a50297e6ece9db4ddc79ed039394dd3/src/libraries/System.Private.CoreLib/src/System/Buffers/ArrayPool.cs

crash when trying to view surface ![gif](https://user-images.githubusercontent.com/10534634/29611077-e1b714a0-8804-11e7-82f4-9f38bad14725.gif) save: https://mega.nz/#!LNlxlT5Q!aES4FJIeHhU7T3r5YgRZ0h6_IPRcaYDbJlLPf3LqaOc

Crash/Hang

MC sets mem to `(0)`

Add simple modal dialogs like in javascript (alert, confirm, prompt). [Example](http://lua-users.org/wiki/SciteLuaDll)