@@ -24,7 +24,7 @@ public static void Delete(string path, bool recursive) { }
2424 public static System . Collections . Generic . IEnumerable < string > EnumerateFileSystemEntries ( string path , string searchPattern ) { throw null ; }
2525 public static System . Collections . Generic . IEnumerable < string > EnumerateFileSystemEntries ( string path , string searchPattern , System . IO . EnumerationOptions enumerationOptions ) { throw null ; }
2626 public static System . Collections . Generic . IEnumerable < string > EnumerateFileSystemEntries ( string path , string searchPattern , System . IO . SearchOption searchOption ) { throw null ; }
27- public static bool Exists ( string path ) { throw null ; }
27+ public static bool Exists ( string ? path ) { throw null ; }
2828 public static System . DateTime GetCreationTime ( string path ) { throw null ; }
2929 public static System . DateTime GetCreationTimeUtc ( string path ) { throw null ; }
3030 public static string GetCurrentDirectory ( ) { throw null ; }
@@ -46,7 +46,7 @@ public static void Delete(string path, bool recursive) { }
4646 public static System . DateTime GetLastWriteTime ( string path ) { throw null ; }
4747 public static System . DateTime GetLastWriteTimeUtc ( string path ) { throw null ; }
4848 public static string [ ] GetLogicalDrives ( ) { throw null ; }
49- public static System . IO . DirectoryInfo GetParent ( string path ) { throw null ; }
49+ public static System . IO . DirectoryInfo ? GetParent ( string path ) { throw null ; }
5050 public static void Move ( string sourceDirName , string destDirName ) { }
5151 public static void SetCreationTime ( string path , System . DateTime creationTime ) { }
5252 public static void SetCreationTimeUtc ( string path , System . DateTime creationTimeUtc ) { }
@@ -61,7 +61,7 @@ public sealed partial class DirectoryInfo : System.IO.FileSystemInfo
6161 public DirectoryInfo ( string path ) { }
6262 public override bool Exists { get { throw null ; } }
6363 public override string Name { get { throw null ; } }
64- public System . IO . DirectoryInfo Parent { get { throw null ; } }
64+ public System . IO . DirectoryInfo ? Parent { get { throw null ; } }
6565 public System . IO . DirectoryInfo Root { get { throw null ; } }
6666 public void Create ( ) { }
6767 public System . IO . DirectoryInfo CreateSubdirectory ( string path ) { throw null ; }
@@ -111,10 +111,10 @@ public static void AppendAllLines(string path, System.Collections.Generic.IEnume
111111 public static void AppendAllLines ( string path , System . Collections . Generic . IEnumerable < string > contents , System . Text . Encoding encoding ) { }
112112 public static System . Threading . Tasks . Task AppendAllLinesAsync ( string path , System . Collections . Generic . IEnumerable < string > contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
113113 public static System . Threading . Tasks . Task AppendAllLinesAsync ( string path , System . Collections . Generic . IEnumerable < string > contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
114- public static void AppendAllText ( string path , string contents ) { }
115- public static void AppendAllText ( string path , string contents , System . Text . Encoding encoding ) { }
116- public static System . Threading . Tasks . Task AppendAllTextAsync ( string path , string contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
117- public static System . Threading . Tasks . Task AppendAllTextAsync ( string path , string contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
114+ public static void AppendAllText ( string path , string ? contents ) { }
115+ public static void AppendAllText ( string path , string ? contents , System . Text . Encoding encoding ) { }
116+ public static System . Threading . Tasks . Task AppendAllTextAsync ( string path , string ? contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
117+ public static System . Threading . Tasks . Task AppendAllTextAsync ( string path , string ? contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
118118 public static System . IO . StreamWriter AppendText ( string path ) { throw null ; }
119119 public static void Copy ( string sourceFileName , string destFileName ) { }
120120 public static void Copy ( string sourceFileName , string destFileName , bool overwrite ) { }
@@ -125,7 +125,7 @@ public static void Copy(string sourceFileName, string destFileName, bool overwri
125125 public static void Decrypt ( string path ) { }
126126 public static void Delete ( string path ) { }
127127 public static void Encrypt ( string path ) { }
128- public static bool Exists ( string path ) { throw null ; }
128+ public static bool Exists ( string ? path ) { throw null ; }
129129 public static System . IO . FileAttributes GetAttributes ( string path ) { throw null ; }
130130 public static System . DateTime GetCreationTime ( string path ) { throw null ; }
131131 public static System . DateTime GetCreationTimeUtc ( string path ) { throw null ; }
@@ -153,8 +153,8 @@ public static void Move(string sourceFileName, string destFileName, bool overwri
153153 public static System . Threading . Tasks . Task < string > ReadAllTextAsync ( string path , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
154154 public static System . Collections . Generic . IEnumerable < string > ReadLines ( string path ) { throw null ; }
155155 public static System . Collections . Generic . IEnumerable < string > ReadLines ( string path , System . Text . Encoding encoding ) { throw null ; }
156- public static void Replace ( string sourceFileName , string destinationFileName , string destinationBackupFileName ) { }
157- public static void Replace ( string sourceFileName , string destinationFileName , string destinationBackupFileName , bool ignoreMetadataErrors ) { }
156+ public static void Replace ( string sourceFileName , string destinationFileName , string ? destinationBackupFileName ) { }
157+ public static void Replace ( string sourceFileName , string destinationFileName , string ? destinationBackupFileName , bool ignoreMetadataErrors ) { }
158158 public static void SetAttributes ( string path , System . IO . FileAttributes fileAttributes ) { }
159159 public static void SetCreationTime ( string path , System . DateTime creationTime ) { }
160160 public static void SetCreationTimeUtc ( string path , System . DateTime creationTimeUtc ) { }
@@ -170,16 +170,16 @@ public static void WriteAllLines(string path, string[] contents) { }
170170 public static void WriteAllLines ( string path , string [ ] contents , System . Text . Encoding encoding ) { }
171171 public static System . Threading . Tasks . Task WriteAllLinesAsync ( string path , System . Collections . Generic . IEnumerable < string > contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
172172 public static System . Threading . Tasks . Task WriteAllLinesAsync ( string path , System . Collections . Generic . IEnumerable < string > contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
173- public static void WriteAllText ( string path , string contents ) { }
174- public static void WriteAllText ( string path , string contents , System . Text . Encoding encoding ) { }
175- public static System . Threading . Tasks . Task WriteAllTextAsync ( string path , string contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
176- public static System . Threading . Tasks . Task WriteAllTextAsync ( string path , string contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
173+ public static void WriteAllText ( string path , string ? contents ) { }
174+ public static void WriteAllText ( string path , string ? contents , System . Text . Encoding encoding ) { }
175+ public static System . Threading . Tasks . Task WriteAllTextAsync ( string path , string ? contents , System . Text . Encoding encoding , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
176+ public static System . Threading . Tasks . Task WriteAllTextAsync ( string path , string ? contents , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
177177 }
178178 public sealed partial class FileInfo : System . IO . FileSystemInfo
179179 {
180180 public FileInfo ( string fileName ) { }
181- public System . IO . DirectoryInfo Directory { get { throw null ; } }
182- public string DirectoryName { get { throw null ; } }
181+ public System . IO . DirectoryInfo ? Directory { get { throw null ; } }
182+ public string ? DirectoryName { get { throw null ; } }
183183 public override bool Exists { get { throw null ; } }
184184 public bool IsReadOnly { get { throw null ; } set { } }
185185 public long Length { get { throw null ; } }
@@ -200,8 +200,8 @@ public void MoveTo(string destFileName, bool overwrite) { }
200200 public System . IO . FileStream OpenRead ( ) { throw null ; }
201201 public System . IO . StreamReader OpenText ( ) { throw null ; }
202202 public System . IO . FileStream OpenWrite ( ) { throw null ; }
203- public System . IO . FileInfo Replace ( string destinationFileName , string destinationBackupFileName ) { throw null ; }
204- public System . IO . FileInfo Replace ( string destinationFileName , string destinationBackupFileName , bool ignoreMetadataErrors ) { throw null ; }
203+ public System . IO . FileInfo Replace ( string destinationFileName , string ? destinationBackupFileName ) { throw null ; }
204+ public System . IO . FileInfo Replace ( string destinationFileName , string ? destinationBackupFileName , bool ignoreMetadataErrors ) { throw null ; }
205205 public override string ToString ( ) { throw null ; }
206206 }
207207 public abstract partial class FileSystemInfo : System . MarshalByRefObject , System . Runtime . Serialization . ISerializable
@@ -266,19 +266,19 @@ public ref partial struct FileSystemEntry
266266 }
267267 public partial class FileSystemEnumerable < TResult > : System . Collections . Generic . IEnumerable < TResult > , System . Collections . IEnumerable
268268 {
269- public FileSystemEnumerable ( string directory , System . IO . Enumeration . FileSystemEnumerable < TResult > . FindTransform transform , System . IO . EnumerationOptions options = null ) { }
270- public System . IO . Enumeration . FileSystemEnumerable < TResult > . FindPredicate ShouldIncludePredicate { get { throw null ; } set { } }
271- public System . IO . Enumeration . FileSystemEnumerable < TResult > . FindPredicate ShouldRecursePredicate { get { throw null ; } set { } }
269+ public FileSystemEnumerable ( string directory , System . IO . Enumeration . FileSystemEnumerable < TResult > . FindTransform transform , System . IO . EnumerationOptions ? options = null ) { }
270+ public System . IO . Enumeration . FileSystemEnumerable < TResult > . FindPredicate ? ShouldIncludePredicate { get { throw null ; } set { } }
271+ public System . IO . Enumeration . FileSystemEnumerable < TResult > . FindPredicate ? ShouldRecursePredicate { get { throw null ; } set { } }
272272 public System . Collections . Generic . IEnumerator < TResult > GetEnumerator ( ) { throw null ; }
273273 System . Collections . IEnumerator System . Collections . IEnumerable . GetEnumerator ( ) { throw null ; }
274274 public delegate bool FindPredicate ( ref System . IO . Enumeration . FileSystemEntry entry ) ;
275275 public delegate TResult FindTransform ( ref System . IO . Enumeration . FileSystemEntry entry ) ;
276276 }
277277 public abstract partial class FileSystemEnumerator < TResult > : System . Runtime . ConstrainedExecution . CriticalFinalizerObject , System . Collections . Generic . IEnumerator < TResult > , System . Collections . IEnumerator , System . IDisposable
278278 {
279- public FileSystemEnumerator ( string directory , System . IO . EnumerationOptions options = null ) { }
279+ public FileSystemEnumerator ( string directory , System . IO . EnumerationOptions ? options = null ) { }
280280 public TResult Current { get { throw null ; } }
281- object System . Collections . IEnumerator . Current { get { throw null ; } }
281+ object ? System . Collections . IEnumerator . Current { get { throw null ; } }
282282 protected virtual bool ContinueOnError ( int error ) { throw null ; }
283283 public void Dispose ( ) { }
284284 protected virtual void Dispose ( bool disposing ) { }
@@ -293,6 +293,6 @@ public static partial class FileSystemName
293293 {
294294 public static bool MatchesSimpleExpression ( System . ReadOnlySpan < char > expression , System . ReadOnlySpan < char > name , bool ignoreCase = true ) { throw null ; }
295295 public static bool MatchesWin32Expression ( System . ReadOnlySpan < char > expression , System . ReadOnlySpan < char > name , bool ignoreCase = true ) { throw null ; }
296- public static string TranslateWin32Expression ( string expression ) { throw null ; }
296+ public static string TranslateWin32Expression ( string ? expression ) { throw null ; }
297297 }
298298}
0 commit comments