Skip to content

Preserve nullable struct null-check semantics in UA0003#4039

Merged
marcschier merged 2 commits into
OPCFoundation:masterfrom
marcschier:marcschier/review-fix/ua0003-nullable
Jul 22, 2026
Merged

Preserve nullable struct null-check semantics in UA0003#4039
marcschier merged 2 commits into
OPCFoundation:masterfrom
marcschier:marcschier/review-fix/ua0003-nullable

Address UA0003 review feedback

e15c475
Select commit
Loading
Failed to load commit list.
Azure Pipelines / OPCFoundation.UA-.NETStandard succeeded Jul 21, 2026 in 21m 10s

Build #2.0.106-preview+aa101a1a27 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 86,851 (97.79%)
  • Other: 1,958 (2.20%)
  • Total: 88,810

Annotations

Check failure on line 52 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Build log #L52

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 55 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Build log #L55

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\tests\\Opc.Ua.PubSub.Udp.Tests\\Opc.Ua.PubSub.Udp.Tests.csproj'
]

Check failure on line 1 in Opc.Ua.Server.Tests.Hosting.OpcUaServerHostedServiceCoverageTests.HostedServiceWiresOptionalFeaturesAndMatchesUserNamePolicyAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Opc.Ua.Server.Tests.Hosting.OpcUaServerHostedServiceCoverageTests.HostedServiceWiresOptionalFeaturesAndMatchesUserNamePolicyAsync

  Assert.That(server.IdentityRegistry.UnregisterAugmenter(augmenter.Object), Is.True)
  Expected: True
  But was:  False
Raw output
   at Opc.Ua.Server.Tests.Hosting.OpcUaServerHostedServiceCoverageTests.<HostedServiceWiresOptionalFeaturesAndMatchesUserNamePolicyAsync>d__4.MoveNext() in /_/tests/Opc.Ua.Server.Tests/Hosting/OpcUaServerHostedServiceCoverageTests.cs:line 270
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Server.Tests.Hosting.OpcUaServerHostedServiceCoverageTests.<HostedServiceWiresOptionalFeaturesAndMatchesUserNamePolicyAsync>d__4.MoveNext() in /_/tests/Opc.Ua.Server.Tests/Hosting/OpcUaServerHostedServiceCoverageTests.cs:line 270
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at Opc.Ua.Server.Tests.Hosting.OpcUaServerHostedServiceCoverageTests.<HostedServiceWiresOptionalFeaturesAndMatchesUserNamePolicyAsync>d__4.MoveNext() in /_/tests/Opc.Ua.Server.Tests/Hosting/OpcUaServerHostedServiceCoverageTests.cs:line 270