Skip to content

Commit 55a94d1

Browse files
Fix stubbed library detection to not require public client ctor (Azure#52043)
1 parent 916f4be commit 55a94d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

eng/packages/http-client-csharp/generator/TestProjects/Spector.Tests/Infrastructure/SpectorTestAttribute.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ private static bool IsLibraryStubbed(string clientCsFile)
4646

4747
var constructors = root.DescendantNodes()
4848
.OfType<ConstructorDeclarationSyntax>()
49-
.Where(c => c.Modifiers.Any(SyntaxKind.PublicKeyword))
5049
.ToList();
5150

5251
if (constructors.Count != 0)

0 commit comments

Comments
 (0)