https://learn.microsoft.com/en-us/dotnet/api/system.reflection.methodbody.localvariables?view=netframework-4.8.1&viewFallbackFrom=net-10.0
MethodBody.LocalVariables Property (System.Reflection) | Microsoft Learn
Gets the list of local variables declared in the method body.
property systemreflectionmicrosoftlearn