Skip to content

Commit

Permalink
Ignore Obsolete error for internal interface of GetMarkdownParser() c…
Browse files Browse the repository at this point in the history
…all for backwards compatibility. Eventually remove this.
  • Loading branch information
RickStrahl committed Sep 3, 2017
1 parent a3357df commit b0b7f79
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,10 @@ public virtual IMarkdownParser GetMarkdownParser()
public virtual IMarkdownParser GetMarkdownParser(bool usePragmaLines, bool force)
{
// Existing parsers use the older method, so default to calling that.
#pragma warning disable 612
#pragma warning disable CS0618 // Type or member is obsolete
return GetMarkdownParser();
#pragma warning restore 612
#pragma warning restore CS0618 // Type or member is obsolete

}

/// <summary>
Expand Down

0 comments on commit b0b7f79

Please sign in to comment.