ILGenerator.EndScope Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Ends a lexical scope.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overridable Sub EndScope
public virtual void EndScope()
Remarks
This method is used to emit symbolic information. It is used with BeginScope.
If the current ILGenerator is associated with a DynamicMethod object, it does not support symbolic information.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.