From ade47534a0444231d1b8c74164db34a9680e2d46 Mon Sep 17 00:00:00 2001
From: PTKu <61538034+PTKu@users.noreply.github.com>
Date: Mon, 2 Dec 2024 14:38:55 +0100
Subject: [PATCH] fix expected compiler output
---
.../units/expected/.g/POCO/class_with_pragmas.g.cs | 1 -
.../units/expected/.g/POCO/compileromitsattribute.g.cs | 1 -
.../samples/units/expected/.g/POCO/configuration.g.cs | 10 ----------
.../samples/units/expected/.g/POCO/generics.g.cs | 2 --
.../samples/units/expected/.g/POCO/makereadonce.g.cs | 3 ---
.../samples/units/expected/.g/POCO/makereadonly.g.cs | 3 ---
.../samples/units/expected/units.csproj | 4 ++--
7 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/class_with_pragmas.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/class_with_pragmas.g.cs
index 874c9530..3f2f1d38 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/class_with_pragmas.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/class_with_pragmas.g.cs
@@ -12,7 +12,6 @@ public ClassWithPragmas()
{
}
- [Container(Layout.Wrap)]
public ClassWithPragmasNamespace.ComplexType1 myComplexType { get; set; } = new ClassWithPragmasNamespace.ComplexType1();
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/compileromitsattribute.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/compileromitsattribute.g.cs
index 1db7eb7f..2e89b94c 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/compileromitsattribute.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/compileromitsattribute.g.cs
@@ -12,7 +12,6 @@ public ClassWithArrays()
{
}
- [CompilerOmitsAttribute("Onliner")]
public CompilerOmmits.Complex _must_be_omitted_in_onliner { get; set; } = new CompilerOmmits.Complex();
public Byte[] _primitive { get; set; } = new Byte[11];
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/configuration.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/configuration.g.cs
index 68008a92..d0d444b3 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/configuration.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/configuration.g.cs
@@ -34,22 +34,12 @@ public partial class unitsTwinController
public Char myWCHAR { get; set; }
public string mySTRING { get; set; } = string.Empty;
public string myWSTRING { get; set; } = string.Empty;
-
- [ReadOnce()]
public string myWSTRING_readOnce { get; set; } = string.Empty;
-
- [ReadOnly()]
public string myWSTRING_readOnly { get; set; } = string.Empty;
-
- [ReadOnce()]
public ComplexForConfig cReadOnce { get; set; } = new ComplexForConfig();
-
- [ReadOnly()]
public ComplexForConfig cReadOnly { get; set; } = new ComplexForConfig();
public global::Colorss Colorss { get; set; }
public UInt64 Colorsss { get; set; }
-
- [CompilerOmitsAttribute("Onliner")]
public Boolean _must_be_omitted_in_onliner { get; set; }
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/generics.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/generics.g.cs
index e3ddf1ed..3571cd31 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/generics.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/generics.g.cs
@@ -29,8 +29,6 @@ public Extendee2() : base()
{
}
- [AXOpen.Data.AxoDataEntityAttribute]
- [Container(Layout.Stack)]
[AXSharp.Connector.AddedPropertiesAttribute("AttributeName", "Shared Header")]
public GenericsTests.SomeTypeToBeGeneric SomeData { get; set; } = new GenericsTests.SomeTypeToBeGeneric();
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonce.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonce.g.cs
index b6af387e..b1f0575c 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonce.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonce.g.cs
@@ -12,11 +12,8 @@ public MembersWithMakeReadOnce()
{
}
- [ReadOnce()]
public string makeReadOnceMember { get; set; } = string.Empty;
public string someOtherMember { get; set; } = string.Empty;
-
- [ReadOnce()]
public makereadonce.ComplexMember makeReadComplexMember { get; set; } = new makereadonce.ComplexMember();
public makereadonce.ComplexMember someotherComplexMember { get; set; } = new makereadonce.ComplexMember();
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonly.g.cs b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonly.g.cs
index 2317d602..ecafb34f 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonly.g.cs
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/.g/POCO/makereadonly.g.cs
@@ -12,11 +12,8 @@ public MembersWithMakeReadOnly()
{
}
- [ReadOnly()]
public string makeReadOnceMember { get; set; } = string.Empty;
public string someOtherMember { get; set; } = string.Empty;
-
- [ReadOnly()]
public makereadonly.ComplexMember makeReadComplexMember { get; set; } = new makereadonly.ComplexMember();
public makereadonly.ComplexMember someotherComplexMember { get; set; } = new makereadonly.ComplexMember();
}
diff --git a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/units.csproj b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/units.csproj
index 60a717a7..52897871 100644
--- a/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/units.csproj
+++ b/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/units.csproj
@@ -6,8 +6,8 @@
-
-
+
+