Age | Commit message (Collapse) | Author |
|
This allows us to remove a lot of cruft and simplifies our CI build.
|
|
* [mcs] skip "_" when building number
* [mcs] Refactor digit separator feature report
* [mcs] Clean up digit separator code
* [mcs] Throw errors for invalid digit separator usage
* [mcs] Fix hex and bin usage of digit separator tests
* [mcs] Add digit separator usages that throw errors
* [mcs] Update il
|
|
* [interp] Make StackValue more intuitive
Replace the opcode field with an enum which will represent what type of value is contained (STACK_VALUE_LOCAL, STACK_VALUE_I4 etc)
* [interp] Add the mint type to the local data
Makes the emitting code easier and we no longer compute the mint type for each local access, which is fairly expensive.
* [interp] Handle indirect locals saner during cprop
Instead of checking for the indirect flag when loading from a local, simply never store a StackValue into such a local since we can't use it. We use the same logic when not pushing on the stack values for such locals.
* [interp] Add constant folding for integers
We decode the values from LDC_I4 and LDC_I8 opcodes and track/propagate the values on the stack and in the locals using the existing infrastructure. When loading a local, we try to load using the known constant value instead, so we might get to kill that local.
* [interp] Similar to stloc.np we can optimize pop/push pairs
If the pushing instruction pushes the same value that was popped by the previous instruction, we can kill them both
* [tests] Remove issue that seems to have been fixed for a while
|
|
(#14967)
* Update the checks for ByRef return type in reflection invocation to also check for IsByRefLike types. This was missed as part of #13901 and noted in the description.
Fixes #14959, #14960, #14961, #14963
* Modify the reflection checks for IsByRef/IsByRefLike to check for same conditions as CoreCLR
* Handle reflection invocation with ref void return type
* Update test-ref-07 to have Main method that is valid to invoke through reflection (as the test runner does)
* Update expected IL
|
|
Before the code
(a, b) = (b, a);
was the equivalent of
a = b;
b = a;
now, it evaluates it to so something like
tmp1 = a;
tmp2 = b;
a = tmp2;
b = tmp1;
Signed-off-by: Bijan Tabatabai <bijan311@yahoo.com>
|
|
They can be used with native line endings.
We now have a shared folder with the dotnet repos and they have CRLF normalization enabled.
This difference leads to conflicts while applying changes from the dotnet repos to mono.
|
|
Includes the following from System.IO:
* FileSystemInfo
* FileInfo
* DirectoryInfo
* Directory
* FileSystem
* Path `Join()` Span API
and all of System.IO.Enumeration namespace.
Adds about 1600 System.IO tests
Behavior changes:
* `File.Replace` now replaces files even if they are read-only (using the `rename` syscall on Unix)
* Directory enumeration is no longer stable in the way that many Mono tests expect
* Some changes in when/whether some representations of directories contain a trailing separator character
* Changes in which exceptions are thrown (sometimes these are platform-dependent on CoreFX)
Issues:
* https://github.com/dotnet/corefx/issues/33486
* https://github.com/dotnet/corefx/issues/33490
Part of #7246
|
|
The test-bundle target copies all assets needed for test execution
to a specified directory. We upload this directory to Helix and use it
to run our mainline tests.
|
|
So we can precompile all tests across the repo using a simple "make test" in the root.
|
|
Fixes https://github.com/mono/mono/issues/10838.
The new behavior is similar to coreclr's one: https://github.com/dotnet/coreclr/blob/af4ec7c89d0192ad14392da04e8c097da8ec9e48/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs#L145
|
|
Add proper dependencies to the test support files where they were missing.
Compile test files using the standard "make test" target.
|
|
We can use this to pass a directory the tests can use for -r or -lib.
Also fix cs1703-2.cs to not rely on binary outside repo during test.
|
|
|
|
|
|
|
|
|
|
Part of #6854
|
|
|
|
|
|
* Make stack traces readable
* Updates the logic to work on Mono
* [symbolicate] Add support for prettified async stack traces
* Tests update
|
|
|
|
|
|
|
|
and pattern variable has to be created
|
|
|
|
|
|
|
|
Fixes #7729
|
|
|
|
* C# 7.0 binary literal support
* [mcs] Add another negative error test
|
|
|
|
* [interp] Enable more runtime tests
* [interp] Enable more mcs tests
|
|
When doing a vararg call we push on the vtstack the current call signature followed by the params. The child_frame will have a pointer to this memory on the parents vt_stack from where it can linearly access the varargs using the same ArgIterator logic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unwrapping. Fixes #60900
|
|
|
|
|
|
ref types correctly
while at it:
* only get MonoClass if really necessary.
* use helper function to print method with signature.
fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=60756
|
|
|
|
|
|
|
|
|