File tree Expand file tree Collapse file tree
test/OpenApiTests/AttributeTypes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public sealed class TypeContainer : Identifiable<long>
128128 public char ? TestNullableChar { get ; set ; }
129129
130130 [ Attr ]
131- public required string TestString { get ; set ; }
131+ public string TestString { get ; set ; } = null ! ;
132132
133133 [ Attr ]
134134 public string ? TestNullableString { get ; set ; }
@@ -186,13 +186,13 @@ public sealed class TypeContainer : Identifiable<long>
186186 public Guid ? TestNullableGuid { get ; set ; }
187187
188188 [ Attr ]
189- public required Uri TestUri { get ; set ; }
189+ public Uri TestUri { get ; set ; } = null ! ;
190190
191191 [ Attr ]
192192 public Uri ? TestNullableUri { get ; set ; }
193193
194194 [ Attr ]
195- public required IPAddress TestIPAddress { get ; set ; }
195+ public IPAddress TestIPAddress { get ; set ; } = null ! ;
196196
197197 [ Attr ]
198198 public IPAddress ? TestNullableIPAddress { get ; set ; }
@@ -204,7 +204,7 @@ public sealed class TypeContainer : Identifiable<long>
204204 public IPNetwork ? TestNullableIPNetwork { get ; set ; }
205205
206206 [ Attr ]
207- public required Version TestVersion { get ; set ; }
207+ public Version TestVersion { get ; set ; } = null ! ;
208208
209209 [ Attr ]
210210 public Version ? TestNullableVersion { get ; set ; }
You can’t perform that action at this time.
0 commit comments