3 references to WithParts
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
MEF\TestComposition.cs (2)
143
=>
WithParts
(Parts.Union(types ?? Array.Empty<Type>()));
164
=>
WithParts
(Parts.Except(types ?? Array.Empty<Type>()));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
TestCompositionTests.cs (1)
52
var composition4 = composition2.
WithParts
(ImmutableHashSet.Create(type2));