private async Task <DesignerAttributeResult> ScanDesignerAttributesInRemoteHostAsync(RemoteHostClient client, Document document, CancellationToken cancellationToken)
 {
     return((await client.TryRunCodeAnalysisRemoteValueAsync <DesignerAttributeResult>(
                 document.Project.Solution,
                 nameof(IRemoteDesignerAttributeService.ScanDesignerAttributesAsync),
                 new[] { document.Id },
                 cancellationToken).ConfigureAwait(false)).GetValueOrDefault());
 }