Esempio n. 1
0
                            >)> GetDiagnosticsAndErrorSpans(
     TestWorkspace workspace,
     IReadOnlyDictionary <string, ImmutableArray <DiagnosticAnalyzer> > analyzerMap = null
     )
 {
     return(SquiggleUtilities.GetDiagnosticsAndErrorSpansAsync <TProvider>(
                workspace,
                analyzerMap
                ));
 }
 internal static Task <(ImmutableArray <DiagnosticData>, ImmutableArray <ITagSpan <TTag> >)> GetDiagnosticsAndErrorSpans(
     TestWorkspace workspace,
     IReadOnlyDictionary <string, ImmutableArray <DiagnosticAnalyzer> > analyzerMap = null)
 {
     return(SquiggleUtilities.GetDiagnosticsAndErrorSpansAsync <TProvider, TTag>(workspace, analyzerMap));
 }
Esempio n. 3
0
 protected static async Task <IEnumerable <ITagSpan <IErrorTag> > > GetErrorSpans(
     TestWorkspace workspace,
     Dictionary <string, DiagnosticAnalyzer[]> analyzerMap = null)
 {
     return(await SquiggleUtilities.GetErrorSpans(workspace, analyzerMap));
 }
 protected static IEnumerable <ITagSpan <IErrorTag> > GetErrorSpans(
     TestWorkspace workspace,
     ImmutableDictionary <string, ImmutableArray <DiagnosticAnalyzer> > analyzerMap = null)
 {
     return(SquiggleUtilities.GetErrorSpans(workspace, analyzerMap));
 }
 internal static async Task <Tuple <ImmutableArray <DiagnosticData>, List <ITagSpan <IErrorTag> > > > GetDiagnosticsAndErrorSpans(
     TestWorkspace workspace,
     Dictionary <string, DiagnosticAnalyzer[]> analyzerMap = null)
 {
     return(await SquiggleUtilities.GetDiagnosticsAndErrorSpans(workspace, analyzerMap));
 }