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/A.cs')
-rw-r--r--sandbox/TestData2/A.cs15
1 files changed, 6 insertions, 9 deletions
diff --git a/sandbox/TestData2/A.cs b/sandbox/TestData2/A.cs
index 44b0a47f..a7eeef9d 100644
--- a/sandbox/TestData2/A.cs
+++ b/sandbox/TestData2/A.cs
@@ -1,17 +1,14 @@
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-using System.Collections.Generic;
-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 A
{
- [MessagePackObject(true)]
- public class A
- {
- public int a; public List<B> bs; public C c;
- }
+ public int a; public List<B?>? bs; public C? c;
}