Skip to content

Commit 6f975a3

Browse files
Fix static and unnecessary casting warning
1 parent d5e29dd commit 6f975a3

260 files changed

Lines changed: 356 additions & 340 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/AnnotatingElementFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="AnnotatingElementFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Root.Annotations.AnnotatingElement"/> based on a <see cref="Core.DTO.Root.Annotations.AnnotatingElement"/>
3232
/// </summary>
33-
public class AnnotatingElementFactory
33+
public static class AnnotatingElementFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Root.Annotations.AnnotatingElement"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/AssociationFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="AssociationFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Kernel.Associations.Association"/> based on a <see cref="Core.DTO.Kernel.Associations.Association"/>
3232
/// </summary>
33-
public class AssociationFactory
33+
public static class AssociationFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Kernel.Associations.Association"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/DependencyFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="DependencyFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Root.Dependencies.Dependency"/> based on a <see cref="Core.DTO.Root.Dependencies.Dependency"/>
3232
/// </summary>
33-
public class DependencyFactory
33+
public static class DependencyFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Root.Dependencies.Dependency"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="EnumerationDefinitionFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Systems.Enumerations.EnumerationDefinition"/> based on a <see cref="Core.DTO.Systems.Enumerations.EnumerationDefinition"/>
3232
/// </summary>
33-
public class EnumerationDefinitionFactory
33+
public static class EnumerationDefinitionFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Systems.Enumerations.EnumerationDefinition"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FeatureFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="FeatureFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Core.Features.Feature"/> based on a <see cref="Core.DTO.Core.Features.Feature"/>
3232
/// </summary>
33-
public class FeatureFactory
33+
public static class FeatureFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Core.Features.Feature"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FeatureTypingFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="FeatureTypingFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Core.Features.FeatureTyping"/> based on a <see cref="Core.DTO.Core.Features.FeatureTyping"/>
3232
/// </summary>
33-
public class FeatureTypingFactory
33+
public static class FeatureTypingFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Core.Features.FeatureTyping"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FlowFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="FlowFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Kernel.Interactions.Flow"/> based on a <see cref="Core.DTO.Kernel.Interactions.Flow"/>
3232
/// </summary>
33-
public class FlowFactory
33+
public static class FlowFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Kernel.Interactions.Flow"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="FramedConcernMembershipFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Systems.Requirements.FramedConcernMembership"/> based on a <see cref="Core.DTO.Systems.Requirements.FramedConcernMembership"/>
3232
/// </summary>
33-
public class FramedConcernMembershipFactory
33+
public static class FramedConcernMembershipFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Systems.Requirements.FramedConcernMembership"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/LiteralIntegerFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="LiteralIntegerFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Kernel.Expressions.LiteralInteger"/> based on a <see cref="Core.DTO.Kernel.Expressions.LiteralInteger"/>
3232
/// </summary>
33-
public class LiteralIntegerFactory
33+
public static class LiteralIntegerFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Kernel.Expressions.LiteralInteger"/> and sets the value properties

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/LiteralRationalFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace SysML2.NET.Dal
3030
/// The purpose of the <see cref="LiteralRationalFactory"/> is to create a new instance of a
3131
/// <see cref="Core.POCO.Kernel.Expressions.LiteralRational"/> based on a <see cref="Core.DTO.Kernel.Expressions.LiteralRational"/>
3232
/// </summary>
33-
public class LiteralRationalFactory
33+
public static class LiteralRationalFactory
3434
{
3535
/// <summary>
3636
/// Creates an instance of the <see cref="Core.POCO.Kernel.Expressions.LiteralRational"/> and sets the value properties

0 commit comments

Comments
 (0)