Fix for failed tests in pull request #245 #246

Merged
merged 1 commit into from Nov 29, 2012

Projects

None yet

2 participants

@peterlazzarino
Contributor

Pull request URL:
#245.

Peter Lazzarino Fix for failed tests in pull request #245
Pull request URL:
ServiceStack#245.
f1398b1
@mythz mythz merged commit eb43d68 into ServiceStack:master Nov 29, 2012
@mythz
Member
mythz commented Nov 29, 2012

Cool, thx. CI is still reporting a couple more:

Test(s) failed. System.TypeInitializationException : The type initializer for 'ServiceStack.Text.CsvSerializer1' threw an exception. ----> System.Reflection.AmbiguousMatchException : Ambiguous match found. at ServiceStack.Text.CsvSerializer1.WriteObject(TextWriter writer, Object value) in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 269
at ServiceStack.Text.CsvSerializer.SerializeToString[T](T value) in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 70
at ServiceStack.Text.Tests.CsvSerializerTests.Serialize[T](T data) in c:\BuildAgent\work\3552d48437600474\tests\ServiceStack.Text.Tests\CsvSerializerTests.cs:line 19
at ServiceStack.Text.Tests.CsvSerializerTests.Can_Serialize_MovieResponse_Dto() in c:\BuildAgent\work\3552d48437600474\tests\ServiceStack.Text.Tests\CsvSerializerTests.cs:line 38
--AmbiguousMatchException
at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr)
at ServiceStack.Text.CsvSerializer1.CreateCsvWriterFn(Type elementType, String methodName) in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 222 at ServiceStack.Text.CsvSerializer1.CreateWriteRowFn(Type elementType) in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 217
at ServiceStack.Text.CsvSerializer1.GetWriteFn() in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 204 at ServiceStack.Text.CsvSerializer1..cctor() in c:\BuildAgent\work\3552d48437600474\src\ServiceStack.Text\CsvSerializer.cs:line 263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment