|
|
|
@ -1807,6 +1807,10 @@ namespace ICSharpCode.Decompiler.CSharp |
|
|
|
if (function.StateMachineCompiledWithLegacyVisualBasic) |
|
|
|
if (function.StateMachineCompiledWithLegacyVisualBasic) |
|
|
|
{ |
|
|
|
{ |
|
|
|
RemoveAttribute(entityDecl, KnownAttribute.DebuggerStepThrough); |
|
|
|
RemoveAttribute(entityDecl, KnownAttribute.DebuggerStepThrough); |
|
|
|
|
|
|
|
if (function.Method?.IsAccessor == true && entityDecl.Parent is EntityDeclaration parentDecl) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
RemoveAttribute(parentDecl, KnownAttribute.DebuggerStepThrough); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (function.IsAsync) |
|
|
|
if (function.IsAsync) |
|
|
|
|