godot/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators
Paul Joannon 139a5df821
Cleanup C# projects, code quality & style
New rules:
- Do not silence CA1805 any more
- Limit where we silence CA1707, CA1711, CA1720
- Enforce severity=warning for IDE0040
- Enforce Allman style braces
- Enforce naming conventions (IDE1006 is still severity=suggestion)

Fixes:
- Fix REFL045, CS1572, CS1573
- Suppress CS0618 when generating `InvokeGodotClassMethod`
- Fix indent when generating GD_constants.cs
- Temporarily silence CS1734 in generated code
- Fix a lot of naming rule violations

Misc.:
- Remove ReSharper comments for RedundantNameQualifier
- Remove suppression attributes for RedundantNameQualifier
- Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
2024-02-27 20:11:24 +01:00
..
AnalyzerReleases.Shipped.md C#: Add analyzer release tracking 2024-02-19 19:47:40 +01:00
AnalyzerReleases.Unshipped.md C#: Add analyzer release tracking 2024-02-19 19:47:40 +01:00
ClassPartialModifierAnalyzer.cs provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests 2024-02-21 12:35:28 +03:00
CodeAnalysisAttributes.cs Clean a bunch of C# warnings 2024-01-26 09:38:33 +01:00
Common.cs provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests 2024-02-21 12:35:28 +03:00
EventHandlerSuffixSuppressor.cs C#: Suppress EventHandler suffix diagnostic for signals 2022-09-22 14:23:01 +02:00
ExtensionMethods.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00
GlobalClassAnalyzer.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00
Godot.SourceGenerators.csproj Merge pull request #87253 from van800/van800/analyser 2024-02-21 15:22:54 +01:00
Godot.SourceGenerators.props Add fine-grained disabling of SourceGenerators 2023-03-25 13:46:12 +11:00
GodotClasses.cs Add tests and fix exports diagnostics 2024-02-20 11:24:41 +01:00
GodotEnums.cs Reorder PropertyHint enum to avoid breaking compat 2023-05-12 01:48:07 +02:00
GodotMemberData.cs C#: Cleanup Variant marshaling code in source/bindings generators 2022-12-02 14:47:12 +01:00
GodotPluginsInitializerGenerator.cs Add fine-grained disabling of SourceGenerators 2023-03-25 13:46:12 +11:00
Helper.cs Clean a bunch of C# warnings 2024-01-26 09:38:33 +01:00
MarshalType.cs C#: Renames to follow .NET naming conventions 2023-01-27 02:04:17 +01:00
MarshalUtils.cs C#: Rename `Object` to `GodotObject` 2023-01-27 02:04:18 +01:00
MethodInfo.cs Add `readonly` to C# methods and types that don't mutate 2022-11-14 20:32:20 +01:00
MustBeVariantAnalyzer.cs Clean diagnostic rules 2024-02-18 16:47:20 +01:00
PropertyInfo.cs C#: Set `PropertyInfo.class_name` for method parameters 2023-06-16 23:19:38 +02:00
ScriptMethodsGenerator.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00
ScriptPathAttributeGenerator.cs provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests 2024-02-21 12:35:28 +03:00
ScriptPropertiesGenerator.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00
ScriptPropertyDefValGenerator.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00
ScriptRegistrarGenerator.cs C#: Add initial implementation of source generator for script members 2022-08-22 03:36:51 +02:00
ScriptSerializationGenerator.cs provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests 2024-02-21 12:35:28 +03:00
ScriptSignalsGenerator.cs Cleanup C# projects, code quality & style 2024-02-27 20:11:24 +01:00