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