32 references to ReferenceType
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (32)
Completion\CompletionProviders\ExtensionMethodImportCompletionProviderTests.vb (32)
32Return (New ReferenceType() {ReferenceType.None, ReferenceType.Project, ReferenceType.Metadata}).Select(Function(refType) 37Private Shared Function GetMarkup(current As String, referenced As String, refType As ReferenceType, Optional currentLanguage As String = LanguageNames.VisualBasic, Optional referencedLanguage As String = LanguageNames.VisualBasic) As String 38If refType = ReferenceType.None Then 40ElseIf refType = ReferenceType.Project Then 42ElseIf refType = ReferenceType.Metadata Then 49<InlineData(ReferenceType.None)> 50<InlineData(ReferenceType.Project)> 52Public Async Function TestExtensionAttribute(refType As ReferenceType) As Task 116<InlineData(ReferenceType.None)> 117<InlineData(ReferenceType.Project)> 119Public Async Function TestCaseMismatchInTargetType(refType As ReferenceType) As Task 154<InlineData(ReferenceType.None)> 155<InlineData(ReferenceType.Project)> 157Public Async Function TestCaseMismatchInNamespaceImport(refType As ReferenceType) As Task 193<InlineData(ReferenceType.None)> 194<InlineData(ReferenceType.Project)> 196Public Async Function TestImplicitTarget1(refType As ReferenceType) As Task 228<InlineData(ReferenceType.None)> 229<InlineData(ReferenceType.Project)> 231Public Async Function TestImplicitTarget2(refType As ReferenceType) As Task 263<InlineData(ReferenceType.Project, "()", "ExtentionMethod2")> 264<InlineData(ReferenceType.Project, "()()", "ExtentionMethod3")> 265<InlineData(ReferenceType.Project, "(,)", "ExtentionMethod4")> 266<InlineData(ReferenceType.Project, "()(,)", "ExtentionMethod5")> 267<InlineData(ReferenceType.None, "()", "ExtentionMethod2")> 268<InlineData(ReferenceType.None, "()()", "ExtentionMethod3")> 269<InlineData(ReferenceType.None, "(,)", "ExtentionMethod4")> 270<InlineData(ReferenceType.None, "()(,)", "ExtentionMethod5")> 272Public Async Function TestExtensionMethodsForArrayType(refType As ReferenceType, rank As String, expectedName As String) As Task