You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A constructor which has most parameters will be used.
508
515
varmostRichConstructors=
509
516
constructors.GroupBy( ctor =>ctor.GetParameters().Length).OrderByDescending( g =>g.Key).First().ToArray();
517
+
#if DEBUG
518
+
Trace("SerializationTarget::FindDeserializationConstructor.MostRich({0}) -> {1}",targetType,String.Join(";",mostRichConstructors.Select( x =>x.ToString()).ToArray()));
519
+
#endif // DEBUG
510
520
switch(mostRichConstructors.Length)
511
521
{
512
522
case1:
@@ -830,6 +840,14 @@ public override int GetHashCode( KeyValuePair<string, Type> obj )
0 commit comments