Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/aspnet/MessagePack-CSharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/TestData2/C.cs')
-rw-r--r--sandbox/TestData2/C.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/sandbox/TestData2/C.cs b/sandbox/TestData2/C.cs
index 079c171e..741517ff 100644
--- a/sandbox/TestData2/C.cs
+++ b/sandbox/TestData2/C.cs
@@ -1,16 +1,14 @@
-// Copyright (c) All contributors. All rights reserved.
+// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-using MessagePack;
-
#pragma warning disable SA1307 // Accessible fields should begin with upper-case letter
#pragma warning disable SA1401 // Fields should be private
+#nullable enable
+
+namespace TestData2;
-namespace TestData2
+[MessagePackObject(true)]
+public class C
{
- [MessagePackObject(true)]
- public class C
- {
- public B b; public int a;
- }
+ public B? b; public int a;
}