15 instantiations of CommandLineAnalyzerReference
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
1890analyzerReferences.Add(new CommandLineAnalyzerReference(path.ToString()));
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1702Return New CommandLineAnalyzerReference(path)
VBCSCompiler.UnitTests (13)
AnalyzerConsistencyCheckerTests.cs (13)
89var analyzerReferences = ImmutableArray.Create(new CommandLineAnalyzerReference("Alpha.dll")); 100new CommandLineAnalyzerReference("Alpha.dll"), 101new CommandLineAnalyzerReference("Beta.dll"), 102new CommandLineAnalyzerReference("Gamma.dll"), 103new CommandLineAnalyzerReference("Delta.dll")); 120new CommandLineAnalyzerReference(mvidAlpha1.Path), 121new CommandLineAnalyzerReference(mvidAlpha2.Path)); 145ImmutableArray.Create(new CommandLineAnalyzerReference(mvidAlpha1.Path)), 155ImmutableArray.Create(new CommandLineAnalyzerReference(mvidAlpha2.Path)), 185new CommandLineAnalyzerReference("System.Memory.dll")); 208new CommandLineAnalyzerReference("System.Core.dll")); 226new CommandLineAnalyzerReference("Delta.dll")); 240var analyzerReferences = ImmutableArray.Create(new CommandLineAnalyzerReference(compFile.Path));
21 references to CommandLineAnalyzerReference
Microsoft.CodeAnalysis (8)
CommandLine\CommandLineAnalyzerReference.cs (4)
15public readonly struct CommandLineAnalyzerReference : IEquatable<CommandLineAnalyzerReference> 37return obj is CommandLineAnalyzerReference && base.Equals((CommandLineAnalyzerReference)obj); 40public bool Equals(CommandLineAnalyzerReference other)
CommandLine\CommandLineArguments.cs (4)
162public ImmutableArray<CommandLineAnalyzerReference> AnalyzerReferences { get; internal set; } 463foreach (CommandLineAnalyzerReference cmdLineReference in AnalyzerReferences) 521foreach (var reference in AnalyzerReferences) 565private AnalyzerFileReference? ResolveAnalyzerReference(CommandLineAnalyzerReference reference, IAnalyzerAssemblyLoader analyzerLoader)
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (3)
112List<CommandLineAnalyzerReference> analyzers = new List<CommandLineAnalyzerReference>(); 1868private static void ParseAnalyzers(string arg, ReadOnlyMemory<char>? valueMemory, List<CommandLineAnalyzerReference> analyzerReferences, List<Diagnostic> diagnostics)
Microsoft.CodeAnalysis.LanguageServer (3)
HostWorkspace\LoadedProject.cs (3)
41private ImmutableArray<CommandLineAnalyzerReference> _mostRecentAnalyzerReferences = ImmutableArray<CommandLineAnalyzerReference>.Empty; 187EqualityComparer<CommandLineAnalyzerReference>.Default, // CommandLineAnalyzerReference already implements equality
Microsoft.CodeAnalysis.VisualBasic (3)
CommandLine\VisualBasicCommandLineParser.vb (3)
129Dim analyzers = New List(Of CommandLineAnalyzerReference)() 1693Private Shared Function ParseAnalyzers(name As String, value As String, diagnostics As IList(Of Diagnostic)) As IEnumerable(Of CommandLineAnalyzerReference) 1697Return SpecializedCollections.EmptyEnumerable(Of CommandLineAnalyzerReference)()
VBCSCompiler (4)
src\Compilers\Server\VBCSCompiler\AnalyzerConsistencyChecker.cs (4)
45IEnumerable<CommandLineAnalyzerReference> analyzerReferences, 51IEnumerable<CommandLineAnalyzerReference> analyzerReferences, 77IEnumerable<CommandLineAnalyzerReference> analyzerReferences, 85foreach (var analyzerReference in analyzerReferences)