private void WorkspaceDocumentOpened(object?sender, DocumentEventArgs e)
        {
            if (!DebuggerContractVersionCheck.IsRequiredDebuggerContractVersionAvailable())
            {
                return;
            }

            WorkspaceDocumentOpenedImpl(e);
        }
Example #2
0
        public override Task <ImmutableArray <Diagnostic> > AnalyzeSemanticsAsync(Document document, CancellationToken cancellationToken)
        {
            if (!DebuggerContractVersionCheck.IsRequiredDebuggerContractVersionAvailable())
            {
                return(SpecializedTasks.EmptyImmutableArray <Diagnostic>());
            }

            return(AnalyzeSemanticsImplAsync(document, cancellationToken));
        }