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

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

            return(AnalyzeSemanticsImplAsync(document, cancellationToken));
        }