Skip to content

Commit

Permalink
Fix error in code comment (dotnet#42931)
Browse files Browse the repository at this point in the history
The error led to the comment expressing the opposite of its otherwise obvious intent.
  • Loading branch information
AArnott committed Oct 1, 2020
1 parent ee993b4 commit 5e5e923
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5e5e923

Please sign in to comment.