@@ -10,22 +10,22 @@ public partial struct FilePatternMatch : System.IEquatable<Microsoft.Extensions.
10
10
{
11
11
private object _dummy ;
12
12
private int _dummyPrimitive ;
13
- public FilePatternMatch ( string path , string stem ) { throw null ; }
13
+ public FilePatternMatch ( string path , string ? stem ) { throw null ; }
14
14
public readonly string Path { get { throw null ; } }
15
- public readonly string Stem { get { throw null ; } }
15
+ public readonly string ? Stem { get { throw null ; } }
16
16
public bool Equals ( Microsoft . Extensions . FileSystemGlobbing . FilePatternMatch other ) { throw null ; }
17
- public override bool Equals ( object obj ) { throw null ; }
17
+ public override bool Equals ( [ System . Diagnostics . CodeAnalysis . NotNullWhenAttribute ( true ) ] object ? obj ) { throw null ; }
18
18
public override int GetHashCode ( ) { throw null ; }
19
19
}
20
20
public partial class InMemoryDirectoryInfo : Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase
21
21
{
22
- public InMemoryDirectoryInfo ( string rootDir , System . Collections . Generic . IEnumerable < string > files ) { }
22
+ public InMemoryDirectoryInfo ( string rootDir , System . Collections . Generic . IEnumerable < string > ? files ) { }
23
23
public override string FullName { get { throw null ; } }
24
24
public override string Name { get { throw null ; } }
25
- public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ParentDirectory { get { throw null ; } }
25
+ public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? ParentDirectory { get { throw null ; } }
26
26
public override System . Collections . Generic . IEnumerable < Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileSystemInfoBase > EnumerateFileSystemInfos ( ) { throw null ; }
27
27
public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase GetDirectory ( string path ) { throw null ; }
28
- public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase GetFile ( string path ) { throw null ; }
28
+ public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase ? GetFile ( string path ) { throw null ; }
29
29
}
30
30
public partial class Matcher
31
31
{
@@ -40,9 +40,9 @@ public static partial class MatcherExtensions
40
40
public static void AddExcludePatterns ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , params System . Collections . Generic . IEnumerable < string > [ ] excludePatternsGroups ) { }
41
41
public static void AddIncludePatterns ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , params System . Collections . Generic . IEnumerable < string > [ ] includePatternsGroups ) { }
42
42
public static System . Collections . Generic . IEnumerable < string > GetResultsInFullPath ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , string directoryPath ) { throw null ; }
43
- public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , System . Collections . Generic . IEnumerable < string > files ) { throw null ; }
43
+ public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , System . Collections . Generic . IEnumerable < string > ? files ) { throw null ; }
44
44
public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , string file ) { throw null ; }
45
- public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , string rootDir , System . Collections . Generic . IEnumerable < string > files ) { throw null ; }
45
+ public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , string rootDir , System . Collections . Generic . IEnumerable < string > ? files ) { throw null ; }
46
46
public static Microsoft . Extensions . FileSystemGlobbing . PatternMatchingResult Match ( this Microsoft . Extensions . FileSystemGlobbing . Matcher matcher , string rootDir , string file ) { throw null ; }
47
47
}
48
48
public partial class PatternMatchingResult
@@ -59,17 +59,17 @@ public abstract partial class DirectoryInfoBase : Microsoft.Extensions.FileSyste
59
59
{
60
60
protected DirectoryInfoBase ( ) { }
61
61
public abstract System . Collections . Generic . IEnumerable < Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileSystemInfoBase > EnumerateFileSystemInfos ( ) ;
62
- public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase GetDirectory ( string path ) ;
63
- public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase GetFile ( string path ) ;
62
+ public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? GetDirectory ( string path ) ;
63
+ public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase ? GetFile ( string path ) ;
64
64
}
65
65
public partial class DirectoryInfoWrapper : Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase
66
66
{
67
67
public DirectoryInfoWrapper ( System . IO . DirectoryInfo directoryInfo ) { }
68
68
public override string FullName { get { throw null ; } }
69
69
public override string Name { get { throw null ; } }
70
- public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ParentDirectory { get { throw null ; } }
70
+ public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? ParentDirectory { get { throw null ; } }
71
71
public override System . Collections . Generic . IEnumerable < Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileSystemInfoBase > EnumerateFileSystemInfos ( ) { throw null ; }
72
- public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase GetDirectory ( string name ) { throw null ; }
72
+ public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? GetDirectory ( string name ) { throw null ; }
73
73
public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase GetFile ( string name ) { throw null ; }
74
74
}
75
75
public abstract partial class FileInfoBase : Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileSystemInfoBase
@@ -81,14 +81,14 @@ public partial class FileInfoWrapper : Microsoft.Extensions.FileSystemGlobbing.A
81
81
public FileInfoWrapper ( System . IO . FileInfo fileInfo ) { }
82
82
public override string FullName { get { throw null ; } }
83
83
public override string Name { get { throw null ; } }
84
- public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ParentDirectory { get { throw null ; } }
84
+ public override Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? ParentDirectory { get { throw null ; } }
85
85
}
86
86
public abstract partial class FileSystemInfoBase
87
87
{
88
88
protected FileSystemInfoBase ( ) { }
89
89
public abstract string FullName { get ; }
90
90
public abstract string Name { get ; }
91
- public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ParentDirectory { get ; }
91
+ public abstract Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase ? ParentDirectory { get ; }
92
92
}
93
93
}
94
94
namespace Microsoft . Extensions . FileSystemGlobbing . Internal
@@ -133,8 +133,8 @@ public partial struct PatternTestResult
133
133
private int _dummyPrimitive ;
134
134
public static readonly Microsoft . Extensions . FileSystemGlobbing . Internal . PatternTestResult Failed ;
135
135
public readonly bool IsSuccessful { get { throw null ; } }
136
- public readonly string Stem { get { throw null ; } }
137
- public static Microsoft . Extensions . FileSystemGlobbing . Internal . PatternTestResult Success ( string stem ) { throw null ; }
136
+ public readonly string ? Stem { get { throw null ; } }
137
+ public static Microsoft . Extensions . FileSystemGlobbing . Internal . PatternTestResult Success ( string ? stem ) { throw null ; }
138
138
}
139
139
}
140
140
namespace Microsoft . Extensions . FileSystemGlobbing . Internal . PathSegments
@@ -150,7 +150,7 @@ public partial class LiteralPathSegment : Microsoft.Extensions.FileSystemGlobbin
150
150
public LiteralPathSegment ( string value , System . StringComparison comparisonType ) { }
151
151
public bool CanProduceStem { get { throw null ; } }
152
152
public string Value { get { throw null ; } }
153
- public override bool Equals ( object obj ) { throw null ; }
153
+ public override bool Equals ( [ System . Diagnostics . CodeAnalysis . NotNullWhenAttribute ( true ) ] object ? obj ) { throw null ; }
154
154
public override int GetHashCode ( ) { throw null ; }
155
155
public bool Match ( string value ) { throw null ; }
156
156
}
@@ -195,7 +195,7 @@ public partial struct FrameData
195
195
public bool InStem ;
196
196
public bool IsNotApplicable ;
197
197
public int SegmentIndex ;
198
- public string Stem { get { throw null ; } }
198
+ public string ? Stem { get { throw null ; } }
199
199
public System . Collections . Generic . IList < string > StemItems { get { throw null ; } }
200
200
}
201
201
}
@@ -232,7 +232,7 @@ public partial struct FrameData
232
232
public System . Collections . Generic . IList < Microsoft . Extensions . FileSystemGlobbing . Internal . IPathSegment > SegmentGroup ;
233
233
public int SegmentGroupIndex ;
234
234
public int SegmentIndex ;
235
- public string Stem { get { throw null ; } }
235
+ public string ? Stem { get { throw null ; } }
236
236
public System . Collections . Generic . IList < string > StemItems { get { throw null ; } }
237
237
}
238
238
}
@@ -249,12 +249,12 @@ public override void Declare(System.Action<Microsoft.Extensions.FileSystemGlobbi
249
249
}
250
250
public abstract partial class PatternContext < TFrame > : Microsoft . Extensions . FileSystemGlobbing . Internal . IPatternContext
251
251
{
252
- protected TFrame Frame ;
252
+ protected TFrame ? Frame ;
253
253
protected PatternContext ( ) { }
254
254
public virtual void Declare ( System . Action < Microsoft . Extensions . FileSystemGlobbing . Internal . IPathSegment , bool > declare ) { }
255
255
protected bool IsStackEmpty ( ) { throw null ; }
256
256
public virtual void PopDirectory ( ) { }
257
- protected void PushDataFrame ( TFrame frame ) { }
257
+ protected void PushDataFrame ( TFrame ? frame ) { }
258
258
public abstract void PushDirectory ( Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase directory ) ;
259
259
public abstract bool Test ( Microsoft . Extensions . FileSystemGlobbing . Abstractions . DirectoryInfoBase directory ) ;
260
260
public abstract Microsoft . Extensions . FileSystemGlobbing . Internal . PatternTestResult Test ( Microsoft . Extensions . FileSystemGlobbing . Abstractions . FileInfoBase file ) ;
0 commit comments