@@ -17,7 +17,7 @@ namespace Datadog.Trace.ClrProfiler
                 DefinitionsId = "FFAFA5168C4F4718B40CA8788875C2DA",
 
                 // Autogenerated definitions array
-                Definitions = GetDefinitionsArray(),
+                Definitions = GetDefinitionsList().ToArray(),
             };
         }
 
// <copyright file="InstrumentationDefinitions.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>

namespace Datadog.Trace.ClrProfiler
{
    internal static partial class InstrumentationDefinitions
    {
        private static string assemblyFullName = typeof(InstrumentationDefinitions).Assembly.FullName;

        internal static Payload GetAllDefinitions()
        {
            return new Payload
            {
                // Fixed Id for definitions payload (to avoid loading same integrations from multiple AppDomains)
                DefinitionsId = "FFAFA5168C4F4718B40CA8788875C2DA",

                // Autogenerated definitions array
                Definitions = GetDefinitionsArray(),
            };
        }

        internal static Payload GetDerivedDefinitions()
        {
            return new Payload
            {
                // Fixed Id for definitions payload (to avoid loading same integrations from multiple AppDomains)
                DefinitionsId = "61BF627FA9B5477F85595A9F0D68B29C",

                // Autogenerated definitions array
                Definitions = GetDerivedDefinitionsArray(),
            };
        }

        internal struct Payload
        {
            public string DefinitionsId { get; set; }

            public NativeCallTargetDefinition[] Definitions { get; set; }
        }
    }
}

@tonyredondo for visibility