35 references to Metadata
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (35)
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.cs (35)
55=> (new[] { ReferenceType.None, ReferenceType.Project, ReferenceType.Metadata }).Select(refType => new[] { (object)refType }); 87ReferenceType.Metadata => GetMarkupWithReference(current, referenced, currentLanguage, referencedLanguage, false), 675[InlineData(ReferenceType.Metadata)] 1235[InlineData(ReferenceType.Metadata, "public")] // We don't support internal extension method from non-source references. 1277ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1407[InlineData(ReferenceType.Metadata, "[]", "ExtentionMethod2")] 1408[InlineData(ReferenceType.Metadata, "[][]", "ExtentionMethod3")] 1409[InlineData(ReferenceType.Metadata, "[,]", "ExtentionMethod4")] 1410[InlineData(ReferenceType.Metadata, "[][,]", "ExtentionMethod5")] 1452ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1467[InlineData(ReferenceType.Metadata, "[]", "ExtentionMethod2")] 1468[InlineData(ReferenceType.Metadata, "[][]", "ExtentionMethod3")] 1469[InlineData(ReferenceType.Metadata, "[,]", "ExtentionMethod4")] 1470[InlineData(ReferenceType.Metadata, "[][,]", "ExtentionMethod5")] 1512ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1525[InlineData(ReferenceType.Metadata)] 1561ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1574[InlineData(ReferenceType.Metadata, "(int,int)")] 1575[InlineData(ReferenceType.Metadata, "(int,int,int,int,int,int,int,int,int,int)")] // more than 8 tuple elements 1604ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1617[InlineData(ReferenceType.Metadata, "(int[],int[])")] 1618[InlineData(ReferenceType.Metadata, "(int[],int[],int[],int[],int[],int[],int[],int[],int[],int[])")] // more than 8 tuple elements 1647ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1659[InlineData(ReferenceType.Metadata)] 1690ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1704[InlineData(ReferenceType.Metadata)] 1740ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1761[InlineData(ReferenceType.Metadata)] 1795ReferenceType.Metadata => CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), 1807[InlineData(ReferenceType.Metadata)] 1841ReferenceType.Metadata => (CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), false), 1864[InlineData(ReferenceType.Metadata, true)] 1865[InlineData(ReferenceType.Metadata, false)] 1901(ReferenceType.Metadata, true) => (CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), false), 1902(ReferenceType.Metadata, false) => (CreateMarkupForProjectWithMetadataReference(srcDoc, refDoc, LanguageNames.CSharp, LanguageNames.CSharp), true),