We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29131d5 commit 76e471cCopy full SHA for 76e471c
src/System.Management.Automation/engine/parser/Position.cs
@@ -51,12 +51,13 @@ public interface IScriptPosition
51
/// <summary>
52
/// Represents the a span of text in a script.
53
/// </summary>
54
+#nullable enable
55
public interface IScriptExtent
56
{
57
58
/// The filename the extent includes, or null if the extent is not included in any file.
59
- string File { get; }
60
+ string? File { get; }
61
62
63
/// The starting position of the extent.
@@ -103,6 +104,7 @@ public interface IScriptExtent
103
104
105
int EndOffset { get; }
106
}
107
+#nullable restore
108
109
110
/// A few utility functions for script positions.
0 commit comments