Skip to content

Commit

Permalink
chore: suppress CA1836 message
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Sep 20, 2023
1 parent 254d172 commit cac85d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Docfx.Build.Engine/DocumentBuildContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ internal void SaveExternalXRefSpec(TextWriter writer)

internal void LoadExternalXRefSpec(TextReader reader)
{
if (ExternalXRefSpec.Count > 0)
if (!ExternalXRefSpec.IsEmpty)
{
throw new InvalidOperationException("Cannot load after reporting external xref spec.");
}
Expand Down

0 comments on commit cac85d0

Please sign in to comment.