András Jankó
András Jankó
Useful .NET 6 structs, add support for client-side use + remoting.
`WebSharper.JavaScript.Interop.X` should be considered client-only, as are all methods that has only this as body and all WIG methods. (Recursive exploration of further client-only methods are probably not a good...
Pass in the string/int at the call site during compile time to JavaScript for arguments marked with: - [ ] `CallerArgumentExpressionAttribute` - [ ] test added - [ ] `CallerFilePathAttribute`...
See https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/interpolated-string-handler - [ ] Interpolated string handler respected in JS translation - [ ] Test added
Tests already exist (but marked to skip): https://github.com/dotnet-websharper/core/blob/d6f1bd43cf0250e31fc1d1c3a1c2244864127599/tests/WebSharper.CSharp.Tests/Records.cs#L55-L62 [ ] Implement ProjectReader changes, only supporting immutable record structs for now (as general mutable struct support is missing)
Some WebSharper attributes could be respected on C# local functions for granularity. This is not a priority, as it any goal can be reached by moving them to be proper...
Tests already exist (but marked to skip): https://github.com/dotnet-websharper/core/blob/1593e1045e49ae23836e3573659a551718deb8ef/tests/WebSharper.CSharp.Tests/Syntax.cs#L690-L708 - [ ] Add proxies for the structs - [ ] Add support for C# `^` (index from end) and `..` (range)...
Skipped tests already exist: https://github.com/dotnet-websharper/core/blob/1593e1045e49ae23836e3573659a551718deb8ef/tests/WebSharper.CSharp.Tests/Task.cs#L113-L140 - [ ] Add proxies for the interfaces - [ ] Add support for C# `using` with `IAsyncDisposable` - [ ] Add support for C#...
TPs can load assemblies and lock them in main context of booster process. Test using AssemblyLoadContext for F# compilations
Currently DateTime only works as local time on the client, both its constructor and properties. (If using only the normal .NET methods, the `.JS` extension property converts it to a...