Disallow setting Parent on the started Activity (#81394)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Tue, 31 Jan 2023 23:02:39 +0000 (15:02 -0800)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 23:02:39 +0000 (15:02 -0800)
commit46841c1adf4982e23c72dd47e4e188a333296661
treefd53ed7d66d8692d1463d4fcdf883390f18d693a
parenta9416d96e95a090a0a06c25bccef428063c573fc
Disallow setting Parent on the started Activity (#81394)

Fixes https://github.com/dotnet/runtime/issues/81371
src/libraries/System.Diagnostics.DiagnosticSource/src/Resources/Strings.resx
src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
src/libraries/System.Diagnostics.DiagnosticSource/tests/ActivityTests.cs