12 references to AssertUsedAssemblyReferences
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Compilation\UsedAssembliesTests.cs (12)
259AssertUsedAssemblyReferences(comp, expected, references); 1098AssertUsedAssemblyReferences(comp2, hasTypeReferencesInUsing ? references : new MetadataReference[] { }, references); 4024AssertUsedAssemblyReferences(comp2, hasTypeReferencesInUsing ? references : new MetadataReference[] { }, references); 4127AssertUsedAssemblyReferences(comp2, hasTypeReferencesInUsing ? references : new MetadataReference[] { }, references); 4628AssertUsedAssemblyReferences(comp2, namespaceOrdinalReferencedInUsings switch { 1 => references, 2 => expected, _ => new MetadataReference[] { } }, references); 4769AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4797AssertUsedAssemblyReferences(CreateCompilation(source5, references: references, 4801AssertUsedAssemblyReferences(CreateCompilation(source5, references: references, 4810AssertUsedAssemblyReferences(comp2, namespaceOrdinalReferencedInUsings switch { 1 => references, 2 => new[] { reference0, reference1 }, 3 => new[] { reference0 }, _ => new MetadataReference[] { } }, references); 4813AssertUsedAssemblyReferences(comp3, new[] { reference0 }, references); 4816AssertUsedAssemblyReferences(comp4, new[] { reference0 }, references); 5502AssertUsedAssemblyReferences(comp3, new[] { comp1Ref }, references);