ILGenerator.EndScope Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Ends a lexical scope.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | This ILGenerator belongs to a DynamicMethod. |
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.
Show: