1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5/* ------------------------------------------------------------------------- *
6 * DbgMeta.h - header file for debugger metadata routines
7 * ------------------------------------------------------------------------- */
8
9#ifndef _DbgMeta_h_
10#define _DbgMeta_h_
11
12#include <cor.h>
13
14/* ------------------------------------------------------------------------- *
15 * Structs to support line numbers and variables
16 * ------------------------------------------------------------------------- */
17
18class DebuggerLexicalScope;
19
20//
21// DebuggerVarInfo
22//
23// Holds basic information about local variables, method arguments,
24// and class static and instance variables.
25//
26struct DebuggerVarInfo
27{
28 LPCSTR name;
29 PCCOR_SIGNATURE sig;
30 unsigned int varNumber; // placement info for IL code
31 DebuggerLexicalScope* scope; // containing scope
32
33 DebuggerVarInfo() : name(NULL), sig(NULL), varNumber(0),
34 scope(NULL) {}
35};
36
37#endif /* _DbgMeta_h_ */
38
39