8 instantiations of MockFixer
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (8)
CodeFixes\CodeFixServiceTests.cs (8)
72
var codeFix = new
MockFixer
();
96
var codeFix = new
MockFixer
();
126
var codeFix = new
MockFixer
();
168
var codeFix = new
MockFixer
();
200
var codeFix = new
MockFixer
(fixTitle);
274
new
MockFixer
(),
410
=> [new Lazy<CodeFixProvider, CodeChangeProviderMetadata>(() => new
MockFixer
(), new CodeChangeProviderMetadata("Test", languages: LanguageNames.CSharp))];
452
private static readonly ImmutableArray<CodeFixProvider> s_defaultFixers = ImmutableArray.Create<CodeFixProvider>(new
MockFixer
());
17 references to MockFixer
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (17)
CodeFixes\CodeFixServiceTests.cs (14)
61
var
fixer1 = (
MockFixer
)fixers.Single().Value;
62
var
fixer2 = (
MockFixer
)reference.Fixers.Single();
72
var
codeFix = new MockFixer();
96
var
codeFix = new MockFixer();
126
var
codeFix = new MockFixer();
168
var
codeFix = new MockFixer();
200
var
codeFix = new MockFixer(fixTitle);
214
Assert.Equal(
MockFixer
.Id, fixCollection.FirstDiagnostic.Id);
547
: this(ImmutableArray.Create(
MockFixer
.Id))
580
: this(ImmutableArray.Create(
MockFixer
.Id))
605
private readonly DiagnosticDescriptor s_descriptor = new(
MockFixer
.Id, "Title", "Message", "Category", DiagnosticSeverity.Warning, isEnabledByDefault: true);
645
var fixableDiagnosticIds = ImmutableArray.Create(
MockFixer
.Id);
CodeFixes\ErrorCases\CodeFixExceptionInGetFixAllProvider.cs (1)
19
get { return ImmutableArray.Create(CodeFixServiceTests.
MockFixer
.Id); }
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethod.cs (1)
18
get { return ImmutableArray.Create(CodeFixServiceTests.
MockFixer
.Id); }
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethodAsync.cs (1)
18
get { return ImmutableArray.Create(CodeFixServiceTests.
MockFixer
.Id); }