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