LocalBuilder.SetLocalSymInfo Method (String, Int32, Int32)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the name and lexical scope of this local variable.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
- Type: System.String
The name of the local variable.
- startOffset
- Type: System.Int32
The beginning offset of the lexical scope of the local variable.
- endOffset
- Type: System.Int32
The ending offset of the lexical scope of the local variable.
| Exception | Condition |
|---|---|
| InvalidOperationException | There is no symbolic writer defined for the containing module. |
| NotSupportedException | This local is defined in a dynamic method, rather than in a method of a dynamic type. |
Show: