diff --git a/AsyncAPI.sln b/AsyncAPI.sln
index f972fa3d..db79f153 100644
--- a/AsyncAPI.sln
+++ b/AsyncAPI.sln
@@ -12,9 +12,10 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DE167614-5BCB-4046-BD4C-ABB70E9F3462}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
+ Common.Build.props = Common.Build.props
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LEGO.AsyncAPI.Bindings", "src\LEGO.AsyncAPI.Bindings\LEGO.AsyncAPI.Bindings.csproj", "{33CA31F4-ECFE-4227-BFE9-F49783DD29A0}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LEGO.AsyncAPI.Bindings", "src\LEGO.AsyncAPI.Bindings\LEGO.AsyncAPI.Bindings.csproj", "{33CA31F4-ECFE-4227-BFE9-F49783DD29A0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/Common.Build.props b/Common.Build.props
new file mode 100644
index 00000000..f4f9797f
--- /dev/null
+++ b/Common.Build.props
@@ -0,0 +1,13 @@
+
+
+
+ 10
+ netstandard2.0
+ disable
+ The LEGO Group
+ https://github.com/LEGO/AsyncAPI.NET
+ README.md
+ https://github.com/LEGO/AsyncAPI.NET
+ asyncapi .net openapi documentation
+
+
\ No newline at end of file
diff --git a/src/LEGO.AsyncAPI.Bindings/BindingsCollection.cs b/src/LEGO.AsyncAPI.Bindings/BindingsCollection.cs
index e52392b6..ccfad8a4 100644
--- a/src/LEGO.AsyncAPI.Bindings/BindingsCollection.cs
+++ b/src/LEGO.AsyncAPI.Bindings/BindingsCollection.cs
@@ -19,8 +19,15 @@ public static TCollection Add(
IEnumerable source)
where TCollection : ICollection
{
- ArgumentNullException.ThrowIfNull(destination);
- ArgumentNullException.ThrowIfNull(source);
+ if (destination == null)
+ {
+ throw new ArgumentNullException(nameof(destination));
+ }
+
+ if (source == null)
+ {
+ throw new ArgumentNullException(nameof(source));
+ }
if (destination is List list)
{
diff --git a/src/LEGO.AsyncAPI.Bindings/LEGO.AsyncAPI.Bindings.csproj b/src/LEGO.AsyncAPI.Bindings/LEGO.AsyncAPI.Bindings.csproj
index e05aacab..751ea5c6 100644
--- a/src/LEGO.AsyncAPI.Bindings/LEGO.AsyncAPI.Bindings.csproj
+++ b/src/LEGO.AsyncAPI.Bindings/LEGO.AsyncAPI.Bindings.csproj
@@ -1,20 +1,11 @@
-
-
+
+
- net6.0
- disable
- The LEGO Group
- https://github.com/LEGO/AsyncAPI.NET
- README.md
- AsyncAPI.NET Bindings
- asyncapi .net openapi documentation
- AsyncAPI.NET.Bindings
- LEGO.AsyncAPI.Bindings
- LEGO.AsyncAPI.Bindings
- https://github.com/LEGO/AsyncAPI.NET
+ AsyncAPI.NET Bindings
+ AsyncAPI.NET.Bindings
+ LEGO.AsyncAPI.Bindings
+ LEGO.AsyncAPI.Bindings
-
-
diff --git a/src/LEGO.AsyncAPI.Readers/LEGO.AsyncAPI.Readers.csproj b/src/LEGO.AsyncAPI.Readers/LEGO.AsyncAPI.Readers.csproj
index 6fd9d2e7..b0164afd 100644
--- a/src/LEGO.AsyncAPI.Readers/LEGO.AsyncAPI.Readers.csproj
+++ b/src/LEGO.AsyncAPI.Readers/LEGO.AsyncAPI.Readers.csproj
@@ -1,18 +1,11 @@
-
+
- net6.0
- disable
disable
- The LEGO Group
- https://github.com/LEGO/AsyncAPI.NET
- README.md
- AsyncAPI.NET Readers for JSON and YAML documents
- asyncapi .net openapi documentation
- AsyncAPI.NET.Readers
- LEGO.AsyncAPI.Readers
- LEGO.AsyncAPI.Readers
- https://github.com/LEGO/AsyncAPI.NET
+ AsyncAPI.NET Readers for JSON and YAML documents
+ AsyncAPI.NET.Readers
+ LEGO.AsyncAPI.Readers
+ LEGO.AsyncAPI.Readers
diff --git a/src/LEGO.AsyncAPI/LEGO.AsyncAPI.csproj b/src/LEGO.AsyncAPI/LEGO.AsyncAPI.csproj
index 8d4b9501..c2dd1598 100644
--- a/src/LEGO.AsyncAPI/LEGO.AsyncAPI.csproj
+++ b/src/LEGO.AsyncAPI/LEGO.AsyncAPI.csproj
@@ -1,19 +1,11 @@
-
+
- net6.0
- disable
- The LEGO Group
- https://github.com/LEGO/AsyncAPI.NET
- README.md
- AsyncAPI.NET models
- asyncapi .net openapi documentation
- AsyncAPI.NET
- LEGO.AsyncAPI
- LEGO.AsyncAPI
- https://github.com/LEGO/AsyncAPI.NET
+ AsyncAPI.NET models
+ AsyncAPI.NET
+ LEGO.AsyncAPI
+ LEGO.AsyncAPI
-
@@ -27,6 +19,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
<_Parameter1>$(MSBuildProjectName).Tests
diff --git a/test/LEGO.AsyncAPI.Tests/LEGO.AsyncAPI.Tests.csproj b/test/LEGO.AsyncAPI.Tests/LEGO.AsyncAPI.Tests.csproj
index 1be4a264..f10a92bc 100644
--- a/test/LEGO.AsyncAPI.Tests/LEGO.AsyncAPI.Tests.csproj
+++ b/test/LEGO.AsyncAPI.Tests/LEGO.AsyncAPI.Tests.csproj
@@ -1,55 +1,55 @@
-
- net6.0
- disable
- enable
+
+ net6.0
+ disable
+ enable
+ false
+ $(NoWarn);SA1600
+
- false
-
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
-
-
-
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+