Demote zone construction data names

This commit is contained in:
Meta Vens 2026-06-14 21:30:31 +01:00
commit bf03f27709
8 changed files with 69 additions and 51 deletions

View file

@ -6,7 +6,7 @@ namespace Microsoft.Msagl.Routing.Spline.Bundling {
/// Outputs run time in debug mode
/// </summary>
internal class TimeMeasurer {
#if DEBUG && TEST_MSAGL
#if DEBUG && TEST_MSAGL && REPORTING
static DebugHelpers.Timer timer;
static TimeMeasurer() {
timer = new DebugHelpers.Timer();
@ -17,7 +17,7 @@ namespace Microsoft.Msagl.Routing.Spline.Bundling {
internal delegate void Task();
internal static void DebugOutput(string str) {
#if DEBUG && TEST_MSAGL
#if DEBUG && TEST_MSAGL && REPORTING
timer.Stop();
Console.Write("{0}: ", String.Format("{0:0.000}", timer.Duration));
Console.WriteLine(str);

View file

@ -34,13 +34,17 @@ namespace MessagePack.Resolvers
ForceSizePrimitiveObjectResolver.Instance, // Preserve particular integer types
BuiltinResolver.Instance, // Try Builtin
AttributeFormatterResolver.Instance, // Try use [MessagePackFormatter]
#if !ENABLE_IL2CPP
#if !ENABLE_IL2CPP && !NET_STANDARD_2_0
DynamicEnumResolver.Instance, // Try Enum
#endif
#if !ENABLE_IL2CPP
DynamicGenericResolver.Instance, // Try Array, Tuple, Collection
#endif
#if !ENABLE_IL2CPP && !NET_STANDARD_2_0
DynamicUnionResolver.Instance, // Try Union(Interface)
DynamicObjectResolver.Instance, // Try Object
#endif
DynamicContractlessObjectResolverAllowPrivate.Instance, // Serializes keys as strings
#endif
TypelessObjectResolver.Instance,
};