SymWriter.CloseScope(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes the current lexical scope.
public:
override void CloseScope(int endOffset);
public:
virtual void CloseScope(int endOffset);
public override void CloseScope (int endOffset);
public virtual void CloseScope (int endOffset);
abstract member CloseScope : int -> unit
override this.CloseScope : int -> unit
Public Overrides Sub CloseScope (endOffset As Integer)
Public Overridable Sub CloseScope (endOffset As Integer)
Parameters
- endOffset
- Int32
The IL offset just past the last instruction in the scope.
Implements
Remarks
After a scope is closed, you cannot define a variable from within the method.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.