diff --git a/firely-validator-api.props b/firely-validator-api.props
index 053cbf67..dafa5293 100644
--- a/firely-validator-api.props
+++ b/firely-validator-api.props
@@ -6,7 +6,7 @@
Firely
Firely (https://fire.ly)
Copyright 2015-2022 Firely
- net8.0
+ net8.0;netstandard2.1
https://github.com/FirelyTeam/firely-validator-api
@@ -38,9 +38,7 @@
..\..\FirelyValidatorPubKey.snk
True
snupkg
- true
0024000004800000940000000602000000240000525341310004000001000100c11eea5df3095844b027f018b356bc326a5a30b1f245010ad789589aa685569b2eb7f5f2ea5c49dafed338e3d9969eab21848c6c20a6b0a22c5ff7797d9a5062d7f3e42478e905d72a3dde344086a003f2df9deeb838e206d92c8cc59150c3151e9490381321f77a716e0a2b24a585b302ba2b3db37966a3da9abe4c601ba4c1
- NU5104
@@ -48,5 +46,6 @@
Consider applying the 'await' operator to the result of the call. -->
CS4014
NU5104
+ true
diff --git a/src/Firely.Fhir.Validation/Impl/ChildrenValidator.cs b/src/Firely.Fhir.Validation/Impl/ChildrenValidator.cs
index e8fefc83..9c1c9819 100644
--- a/src/Firely.Fhir.Validation/Impl/ChildrenValidator.cs
+++ b/src/Firely.Fhir.Validation/Impl/ChildrenValidator.cs
@@ -4,7 +4,6 @@
* via any medium is strictly prohibited.
*/
-using Hl7.Fhir.ElementModel;
using Hl7.Fhir.Support;
using Hl7.Fhir.Utility;
using Newtonsoft.Json.Linq;
@@ -118,8 +117,13 @@ public ResultReport Validate(IScopedNode input, ValidationSettings vc, Validatio
///
public bool ContainsKey(string key) => _childList.ContainsKey(key);
+#if NET8_0
///
public bool TryGetValue(string key, [MaybeNullWhen(false)] out IAssertion value) => _childList.TryGetValue(key, out value);
+#else
+ ///
+ public bool TryGetValue(string key, out IAssertion value) => _childList.TryGetValue(key, out value);
+#endif
///
public IEnumerator> GetEnumerator() => ((IEnumerable>)_childList).GetEnumerator();