8 references to TestUpdateDeclarationAsync
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (8)
CodeGeneration\CodeGenerationTests.CSharp.cs (4)
1424
await
TestUpdateDeclarationAsync
<ClassDeclarationSyntax>(input, expected, accessibility: Accessibility.Internal);
1442
await
TestUpdateDeclarationAsync
<MethodDeclarationSyntax>(input, expected, getType: GetTypeSymbol(typeof(int)));
1466
await
TestUpdateDeclarationAsync
<ClassDeclarationSyntax>(
1492
await
TestUpdateDeclarationAsync
<ClassDeclarationSyntax>(input, expected, getNewMembers: getMembers, declareNewMembersAtTop: true);
CodeGeneration\CodeGenerationTests.VisualBasic.cs (4)
1478
await
TestUpdateDeclarationAsync
<ClassStatementSyntax>(input, expected, modifiers: newModifiers);
1492
await
TestUpdateDeclarationAsync
<ClassStatementSyntax>(input, expected, accessibility: Accessibility.ProtectedOrFriend);
1512
await
TestUpdateDeclarationAsync
<MethodStatementSyntax>(input, expected, getType: GetTypeSymbol(typeof(int)));
1536
await
TestUpdateDeclarationAsync
<ClassBlockSyntax>(input, expected, getNewMembers: getMembers);