5 references to WithExcludedPartTypes
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
237
.
WithExcludedPartTypes
(ImmutableHashSet.Create(typeof(IMetadataAsSourceFileProvider)))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
305
.
WithExcludedPartTypes
(ImmutableHashSet.Create(typeof(IMetadataAsSourceFileProvider)))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
MEF\TestComposition.cs (2)
149
=>
WithExcludedPartTypes
(ExcludedPartTypes.Union(types ?? Array.Empty<Type>()));
170
=>
WithExcludedPartTypes
(ExcludedPartTypes.Except(types ?? Array.Empty<Type>()));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
TestCompositionTests.cs (1)
73
var composition4 = composition2.
WithExcludedPartTypes
(ImmutableHashSet.Create(type2));