2 instantiations of UnresolvedMetadataReference
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
417resolved.Add(new UnresolvedMetadataReference(cmdReference.Reference, cmdReference.Properties));
MetadataReference\UnresolvedMetadataReference.cs (1)
38return new UnresolvedMetadataReference(this.Reference, properties);
13 references to UnresolvedMetadataReference
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
369/// <returns>Yields resolved metadata references or <see cref="UnresolvedMetadataReference"/>.</returns>
Compilation\Compilation.cs (1)
683Debug.Assert(reference is UnresolvedMetadataReference || reference is CompilationReference);
Microsoft.CodeAnalysis.Scripting (2)
Script.cs (1)
281if (reference is UnresolvedMetadataReference unresolved)
ScriptOptions.cs (1)
83/// The array may contain both resolved and unresolved references (<see cref="UnresolvedMetadataReference"/>).
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\CommandLineProject.cs (2)
66var unresolvedMetadataReferences = boundMetadataReferences.FirstOrDefault(r => r is UnresolvedMetadataReference); 69throw new ArgumentException(string.Format(WorkspacesResources.Can_t_resolve_metadata_reference_colon_0, ((UnresolvedMetadataReference)unresolvedMetadataReferences).Reference));
Microsoft.CodeAnalysis.Workspaces.MSBuild (5)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (5)
87UnresolvedMetadataReference unresolvedMetadataReference => unresolvedMetadataReference.Reference, 145public ImmutableArray<UnresolvedMetadataReference> GetUnresolvedMetadataReferences() 147var builder = ImmutableArray.CreateBuilder<UnresolvedMetadataReference>(); 151if (metadataReference is UnresolvedMetadataReference unresolvedMetadataReference) 252foreach (var unresolvedMetadataReference in builder.GetUnresolvedMetadataReferences())
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
3175Assert.DoesNotContain(project.MetadataReferences, mr => mr is UnresolvedMetadataReference);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
59parsedArguments.ResolveMetadataReferences(metadataResolver).Where(m => m is not UnresolvedMetadataReference),