Skip to content

Commit

Permalink
fixed go to metadata regression
Browse files Browse the repository at this point in the history
  • Loading branch information
filipw committed Oct 4, 2019
1 parent 57e8052 commit 70255fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public class GotoDefinitionResponse : ICanBeEmptyResponse
[JsonConverter(typeof(ZeroBasedIndexConverter))]
public int Column { get; set; }
public MetadataSource MetadataSource { get; set; }
public bool IsEmpty => FileName == null || FileName == string.Empty;
public bool IsEmpty => string.IsNullOrWhiteSpace(FileName) && MetadataSource == null;
}
}

0 comments on commit 70255fd

Please sign in to comment.