Cornelius Riemenschneider
526dbe5901
Address review, also run semmle-util tests.
2024-12-09 12:19:01 +01:00
Cornelius Riemenschneider
18560cde9d
C#: Shorten test target names to make Windows happy.
2024-12-09 10:54:04 +01:00
Tamas Vajk
199a9688af
C#: Fix quality issues
2024-06-28 13:58:08 +02:00
Tamas Vajk
beffc2a49d
C#: Remove unneeded source folder from Bazel build scripts
2024-06-07 15:23:45 +02:00
Cornelius Riemenschneider
576ea325e8
Merge remote-tracking branch 'origin/main' into criemen/bazel-csharp
2024-05-23 10:21:19 +02:00
Cornelius Riemenschneider
71372bc74c
C#: Add Bazel-based build system.
...
This commits a bazel-based build system for C#
using `rules_dotnet`. External dependencies are managed
via `paket`, and updates to the generated bazel files
are done via `./update-deps.sh`.
We're providing our own (minimal) test runner for `xunit`
tests.
2024-05-21 09:14:13 +02:00
Tamas Vajk
6da0592ab6
C#: Refactor common msbuild properties
2024-05-21 08:55:12 +02:00
Cornelius Riemenschneider
a6ce24dc39
C#: Reformat project files with paket.
...
When running `dotnet paket update` or `dotnet paket install`, `paket`
forcefully reformats the project files. This is unfortunate.
One option is to accept these changes, as they're not harmful.
They do mean that each project includes the Paket restore targets individually,
instead of doing so via `Directory.Build.targets`.
Another option would be to not merge this PR, and then I'll document that
the changes to the csproj files should be ignored when running `paket` instead.
I don't really mind either way.
2024-05-17 12:19:53 +02:00
Cornelius Riemenschneider
a158e40cc2
MSBuild: Move paket restore target inclusion to global file.
2024-05-15 14:17:02 +02:00
Cornelius Riemenschneider
45167cf9f1
C#: Switch over dependencies in msbuild files to paket.
2024-05-15 13:28:00 +02:00
Cornelius Riemenschneider
04c26056a1
C#: Commit paket-based dependency tree.
2024-05-15 13:27:58 +02:00
Tom Hvitved
62382fc5a2
C#: Fetch .NET in dependency manager instead of autobuilder
2024-02-29 11:23:36 +01:00
Michael Nebel
e69f0e3461
C#: Don't generate stubs for the record Clone method.
2023-12-15 15:41:59 +01:00
Michael Nebel
671692177e
C#: Escape method names.
2023-12-15 11:34:06 +01:00
Michael Nebel
766baa9a50
C#: Add support for ref readonly parameters in the stub generator.
2023-12-13 11:09:57 +01:00
Michael Nebel
09239ba804
C#: Update NuGet packages.
2023-12-11 10:57:43 +01:00
Michael Nebel
9ab9f2b0e6
C#: Update all project files to use .NET 8 as target framework.
2023-12-11 10:57:43 +01:00
Tamas Vajk
50b7ab8448
C#: Add interpolated string handler attributes to generated stubs
2023-12-06 15:40:48 +01:00
Tom Hvitved
fea2bf9217
C#: Prevent infinite recursion in EqualsModuloTupleElementNames
2023-11-28 11:45:09 +01:00
Tom Hvitved
abc16abf6f
C#: Include AttributeUsages in stub generator
2023-10-27 08:34:20 +02:00
Michael Nebel
086588982e
C#: Ensure that always use the same newline symbol for stub generation.
2023-09-29 09:35:42 +02:00
Michael Nebel
cb1647cd02
C#: Disable unit tests (need to fix line ending issues).
2023-09-27 15:35:48 +02:00
Michael Nebel
4c3cbad8fe
C#: Prepare stub generator for unit testing and expose internals to the Test project.
2023-09-27 11:44:17 +02:00
Michael Nebel
839ef7fef5
C#: Add compile time constants for some types of fields in the stub generator.
2023-09-26 15:06:30 +02:00
Michael Nebel
82f5a02729
C#: Add readonly modifier to fields during stub generation.
2023-09-26 12:28:00 +02:00
Tom Hvitved
4bfd6771b4
C#: Make GenerateStubs return list of generated output
2023-09-25 13:27:50 +02:00
Tom Hvitved
831baa867c
C#: Refactor and regenerate stubs
2023-09-22 09:15:01 +02:00
Tom Hvitved
4805e2a47b
Address more review comments
2023-09-21 15:35:50 +02:00
Tom Hvitved
04c4e739ac
Address review comments
2023-09-21 13:33:02 +02:00
Tom Hvitved
e021fb46c8
C#: Roslyn based stub generation
2023-09-21 11:33:25 +02:00