Table of Contents

Class FileStaticSymbol

Namespace
AsmResolver.Symbols.Pdb.Records
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a file static variable symbol.

public class FileStaticSymbol : CodeViewSymbol, IVariableSymbol, ICodeViewSymbol
Inheritance
FileStaticSymbol
Implements
Derived
Inherited Members

Constructors

FileStaticSymbol()

Initializes an empty file static symbol.

protected FileStaticSymbol()

FileStaticSymbol(Utf8String, CodeViewTypeRecord, LocalAttributes)

Creates a new file static variable symbol.

public FileStaticSymbol(Utf8String name, CodeViewTypeRecord variableType, LocalAttributes attributes)

Parameters

name Utf8String

The name of the variable.

variableType CodeViewTypeRecord

The data type of the variable.

attributes LocalAttributes

The attributes describing the variable.

Properties

Attributes

Gets or sets the attributes describing the variable.

public LocalAttributes Attributes { get; set; }

Property Value

LocalAttributes

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

ModuleFileNameOffset

Gets or sets the index of the module's file name within the string table.

public uint ModuleFileNameOffset { get; set; }

Property Value

uint

Name

Gets or sets the name of the variable.

public Utf8String? Name { get; set; }

Property Value

Utf8String

VariableType

Gets or sets the value type of the variable.

public CodeViewTypeRecord? VariableType { get; set; }

Property Value

CodeViewTypeRecord

Methods

GetName()

Obtains the name of the variable.

protected virtual Utf8String? GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

GetVariableType()

Obtains the type of the variable.

protected virtual CodeViewTypeRecord? GetVariableType()

Returns

CodeViewTypeRecord

The type.

Remarks

This method is called upon initialization of the VariableType property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.