Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Corrected exception message format (for InvalidOperationException w…
Browse files Browse the repository at this point in the history
…hen constructing a type)
  • Loading branch information
leekelleher committed Jun 1, 2015
1 parent 3637824 commit 40a41d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static class PublishedContentExtensions
}
else
{
throw new InvalidOperationException("Type {0} has invalid constructor parameters");
throw new InvalidOperationException(string.Format("Type {0} has invalid constructor parameters", type));
}

// Collect all the properties of the given type and loop through writable ones.
Expand Down

0 comments on commit 40a41d2

Please sign in to comment.