Skip to content

Commit 49e07d0

Browse files
committed
Remove unneeded setter
1 parent ff594e4 commit 49e07d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/System.Management.Automation/engine

src/System.Management.Automation/engine/regex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public sealed class WildcardPattern
6363
private static readonly Predicate<string> s_matchAll = _ => true;
6464

6565
// wildcard pattern
66-
internal string Pattern { get; private set; }
66+
internal string Pattern { get; }
6767

6868
// options that control match behavior
6969
internal WildcardOptions Options { get; } = WildcardOptions.None;

0 commit comments

Comments
 (0)