obfuz/Plugins/dnlib/DotNet/Pdb/Portable/SymbolVariableImpl.cs

25 lines
776 B
C#

// dnlib: See LICENSE.txt for more info
using dnlib.DotNet.Pdb.Symbols;
namespace dnlib.DotNet.Pdb.Portable {
sealed class SymbolVariableImpl : SymbolVariable {
readonly string name;
readonly PdbLocalAttributes attributes;
readonly int index;
readonly PdbCustomDebugInfo[] customDebugInfos;
public override string Name => name;
public override PdbLocalAttributes Attributes => attributes;
public override int Index => index;
public override PdbCustomDebugInfo[] CustomDebugInfos => customDebugInfos;
public SymbolVariableImpl(string name, PdbLocalAttributes attributes, int index, PdbCustomDebugInfo[] customDebugInfos) {
this.name = name;
this.attributes = attributes;
this.index = index;
this.customDebugInfos = customDebugInfos;
}
}
}