mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
139a5df821
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)
23 lines
541 B
C#
23 lines
541 B
C#
using System;
|
|
|
|
namespace Godot.SourceGenerators.Sample;
|
|
|
|
public partial class NestedClass : GodotObject
|
|
{
|
|
public partial class NestedClass2 : GodotObject
|
|
{
|
|
public partial class NestedClass3 : GodotObject
|
|
{
|
|
[Signal]
|
|
public delegate void MySignalEventHandler(string str, int num);
|
|
|
|
[Export] private String _fieldString = "foo";
|
|
[Export] private String PropertyString { get; set; } = "foo";
|
|
|
|
private void Method()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|