Jonathan Pryor

Results 112 comments of Jonathan Pryor
trafficstars

> Removing usage of AsyncCallback and AsyncResult, this is not available in netstandard. This comment does not make sense to me, as public documentation states that these types exist ~everywhere:...

The `netstandard.dll` for net4.5 also contains the forwarders: ``` % monodis --forward-decls /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/Facades/netstandard.dll | grep IAsyncRes .class extern forwarder System.IAsyncResult % monodis --forward-decls /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/Facades/netstandard.dll | grep AsyncCallb .class extern forwarder...

[`TaskFactory.FromAsync()`](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.taskfactory-1.fromasync?view=net-5.0) can be used to "bundle together" a Begin+End method pair into something that returns a Task.

This PR has possibly been superseded by PR #8.

Another question/concern which comes to mind is around [NormalizationForm](https://learn.microsoft.com/en-us/dotnet/api/system.text.normalizationform?view=net-7.0); see also (?): * https://github.com/xamarin/xamarin-android/commit/578e781ba15326f3141e475977e7d1dc75057a42 * https://unicode.org/reports/tr15/ What gives me pause about this question is that afaik Unicode Normalization only comes...

@ksidirop-laerdal: could we please get a repro *project* with all dependencies that would allow us to repro your net7 and net8 observations?

Given that .NET 7.0 is no longer supported (support ended 2024-May-14), I agree with @jpobst's suggestion that we only update these packages when we migrate to `net8.0-android`.

I think this is less a problem with AOT, and more a problem with `dotnet publish` integration/support: `libMonoPosixHelper.so` is a native library, and thus outside the confines of AOT, but...

To some extent, instead of "Start from a .NET 6 project, add Classic builds", a "modified opposite" perspective may be more accurate: start with a Classic (long-form) Project, then hand-edit...