-
Notifications
You must be signed in to change notification settings - Fork 158
Expand file tree
/
Copy pathILineProbeResolver.cs
More file actions
21 lines (18 loc) · 904 Bytes
/
ILineProbeResolver.cs
File metadata and controls
21 lines (18 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// <copyright file="ILineProbeResolver.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>
using Datadog.Trace.Debugger.Configurations.Models;
using Datadog.Trace.Debugger.Models;
#nullable enable
namespace Datadog.Trace.Debugger
{
/// <summary>
/// Matches a source file path with the assembly and pdb files that correlate to it,
/// and resolves the line probe's line number to a byte code offset.
/// </summary>
internal interface ILineProbeResolver
{
LineProbeResolveResult TryResolveLineProbe(ProbeDefinition probe, out LineProbeResolver.BoundLineProbeLocation? location, LineProbeDiagnosticLevel diagnosticLevel = LineProbeDiagnosticLevel.Full);
}
}