Skip to content

Commit a13e545

Browse files
committed
more
1 parent a1493a6 commit a13e545

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/OpenTelemetry.AutoInstrumentation.Digma/Instrumentation/UserCodeInstrumentation.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ private bool ShouldInstrumentMethod(Type type, MethodInfo methodInfo)
9595
methodInfo.Name != "Equals" &&
9696
methodInfo.Name != "ToString" &&
9797
methodInfo.Name != "Deconstruct" &&
98+
methodInfo.Name != "MoveNext" &&
99+
methodInfo.Name != "SetStateMachine" &&
100+
methodInfo.Name != "PrintMembers" &&
101+
methodInfo.Name != "Dispose" &&
102+
methodInfo.Name != "BuildKey" &&
103+
methodInfo.Name != "IsEmpty" &&
104+
methodInfo.Name != "GetResultByIndex" &&
98105
methodInfo.Name != "<Clone>$" &&
99106
(methodInfo.IsPublic || _includePrivateMethods);
100107
}

0 commit comments

Comments
 (0)