diff --git a/tests/SharpGLTF.Cesium.Tests/VertexWithFeatureId.cs b/tests/SharpGLTF.Cesium.Tests/VertexWithFeatureId.cs index f0b1763b..df1d7e2e 100644 --- a/tests/SharpGLTF.Cesium.Tests/VertexWithFeatureId.cs +++ b/tests/SharpGLTF.Cesium.Tests/VertexWithFeatureId.cs @@ -1,5 +1,6 @@ ๏ปฟusing System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Numerics; using SharpGLTF.Geometry.VertexTypes; @@ -7,6 +8,10 @@ namespace SharpGLTF { + + #if NET6_0_OR_GREATER + [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] + #endif [System.Diagnostics.DebuggerDisplay("๐‚:{Color} ๐”๐•:{TexCoord}")] public struct VertexWithFeatureId : IVertexCustom {