File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,6 @@ public Environment(IPlatform platform)
5959 return SystemEnv . GetEnvironmentVariable ( variable ) ;
6060 }
6161
62- public DirectoryPath GetSpecialPath ( KnownPath path )
63- {
64- throw new NotImplementedException ( ) ;
65- }
66-
6762 public DirectoryPath GetKnownPath ( KnownPath path )
6863 {
6964 return KnownPathUtilities . GetFolderPath ( Platform , path ) ;
@@ -108,5 +103,4 @@ public DirectoryPath GetTempDirectory()
108103 var path = System . IO . Path . GetTempPath ( ) ;
109104 return new DirectoryPath ( path ) ;
110105 }
111- }
112-
106+ }
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ internal static partial class Native
88 public static class Unix
99 {
1010 [ DllImport ( "libc" , SetLastError = true ) ]
11+ #pragma warning disable SA1300
1112 public static extern IntPtr getenv ( [ MarshalAs ( UnmanagedType . LPStr ) ] string name ) ;
13+ #pragma warning restore SA1300
1214
1315 public static string ? GetFolder ( KnownPath folder )
1416 {
You can’t perform that action at this time.
0 commit comments