static void ErrorTest(IFormatStringError error, string originalText, string replacementText, int startLocation, int endLocation)
 {
     Assert.AreEqual(originalText, error.OriginalText, "OriginalText is incorrect.");
     Assert.AreEqual(replacementText, error.SuggestedReplacementText, "SuggestedReplacementText is incorrect.");
     Assert.AreEqual(startLocation, error.StartLocation, "StartLocation is incorrect.");
     Assert.AreEqual(endLocation, error.EndLocation, "EndLocation is incorrect.");
 }
		static void ErrorTest(IFormatStringError error, string originalText, string replacementText, int startLocation, int endLocation)
		{
			Assert.AreEqual(originalText, error.OriginalText, "OriginalText is incorrect.");
			Assert.AreEqual(replacementText, error.SuggestedReplacementText, "SuggestedReplacementText is incorrect.");
			Assert.AreEqual(startLocation, error.StartLocation, "StartLocation is incorrect.");
			Assert.AreEqual(endLocation, error.EndLocation, "EndLocation is incorrect.");
		}
		void AddError (IFormatStringError error)
		{
			errors.Add (error);
		}
 private void AddError(IFormatStringError error)
 {
     errors.Add(error);
 }