12 instantiations of CommandLineReference
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (3)
740
metadataReferences.AddRange(ParseSeparatedPaths(value).Select(path => new
CommandLineReference
(path, MetadataReferenceProperties.Module)));
1439
metadataReferences.Insert(0, new
CommandLineReference
(Path.Combine(sdkDirectory, "mscorlib.dll"), MetadataReferenceProperties.Assembly));
1991
commandLineReferences.Add(new
CommandLineReference
(path.ToString(), properties));
Microsoft.CodeAnalysis.VisualBasic (9)
CommandLine\VisualBasicCommandLineParser.vb (9)
697
Function(path) New
CommandLineReference
(path, New MetadataReferenceProperties(MetadataImageKind.Module))))
1349
New
CommandLineReference
(systemDllPath, New MetadataReferenceProperties(MetadataImageKind.Assembly)))
1362
New
CommandLineReference
(msVbDllPath, New MetadataReferenceProperties(MetadataImageKind.Assembly)))
1365
metadataReferences.Add(New
CommandLineReference
(vbRuntimePath, New MetadataReferenceProperties(MetadataImageKind.Assembly)))
1565
Return New
CommandLineReference
(systemRuntimePath, New MetadataReferenceProperties(MetadataImageKind.Assembly))
1574
Return New
CommandLineReference
(systemRuntimePath, New MetadataReferenceProperties(MetadataImageKind.Assembly))
1582
Return New
CommandLineReference
(msCorLibPath, New MetadataReferenceProperties(MetadataImageKind.Assembly))
1587
Return New
CommandLineReference
(msCorLibPath, New MetadataReferenceProperties(MetadataImageKind.Assembly))
1709
Select(Function(path) New
CommandLineReference
(path, New MetadataReferenceProperties(MetadataImageKind.Assembly, embedInteropTypes:=embedInteropTypes)))
16 references to CommandLineReference
Microsoft.CodeAnalysis (7)
CommandLine\CommandLineArguments.cs (3)
157
public ImmutableArray<
CommandLineReference
> MetadataReferences { get; internal set; }
415
foreach (
CommandLineReference
cmdReference in MetadataReferences)
436
internal static ImmutableArray<PortableExecutableReference> ResolveMetadataReference(
CommandLineReference
cmdReference, MetadataReferenceResolver metadataResolver, List<DiagnosticInfo>? diagnosticsOpt, CommonMessageProvider? messageProviderOpt)
CommandLine\CommandLineReference.cs (4)
15
public readonly struct CommandLineReference : IEquatable<
CommandLineReference
>
45
return obj is
CommandLineReference
&& base.Equals((
CommandLineReference
)obj);
48
public bool Equals(
CommandLineReference
other)
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (3)
114
List<
CommandLineReference
> metadataReferences = new List<
CommandLineReference
>();
1928
private static void ParseAssemblyReferences(string arg, ReadOnlyMemory<char>? valueMemory, IList<Diagnostic> diagnostics, bool embedInteropTypes, List<
CommandLineReference
> commandLineReferences)
Microsoft.CodeAnalysis.VisualBasic (6)
CommandLine\VisualBasicCommandLineArguments.vb (1)
59
Friend Property DefaultCoreLibraryReference As
CommandLineReference
?
CommandLine\VisualBasicCommandLineParser.vb (5)
130
Dim metadataReferences = New List(Of
CommandLineReference
)()
1339
Dim defaultCoreLibraryReference As
CommandLineReference
? = LoadCoreLibraryReference(sdkPaths, baseDirectory)
1550
Private Function LoadCoreLibraryReference(sdkPaths As List(Of String), baseDirectory As String) As
CommandLineReference
?
1701
Friend Shared Function ParseAssemblyReferences(name As String, value As String, diagnostics As IList(Of Diagnostic), embedInteropTypes As Boolean) As IEnumerable(Of
CommandLineReference
)
1705
Return SpecializedCollections.EmptyEnumerable(Of
CommandLineReference
)()