Skip to content

Commit ff1d857

Browse files
committed
allow null return
1 parent 517ec72 commit ff1d857

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Nancy.Rdf/DictionaryNamespaceManager.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace Nancy.Rdf
99
/// <summary>
1010
/// Dictionary-backed <see cref="INamespaceManager"/>
1111
/// </summary>
12-
[NullGuard(ValidationFlags.AllPublic)]
1312
internal class DictionaryNamespaceManager : INamespaceManager
1413
{
1514
private readonly IDictionary<string, Uri> namespaces;
@@ -23,7 +22,7 @@ public DictionaryNamespaceManager()
2322
}
2423

2524
/// <inheritdoc />
26-
public Uri BaseUri { get; private set; }
25+
public Uri BaseUri { [return: AllowNull] get; private set; }
2726

2827
/// <inheritdoc />
2928
public IEnumerator<NamespaceMap> GetEnumerator()

0 commit comments

Comments
 (0)