Skip to content

Commit 6502254

Browse files
committed
Revert "Update PathInfo.cs"
This reverts commit 7284fd7.
1 parent a321d08 commit 6502254

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Verify/DerivePaths/PathInfo.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,14 @@ public static PathInfo DeriveDefault(
3333
methodName: method.Name);
3434

3535
#endregion
36+
37+
internal static PathInfo DeriveDefault(
38+
string sourceFile,
39+
string projectDirectory,
40+
string typeName,
41+
string methodName) =>
42+
new(
43+
directory: IoHelpers.ResolveDirectoryFromSourceFile(sourceFile),
44+
typeName: typeName,
45+
methodName: methodName);
3646
}

0 commit comments

Comments
 (0)