Skip to content

Commit c3e49f2

Browse files
committed
Annotations.
1 parent 26ccca5 commit c3e49f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MetadataExtractor/Directory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ public abstract class Directory
6565
/// <param name="tagType">The tag to look up.</param>
6666
/// <param name="tagName">The found name, if any.</param>
6767
/// <returns><c>true</c> if the tag is known and <paramref name="tagName"/> was set, otherwise <c>false</c>.</returns>
68+
[ContractAnnotation("=>false,tagName:null")]
69+
[ContractAnnotation("=>true, tagName:notnull")]
6870
protected abstract bool TryGetTagName(int tagType, out string tagName);
6971

7072
/// <summary>Gets a value indicating whether the directory is empty, meaning it contains no errors and no tag values.</summary>

0 commit comments

Comments
 (0)