127 references to Composition
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (119)
Interactive\NavigateTo\InteractiveNavigateToTests.cs (38)
30public async Task NoItemsForEmptyFile(TestHost testHost, Composition composition) 40public async Task FindClass(TestHost testHost, Composition composition) 56public async Task FindNestedClass(TestHost testHost, Composition composition) 78public async Task FindMemberInANestedClass(TestHost testHost, Composition composition) 103public async Task FindGenericClassWithConstraints(TestHost testHost, Composition composition) 121public async Task FindGenericMethodWithConstraints(TestHost testHost, Composition composition) 142public async Task FindPartialClass(TestHost testHost, Composition composition) 168public async Task FindTypesInMetadata(TestHost testHost, Composition composition) 184public async Task FindClassInNamespace(TestHost testHost, Composition composition) 203public async Task FindStruct(TestHost testHost, Composition composition) 219public async Task FindEnum(TestHost testHost, Composition composition) 238public async Task FindEnumMember(TestHost testHost, Composition composition) 257public async Task FindConstField(TestHost testHost, Composition composition) 274public async Task FindVerbatimIdentifier(TestHost testHost, Composition composition) 291public async Task FindIndexer(TestHost testHost, Composition composition) 303public async Task FindEvent(TestHost testHost, Composition composition) 315public async Task FindAutoProperty(TestHost testHost, Composition composition) 332public async Task FindMethod(TestHost testHost, Composition composition) 349public async Task FindParameterizedMethod(TestHost testHost, Composition composition) 368public async Task FindConstructor(TestHost testHost, Composition composition) 387public async Task FindParameterizedConstructor(TestHost testHost, Composition composition) 406public async Task FindStaticConstructor(TestHost testHost, Composition composition) 425public async Task FindPartialMethods(TestHost testHost, Composition composition) 440public async Task FindPartialMethodDefinitionOnly(TestHost testHost, Composition composition) 457public async Task FindOverriddenMembers(TestHost testHost, Composition composition) 487public async Task FindInterface(TestHost testHost, Composition composition) 503public async Task FindDelegateInNamespace(TestHost testHost, Composition composition) 520public async Task FindLambdaExpression(TestHost testHost, Composition composition) 539public async Task OrderingOfConstructorsAndTypes(TestHost testHost, Composition composition) 578public async Task StartStopSanity(TestHost testHost, Composition composition) 603public async Task DescriptionItems(TestHost testHost, Composition composition) 632public async Task TermSplittingTest1(TestHost testHost, Composition composition) 652public async Task TermSplittingTest2(TestHost testHost, Composition composition) 669public async Task TermSplittingTest3(TestHost testHost, Composition composition) 686public async Task TermSplittingTest4(TestHost testHost, Composition composition) 698public async Task TermSplittingTest5(TestHost testHost, Composition composition) 710public async Task TermSplittingTest7(TestHost testHost, Composition composition) 728public async Task TermSplittingTest8(TestHost testHost, Composition composition)
NavigateTo\NavigateToTests.cs (81)
31public async Task NoItemsForEmptyFile(TestHost testHost, Composition composition) 40public async Task FindClass(TestHost testHost, Composition composition) 55public async Task FindRecord(TestHost testHost, Composition composition) 70public async Task FindRecordClass(TestHost testHost, Composition composition) 85public async Task FindRecordStruct(TestHost testHost, Composition composition) 106public async Task FindClassInFileScopedNamespace(TestHost testHost, Composition composition) 126public async Task FindVerbatimClass(TestHost testHost, Composition composition) 145public async Task FindNestedClass(TestHost testHost, Composition composition) 166public async Task FindMemberInANestedClass(TestHost testHost, Composition composition) 190public async Task FindGenericClassWithConstraints(TestHost testHost, Composition composition) 207public async Task FindGenericMethodWithConstraints(TestHost testHost, Composition composition) 227public async Task FindPartialClass(TestHost testHost, Composition composition) 252public async Task FindTypesInMetadata(TestHost testHost, Composition composition) 267public async Task FindClassInNamespace(TestHost testHost, Composition composition) 285public async Task FindStruct(TestHost testHost, Composition composition) 300public async Task FindEnum(TestHost testHost, Composition composition) 318public async Task FindEnumMember(TestHost testHost, Composition composition) 336public async Task FindField1(TestHost testHost, Composition composition) 352public async Task FindField2(TestHost testHost, Composition composition) 368public async Task FindField3(TestHost testHost, Composition composition) 383public async Task FindVerbatimField(TestHost testHost, Composition composition) 403public async Task FindPtrField1(TestHost testHost, Composition composition) 418public async Task FindPtrField2(TestHost testHost, Composition composition) 434public async Task FindConstField(TestHost testHost, Composition composition) 450public async Task FindIndexer(TestHost testHost, Composition composition) 461public async Task FindEvent(TestHost testHost, Composition composition) 472public async Task FindAutoProperty(TestHost testHost, Composition composition) 488public async Task FindMethod(TestHost testHost, Composition composition) 504public async Task FindVerbatimMethod(TestHost testHost, Composition composition) 524public async Task FindParameterizedMethod(TestHost testHost, Composition composition) 542public async Task FindConstructor(TestHost testHost, Composition composition) 560public async Task FindParameterizedConstructor(TestHost testHost, Composition composition) 578public async Task FindStaticConstructor(TestHost testHost, Composition composition) 596public async Task FindPartialMethods(TestHost testHost, Composition composition) 610public async Task FindPartialProperties(TestHost testHost, Composition composition) 624public async Task FindPartialMethodDefinitionOnly(TestHost testHost, Composition composition) 640public async Task FindPartialMethodImplementationOnly(TestHost testHost, Composition composition) 658public async Task FindOverriddenMembers(TestHost testHost, Composition composition) 687public async Task FindInterface(TestHost testHost, Composition composition) 702public async Task FindTopLevelLocalFunction(TestHost testHost, Composition composition) 717public async Task FindTopLevelLocalFunction_WithParameters(TestHost testHost, Composition composition) 732public async Task FindTopLevelLocalFunction_WithTypeArgumentsAndParameters(TestHost testHost, Composition composition) 747public async Task FindNestedLocalFunctionTopLevelStatements(TestHost testHost, Composition composition) 765public async Task FindLocalFunctionInMethod(TestHost testHost, Composition composition) 789public async Task FindNestedLocalFunctionInMethod(TestHost testHost, Composition composition) 813public async Task FindDelegateInNamespace(TestHost testHost, Composition composition) 829public async Task FindLambdaExpression(TestHost testHost, Composition composition) 847public async Task FindArray(TestHost testHost, Composition composition) 863public async Task FindClassAndMethodWithSameName(TestHost testHost, Composition composition) 890public async Task FindMethodNestedInGenericTypes(TestHost testHost, Composition composition) 914public async Task OrderingOfConstructorsAndTypes(TestHost testHost, Composition composition) 952public async Task NavigateToMethodWithNullableParameter(TestHost testHost, Composition composition) 970public async Task StartStopSanity(TestHost testHost, Composition composition) 994public async Task DescriptionItems(TestHost testHost, Composition composition) 1021public async Task TermSplittingTest1(TestHost testHost, Composition composition) 1040public async Task TermSplittingTest2(TestHost testHost, Composition composition) 1056public async Task TermSplittingTest3(TestHost testHost, Composition composition) 1072public async Task TermSplittingTest4(TestHost testHost, Composition composition) 1083public async Task TermSplittingTest5(TestHost testHost, Composition composition) 1094public async Task TermSplittingTest6(TestHost testHost, Composition composition) 1114public async Task TermSplittingTest7(TestHost testHost, Composition composition) 1125public async Task TestIndexer1(TestHost testHost, Composition composition) 1157public async Task DottedPattern1(TestHost testHost, Composition composition) 1174public async Task DottedPattern2(TestHost testHost, Composition composition) 1190public async Task DottedPattern3(TestHost testHost, Composition composition) 1207public async Task DottedPattern4(TestHost testHost, Composition composition) 1224public async Task DottedPattern5(TestHost testHost, Composition composition) 1241public async Task DottedPattern6(TestHost testHost, Composition composition) 1258public async Task DottedPattern7(TestHost testHost, Composition composition) 1276public async Task DottedPatternMatchKind(TestHost testHost, Composition composition) 1339public async Task FindFuzzy1(TestHost testHost, Composition composition) 1358public async Task Test__arglist(TestHost testHost, Composition composition) 1646public async Task FindMethodWithTuple(TestHost testHost, Composition composition) 1667public async Task FindRecordMember1(TestHost testHost, Composition composition) 1683public async Task FindRecordMember2(TestHost testHost, Composition composition) 1700public async Task FindRecordMember3(TestHost testHost, Composition composition) 1723await TestAsync(testHost, Composition.FirstActiveAndVisible, XElement.Parse(""" 1768await TestAsync(testHost, Composition.FirstActiveAndVisible, XElement.Parse(""" 1813await TestAsync(testHost, Composition.FirstActiveAndVisible, XElement.Parse(""" 1858await TestAsync(testHost, Composition.FirstActiveAndVisible, XElement.Parse(""" 1903await TestAsync(testHost, Composition.FirstActiveAndVisible, XElement.Parse("""
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
NavigateTo\AbstractNavigateToTests.cs (8)
87protected async Task TestAsync(TestHost testHost, Composition composition, string content, Func<EditorTestWorkspace, Task> body) 91Composition.Default => DefaultComposition, 92Composition.FirstVisible => FirstVisibleComposition, 93Composition.FirstActiveAndVisible => FirstActiveAndVisibleComposition, 100protected async Task TestAsync(TestHost testHost, Composition composition, XElement content, Func<EditorTestWorkspace, Task> body) 104Composition.Default => DefaultComposition, 105Composition.FirstVisible => FirstVisibleComposition, 106Composition.FirstActiveAndVisible => FirstActiveAndVisibleComposition,