2021-01-03 12:26:07 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Microsoft.CodeAnalysis;
|
|
|
|
|
using Microsoft.CodeAnalysis.Diagnostics;
|
|
|
|
|
|
|
|
|
|
namespace MapTo.Tests.Infrastructure
|
|
|
|
|
{
|
|
|
|
|
internal sealed class TestAnalyzerConfigOptionsProvider : AnalyzerConfigOptionsProvider
|
|
|
|
|
{
|
2021-06-29 09:14:00 +03:00
|
|
|
|
public TestAnalyzerConfigOptionsProvider(IDictionary<string, string>? options)
|
2021-01-03 12:26:07 +03:00
|
|
|
|
{
|
|
|
|
|
GlobalOptions = new TestAnalyzerConfigOptions(options);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public override AnalyzerConfigOptions GlobalOptions { get; }
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public override AnalyzerConfigOptions GetOptions(SyntaxTree tree) => throw new NotImplementedException();
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public override AnalyzerConfigOptions GetOptions(AdditionalText textFile) => throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|