Debian Codegraph @

modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/MoreExportedFields.cs

raw symbols SCIP
1 using System;
2 using System.Diagnostics.CodeAnalysis;
3
4 #pragma warning disable CS0169
5 #pragma warning disable CS0414
6
7 namespace Godot.SourceGenerators.Sample
8 {
9 [SuppressMessage("ReSharper", "BuiltInTypeReferenceStyle")]
10 [SuppressMessage("ReSharper", "RedundantNameQualifier")]
11 [SuppressMessage("ReSharper", "ArrangeObjectCreationWhenTypeEvident")]
12 [SuppressMessage("ReSharper", "InconsistentNaming")]
13 // We split the definition of ExportedFields to verify properties work across multiple files.
14 public partial class ExportedFields : GodotObject
15 {
16 // Note we use Array and not System.Array. This tests the generated namespace qualification.
17 [Export] private Int64[] _fieldEmptyInt64Array = Array.Empty<Int64>();
18 }
19 }