75 references to AnalyzerImageReference
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (9)
58
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
89
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(ideEngineAnalyzer));
125
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create(analyzer));
168
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
181
var diagnosticService = new HostDiagnosticAnalyzers([new
AnalyzerImageReference
(ImmutableArray.Create(analyzer))]);
201
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
257
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
783
new
AnalyzerImageReference
(vsixAnalyzerReferences.ToImmutableArray())
801
project = project.WithAnalyzerReferences([new
AnalyzerImageReference
(nugetAnalyzerReferences.ToImmutableArray())]);
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
210
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (14)
60
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new Analyzer()));
81
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new Analyzer()));
99
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new Analyzer()));
114
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()));
130
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new CSharpCompilerDiagnosticAnalyzer()));
149
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(new DisabledByDefaultAnalyzer()));
245
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(
292
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(
378
.AddAnalyzerReference(new
AnalyzerImageReference
(ImmutableArray.Create(analyzer)))
436
var analyzerReference = new
AnalyzerImageReference
(analyzers);
561
var analyzerReference = new
AnalyzerImageReference
(analyzers);
701
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer1, analyzer2));
746
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
815
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create<DiagnosticAnalyzer>(analyzer));
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (1)
60
new
AnalyzerImageReference
(analyzers.ToImmutableArray())
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (45)
CodeFixes\CodeFixServiceTests.vb (2)
52
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(workspaceDiagnosticAnalyzer))
124
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(workspaceDiagnosticAnalyzer))
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
138
analyzeReferences = {New
AnalyzerImageReference
(ImmutableArray.Create(analyzer))}
Diagnostics\DiagnosticServiceTests.vb (42)
86
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(workspaceDiagnosticAnalyzer))
110
Dim projectAnalyzerReference1 = New
AnalyzerImageReference
(projectAnalyzers1, display:=NameOf(projectAnalyzers1))
126
Dim projectAnalyzerReference2 = New
AnalyzerImageReference
(projectAnalyzers2, display:=NameOf(projectAnalyzers2))
191
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(workspaceDiagnosticAnalyzer))
202
Dim projectAnalyzerReference1 = New
AnalyzerImageReference
(projectAnalyzersEmpty)
230
Dim hostAnalyzerReference = New
AnalyzerImageReference
(
239
Dim projectAnalyzerReference = New
AnalyzerImageReference
(
271
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(workspaceDiagnosticAnalyzer))
340
p1 = p1.WithAnalyzerReferences(SpecializedCollections.SingletonCollection(New
AnalyzerImageReference
(ImmutableArray.Create(analyzer1))))
344
p2 = p2.WithAnalyzerReferences(SpecializedCollections.SingletonCollection(New
AnalyzerImageReference
(ImmutableArray.Create(analyzer2))))
464
Dim analyzerReference1 = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
465
Dim analyzerReference2 = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
488
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
523
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
569
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
603
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
636
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
670
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
746
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
782
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
842
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
867
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
906
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
941
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
980
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
1036
Dim analyzerReference = New
AnalyzerImageReference
(analyzers)
1088
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(analyzer))
1131
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(analyzer))
1174
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(analyzer))
1226
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
1289
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
1336
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
1402
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
1957
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
2017
Dim analyzerReference = New
AnalyzerImageReference
(analyzers.ToImmutableArray())
2084
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
2123
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
2180
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(analyzer))
2227
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
2272
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(compilerAnalyzer, syntaxAnalyzer, semanticAnalyzer))
2342
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(compilerAnalyzer, syntaxAnalyzer, semanticAnalyzer))
2432
Dim analyzerReference = New
AnalyzerImageReference
(ImmutableArray.Create(Of DiagnosticAnalyzer)(analyzer))
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
412
return new
AnalyzerImageReference
(ImmutableArray.Create(analyzer), display: analyzer.GetType().FullName);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
2987
var analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create(analyzer));
3012
analyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create(analyzer));
3014
var secondAnalyzerReference = new
AnalyzerImageReference
(ImmutableArray.Create(secondAnalyzer));
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
228
Dim analyzerReference = New
AnalyzerImageReference
(New DiagnosticAnalyzer() {compiler, analyzer}.ToImmutableArray())