From 0c2ff68c77d39c478a5481ac699266babcb24fde Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 14 Jul 2020 11:53:54 -0700 Subject: [PATCH] Fix --- .../Core/Portable/SymbolKey/SymbolKey.AliasSymbolKey.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Workspaces/Core/Portable/SymbolKey/SymbolKey.AliasSymbolKey.cs b/src/Workspaces/Core/Portable/SymbolKey/SymbolKey.AliasSymbolKey.cs index 84cbce2bac9..764810db1a2 100644 --- a/src/Workspaces/Core/Portable/SymbolKey/SymbolKey.AliasSymbolKey.cs +++ b/src/Workspaces/Core/Portable/SymbolKey/SymbolKey.AliasSymbolKey.cs @@ -22,7 +22,7 @@ public static SymbolKeyResolution Resolve(SymbolKeyReader reader, out string fai { var name = reader.ReadString(); var targetResolution = reader.ReadSymbolKey(out var targetFailureReason); - if (targetFailureReason == null) + if (targetFailureReason != null) { failureReason = $"({nameof(AliasSymbolKey)} {nameof(targetResolution)} failed -> {targetFailureReason})"; return default; -- GitLab