Changeset 2148 for trunk/eraser/Eraser.Util/ExtensionMethods/IO.cs
- Timestamp:
- 5/16/2010 11:06:43 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/eraser/Eraser.Util/ExtensionMethods/IO.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.Util/ExtensionMethods/IO.cs
r2112 r2148 324 324 /// list will be empty if no ADSes exist.</returns> 325 325 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] 326 public static IList< string> GetADSes(this FileInfo info)327 { 328 List< string> result = new List<string>();326 public static IList<StreamInfo> GetADSes(this FileInfo info) 327 { 328 List<StreamInfo> result = new List<StreamInfo>(); 329 329 using (FileStream stream = new StreamInfo(info.FullName).Open(FileMode.Open, 330 330 FileAccess.Read, FileShare.ReadWrite)) … … 341 341 342 342 if (streamName.Length != 0) 343 result.Add( streamName);343 result.Add(new StreamInfo(info.FullName, streamName)); 344 344 } 345 345 }
Note: See TracChangeset
for help on using the changeset viewer.
