We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b70b66a commit 1cd4ff9Copy full SHA for 1cd4ff9
1 file changed
tracer/src/Datadog.Trace/PDBs/DatadogMetadataReader.cs
@@ -261,12 +261,12 @@ private int GetLocalVariablesCount(MethodDefinition method)
261
if (PdbReader != null)
262
{
263
var methodDefHandle = GetMethodDefHandle(methodToken);
264
- var methodDef = GetMethodDef(methodDefHandle);
265
if (methodDefHandle.IsNil)
266
267
return null;
268
}
269
+ var methodDef = GetMethodDef(methodDefHandle);
270
MethodDebugInformation methodDebugInformation = PdbReader.GetMethodDebugInformation(methodDefHandle.ToDebugInformationHandle());
271
if (methodDebugInformation.SequencePointsBlob.IsNil && searchMoveNext)
272
0 commit comments