opentelemetry-dotnet-instru.../test/test-applications/integrations/TestApplication.ContinuousP.../TestDynamicClass.cs

17 lines
417 B
C#

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
using System.Dynamic;
namespace My.Custom.Test.Namespace;
internal class TestDynamicClass : DynamicObject
{
public override bool TryInvoke(InvokeBinder binder, object?[]? args, out object? result)
{
TestApplication.ContinuousProfiler.Vb.ClassVb.MethodVb("testParam");
result = null;
return true;
}
}