23 references to AnalyzerOptions
Microsoft.Analyzers.Extra.Tests (1)
Resources\AnalyzerOptionsFactory.cs (1)
19return new AnalyzerOptions(immutableFiles);
Microsoft.Analyzers.Local.Tests (1)
Resources\AnalyzerOptionsFactory.cs (1)
19return new AnalyzerOptions(immutableFiles);
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerOptions.cs (2)
17internal static readonly AnalyzerOptions Empty = new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty); 63return new AnalyzerOptions(additionalFiles);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
166var options = new AnalyzerOptions(ImmutableArray.Create<AdditionalText>(additionalText));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (3)
41var options = new AnalyzerOptions(new[] { new TestAdditionalText() }.ToImmutableArray<AdditionalText>()); 102var options = new AnalyzerOptions(new[] { new TestAdditionalText() }.ToImmutableArray<AdditionalText>()); 112AnalyzerOptions options = new AnalyzerOptions
Diagnostics\DiagnosticAnalyzerTests.cs (4)
3607new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty)); 3884var options = new AnalyzerOptions(ImmutableArray.Create(additionalFile)); 3924var options = new AnalyzerOptions(additionalFiles); 4316var analyzerOptions = new AnalyzerOptions(ImmutableArray.Create<AdditionalText>(additionalTextFile));
Diagnostics\GetDiagnosticsTests.cs (4)
553var compilationWithAnalyzers = compilation.WithAnalyzers(analyzers, new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty)); 665new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty), 718new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty), 747new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Preview\PreviewWorkspaceTests.cs (1)
165var analyzerOptions = new AnalyzerOptions(additionalFiles: ImmutableArray<AdditionalText>.Empty);
Microsoft.CodeAnalysis.UnitTests (2)
Diagnostics\AnalysisContextInfoTests.cs (1)
29var options = new AnalyzerOptions(new[] { new TestAdditionalText() }.ToImmutableArray<AdditionalText>());
Diagnostics\CompilationWithAnalyzersTests.cs (1)
61var analyzerOptions = new AnalyzerOptions(ImmutableArray<AdditionalText>.Empty);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.vb (3)
22Dim options = New AnalyzerOptions({DirectCast(New TestAdditionalText(), AdditionalText)}.ToImmutableArray()) 48Dim options = New AnalyzerOptions({CType(new TestAdditionalText(), AdditionalText)}.ToImmutableArray()) 57Dim options = New AnalyzerOptions(additionalTexts.ToImmutableArray())
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1656Dim options = New AnalyzerOptions(ImmutableArray.Create(additionalFile))