I've debugged the thing and I think it's rather caused by it's parent
method that calls that Get function.
Rhino.ServiceBus.Serializers.XmlMessageSerializer - Method
WriteObject(string name, object value, XContainer parent,
IDictionary<string, XNamespace> namespaces)
At the time of the StackOverflowException I noticed that it kept going
through the ServiceBus.dll itself
The following code is located within the WriteObject method, at the
bottom of the IF statement inside the else clause.
Lines #128 - #139
XElement content = GetContentWithNamespace(value, namespaces, name);
foreach (var property in reflection.GetProperties(value))
{
var propVal = reflection.Get(value, property);
if (propVal == null)
continue;
WriteObject(property, propVal, content, namespaces);
}
content =
ApplyMessageSerializationBehaviorIfNecessary(value.GetType(),
content);
parent.Add(content);
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en.