Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit aa4b237

Browse files
authored
Add Path.GetRandomFileName() (#33)
1 parent 64c69df commit aa4b237

File tree

1 file changed

+4
-0
lines changed
  • JustArchiNET.Madness/PathMadness

1 file changed

+4
-0
lines changed

JustArchiNET.Madness/PathMadness/Path.cs

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public static class Path {
6565
[Pure]
6666
public static string GetFullPath(string path) => System.IO.Path.GetFullPath(path);
6767

68+
[ContractAnnotation("=>notnull")]
69+
[MadnessType(EMadnessType.Proxy)]
70+
public static string GetRandomFileName() => System.IO.Path.GetRandomFileName();
71+
6872
#if NETSTANDARD2_1_OR_GREATER
6973
[MadnessType(EMadnessType.Proxy)]
7074
public static string GetRelativePath(string relativeTo, string path) => System.IO.Path.GetRelativePath(relativeTo, path);

0 commit comments

Comments
 (0)