On Windows with network shares, the project path starts with "//" which
MSBuild treats as a command-line switch, causing "Unknown switch"
errors. Replace the first two chars with "\\" to make it a proper UNC
path.
- Prevents source generators from fully qualifying names being assigned to within an object initializer
- Adds ResourceTextureWithInitializer test cases to ExportedFields and ExportedProperties
Co-Authored-By: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-Authored-By: Paviel Kraskoŭski <kraskovskiy94@gmail.com>
Instead of looking for a solution file with the same name as the project and
its assembly, this commit updates the logic to find all .sln and .slnx files in
the specified solution directory. If no matching solution is found, it will fall
back to the old behaviour.
This commit will also consider .. markings to go up one directory level allowing
for Godot projects as part of multi-project solutions.
Co-authored-by: Eric Johnson <eric.johnson@revention.com>
Use semantic model to analyze the method to be selected
Support translation comment
Make C# multi-line comments also ignore translation
Add preprocessor symbols support
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).
The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.
Non-android projects are not affect, the minimum TFM is still
`net8.0`.
- Fix `is_intentionally_ignored` check, the names in the hash map are not fully-qualified.
- Add a special case for `object.ToString`.
- Validate API type before attempting to reference a type member.
Use a `HashSet` to avoid adding duplicate architectures on exporting. It seems we were adding `x86_64` and `arm64` twice to macOS exports because they are also included in the features.
Added SortList class, and updated List, SelfList, and HashMap sort methods to use it. Sorting is done with merge sort, with an initial check to optimize for already sorted lists, and sorted lists that were appended to.