Skip to content

Commit 49f734d

Browse files
Missing expected classes
1 parent eb37a71 commit 49f734d

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Association.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public partial class Association : IAssociation
127127
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
128128
[RedefinedByProperty("IAssociation.AssociationEnd")]
129129
[Implements(implementation: "IType.EndFeature")]
130-
List<Guid> Core.Types.IType.endFeature => this.associationEnd;
130+
List<Guid> Core.Types.IType.endFeature => [.. this.associationEnd];
131131

132132
/// <summary>
133133
/// The ownedMemberFeatures of the featureMemberships of this Type.
@@ -507,7 +507,7 @@ public partial class Association : IAssociation
507507
[Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)]
508508
[RedefinedByProperty("IAssociation.RelatedType")]
509509
[Implements(implementation: "IRelationship.RelatedElement")]
510-
List<Guid> Root.Elements.IRelationship.relatedElement => this.relatedType;
510+
List<Guid> Root.Elements.IRelationship.relatedElement => [.. this.relatedType];
511511

512512
/// <summary>
513513
/// The types of the associationEnds of the Association, which are the relatedElements of the
@@ -559,7 +559,7 @@ List<Guid> Root.Elements.IRelationship.Source
559559
[Implements(implementation: "IRelationship.Target")]
560560
List<Guid> Root.Elements.IRelationship.Target
561561
{
562-
get => this.targetType;
562+
get => [.. this.targetType];
563563
set { }
564564
}
565565

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Dependency.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public partial class Dependency : IDependency
248248
[Implements(implementation: "IRelationship.Source")]
249249
List<Guid> Root.Elements.IRelationship.Source
250250
{
251-
get => this.Client;
251+
get => [.. this.Client];
252252
set
253253
{
254254
this.Client = value;
@@ -272,7 +272,7 @@ List<Guid> Root.Elements.IRelationship.Source
272272
[Implements(implementation: "IRelationship.Target")]
273273
List<Guid> Root.Elements.IRelationship.Target
274274
{
275-
get => this.Supplier;
275+
get => [.. this.Supplier];
276276
set
277277
{
278278
this.Supplier = value;

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/EnumerationDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ bool Systems.DefinitionAndUsage.IDefinition.IsVariation
772772
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")]
773773
[RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")]
774774
[Implements(implementation: "IDefinition.Variant")]
775-
List<Guid> Systems.DefinitionAndUsage.IDefinition.variant => this.enumeratedValue;
775+
List<Guid> Systems.DefinitionAndUsage.IDefinition.variant => [.. this.enumeratedValue];
776776

777777
/// <summary>
778778
/// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Flow.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public partial class Flow : IFlow
6262
[RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")]
6363
[RedefinedByProperty("IFlow.Interaction")]
6464
[Implements(implementation: "IConnector.Association")]
65-
List<Guid> Kernel.Connectors.IConnector.association => this.interaction;
65+
List<Guid> Kernel.Connectors.IConnector.association => [.. this.interaction];
6666

6767
/// <summary>
6868
/// The Behaviors that type this Step.
@@ -71,7 +71,7 @@ public partial class Flow : IFlow
7171
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")]
7272
[RedefinedByProperty("IFlow.Interaction")]
7373
[Implements(implementation: "IStep.Behavior")]
74-
List<Guid> Kernel.Behaviors.IStep.behavior => this.interaction;
74+
List<Guid> Kernel.Behaviors.IStep.behavior => [.. this.interaction];
7575

7676
/// <summary>
7777
/// The Feature that are chained together to determine the values of this Feature, derived from the
@@ -151,7 +151,7 @@ public partial class Flow : IFlow
151151
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
152152
[RedefinedByProperty("IStep.Parameter")]
153153
[Implements(implementation: "IType.DirectedFeature")]
154-
List<Guid> Core.Types.IType.directedFeature => this.parameter;
154+
List<Guid> Core.Types.IType.directedFeature => [.. this.parameter];
155155

156156
/// <summary>
157157
/// Indicates how values of this Feature are determined or used (as specified for the
@@ -185,7 +185,7 @@ public partial class Flow : IFlow
185185
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
186186
[RedefinedByProperty("IConnector.ConnectorEnd")]
187187
[Implements(implementation: "IType.EndFeature")]
188-
List<Guid> Core.Types.IType.endFeature => this.connectorEnd;
188+
List<Guid> Core.Types.IType.endFeature => [.. this.connectorEnd];
189189

190190
/// <summary>
191191
/// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an
@@ -788,7 +788,7 @@ public partial class Flow : IFlow
788788
[Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)]
789789
[RedefinedByProperty("IConnector.RelatedFeature")]
790790
[Implements(implementation: "IRelationship.RelatedElement")]
791-
List<Guid> Root.Elements.IRelationship.relatedElement => this.relatedFeature;
791+
List<Guid> Root.Elements.IRelationship.relatedElement => [.. this.relatedFeature];
792792

793793
/// <summary>
794794
/// The Features that are related by this Connector considered as a Relationship and that restrict the
@@ -848,7 +848,7 @@ List<Guid> Root.Elements.IRelationship.Source
848848
[Implements(implementation: "IRelationship.Target")]
849849
List<Guid> Root.Elements.IRelationship.Target
850850
{
851-
get => this.targetFeature;
851+
get => [.. this.targetFeature];
852852
set { }
853853
}
854854

@@ -888,7 +888,7 @@ List<Guid> Root.Elements.IRelationship.Target
888888
[Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
889889
[RedefinedByProperty("IConnector.Association")]
890890
[Implements(implementation: "IFeature.Type")]
891-
List<Guid> Core.Features.IFeature.type => ((SysML2.NET.Core.DTO.Kernel.Connectors.IConnector)this).association;
891+
List<Guid> Core.Features.IFeature.type => [.. ((SysML2.NET.Core.DTO.Kernel.Connectors.IConnector)this).association];
892892

893893
/// <summary>
894894
/// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralInteger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public partial class LiteralInteger : ILiteralInteger
121121
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
122122
[RedefinedByProperty("IStep.Parameter")]
123123
[Implements(implementation: "IType.DirectedFeature")]
124-
List<Guid> Core.Types.IType.directedFeature => this.parameter;
124+
List<Guid> Core.Types.IType.directedFeature => [.. this.parameter];
125125

126126
/// <summary>
127127
/// Indicates how values of this Feature are determined or used (as specified for the

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralRational.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public partial class LiteralRational : ILiteralRational
121121
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
122122
[RedefinedByProperty("IStep.Parameter")]
123123
[Implements(implementation: "IType.DirectedFeature")]
124-
List<Guid> Core.Types.IType.directedFeature => this.parameter;
124+
List<Guid> Core.Types.IType.directedFeature => [.. this.parameter];
125125

126126
/// <summary>
127127
/// Indicates how values of this Feature are determined or used (as specified for the

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/RequirementUsage.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ string Root.Elements.IElement.DeclaredShortName
149149
[RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")]
150150
[RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")]
151151
[Implements(implementation: "IUsage.Definition")]
152-
List<Guid> Systems.DefinitionAndUsage.IUsage.definition => this.occurrenceDefinition;
152+
List<Guid> Systems.DefinitionAndUsage.IUsage.definition => [.. this.occurrenceDefinition];
153153

154154
/// <summary>
155155
/// The interpretations of a Type with differencingTypes are asserted to be those of the first of those
@@ -171,7 +171,7 @@ string Root.Elements.IElement.DeclaredShortName
171171
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
172172
[RedefinedByProperty("IStep.Parameter")]
173173
[Implements(implementation: "IType.DirectedFeature")]
174-
List<Guid> Core.Types.IType.directedFeature => this.parameter;
174+
List<Guid> Core.Types.IType.directedFeature => [.. this.parameter];
175175

176176
/// <summary>
177177
/// The usages of this Usage that are directedFeatures.
@@ -1184,7 +1184,7 @@ bool Core.Features.IFeature.IsVariable
11841184
[Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
11851185
[RedefinedByProperty("IUsage.Definition")]
11861186
[Implements(implementation: "IFeature.Type")]
1187-
List<Guid> Core.Features.IFeature.type => ((SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.IUsage)this).definition;
1187+
List<Guid> Core.Features.IFeature.type => [.. ((SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.IUsage)this).definition];
11881188

11891189
/// <summary>
11901190
/// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/SelectExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public partial class SelectExpression : ISelectExpression
131131
[SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")]
132132
[RedefinedByProperty("IStep.Parameter")]
133133
[Implements(implementation: "IType.DirectedFeature")]
134-
List<Guid> Core.Types.IType.directedFeature => this.parameter;
134+
List<Guid> Core.Types.IType.directedFeature => [.. this.parameter];
135135

136136
/// <summary>
137137
/// Indicates how values of this Feature are determined or used (as specified for the

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Usage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ bool Core.Features.IFeature.IsVariable
996996
[Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)]
997997
[RedefinedByProperty("IUsage.Definition")]
998998
[Implements(implementation: "IFeature.Type")]
999-
List<Guid> Core.Features.IFeature.type => this.definition;
999+
List<Guid> Core.Features.IFeature.type => [.. this.definition];
10001000

10011001
/// <summary>
10021002
/// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the

0 commit comments

Comments
 (0)