Azure.Monitor.OpenTelemetry.Exporter.Internals.StackFrameExtensions static class StackFrameExtensions Documentation Code public static MethodBase GetMethodWithoutWarning(this StackFrame stackFrame) Wrapper for GetMethod. This method disables the Trimmer warning "IL2026:RequiresUnreferencedCode". Callers MUST handle the null condition.