Skip to content

Commit

Permalink
allow null return
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Apr 25, 2019
1 parent 517ec72 commit ff1d857
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Nancy.Rdf/DictionaryNamespaceManager.cs
Expand Up @@ -9,7 +9,6 @@ namespace Nancy.Rdf
/// <summary>
/// Dictionary-backed <see cref="INamespaceManager"/>
/// </summary>
[NullGuard(ValidationFlags.AllPublic)]
internal class DictionaryNamespaceManager : INamespaceManager
{
private readonly IDictionary<string, Uri> namespaces;
Expand All @@ -23,7 +22,7 @@ public DictionaryNamespaceManager()
}

/// <inheritdoc />
public Uri BaseUri { get; private set; }
public Uri BaseUri { [return: AllowNull] get; private set; }

/// <inheritdoc />
public IEnumerator<NamespaceMap> GetEnumerator()
Expand Down

0 comments on commit ff1d857

Please sign in to comment.