15 references to WithMetadataReferences
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
58
.
WithMetadataReferences
(refs)
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
58
.
WithMetadataReferences
(refs)
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
447
oldProject = workspace.AddProject(projectInfo).
WithMetadataReferences
(TargetFrameworkUtil.GetReferences(targetFramework));
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
98
.
WithMetadataReferences
(TargetFrameworkUtil.GetReferences(DefaultTargetFramework));
Snippets\AbstractSnippetProviderTests.cs (2)
37
.
WithMetadataReferences
(metadataReferences);
120
.
WithMetadataReferences
(metadataReferences);
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
70
.
WithMetadataReferences
(TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
EditAndContinue\EmitSolutionUpdateResultsTests.cs (1)
72
WithMetadataReferences
(TargetFrameworkUtil.GetReferences(TargetFramework.Standard)).
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
WorkspaceTests\WorkspaceReferenceTests.cs (1)
189
var forkedProject = project.
WithMetadataReferences
(ImmutableArray.Create<MetadataReference>(
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
81
.
WithMetadataReferences
(refs)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
81
.
WithMetadataReferences
(refs)
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
81
.
WithMetadataReferences
(refs)
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
81
.
WithMetadataReferences
(refs)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
81
.
WithMetadataReferences
(refs)
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\BestFriendTest.cs (1)
71
projectA = projectA.
WithMetadataReferences
(solution.GetProject(projectId).MetadataReferences);