From 5e5e9235e319acc3505da2358907e17a63ac39c5 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 30 Sep 2020 19:55:28 -0600 Subject: [PATCH] Fix error in code comment (#42931) The error led to the comment expressing the opposite of its otherwise obvious intent. --- .../src/System/ComponentModel/Composition/Primitives/Export.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Primitives/Export.cs b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Primitives/Export.cs index a9bf9e6845745..cbfc1f51412b6 100644 --- a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Primitives/Export.cs +++ b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Primitives/Export.cs @@ -198,7 +198,7 @@ public object? Value get { // NOTE : the logic below guarantees that the value will be set exactly once. It DOES NOT, however, guarantee that GetExportedValueCore() will be executed - // more than once, as locking would be required for that. The said locking is problematic, as we can't reliable call 3rd party code under a lock. + // only once, as locking would be required for that. The said locking is problematic, as we can't reliable call 3rd party code under a lock. if (_exportedValue == Export._EmptyValue) { object? exportedValue = GetExportedValueCore();