Table of Contents

Class UsingNamespaceSymbol

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

Represents a using directive that allows for types to be used without specifying its declaring namespace.

public class UsingNamespaceSymbol : CodeViewSymbol, ICodeViewSymbol
Inheritance
UsingNamespaceSymbol
Implements
Derived
Inherited Members

Constructors

UsingNamespaceSymbol()

Initializes a new empty using namespace.

protected UsingNamespaceSymbol()

UsingNamespaceSymbol(Utf8String)

Creates a new using namespace record.

public UsingNamespaceSymbol(Utf8String name)

Parameters

name Utf8String

The namespace to use.

Properties

CodeViewSymbolType

Gets the type of symbol this record encodes.

public override CodeViewSymbolType CodeViewSymbolType { get; }

Property Value

CodeViewSymbolType

Name

Gets or sets the name of the namespace that is being used.

public Utf8String Name { get; set; }

Property Value

Utf8String

Methods

GetName()

Obtains the name of the namespace.

protected virtual Utf8String? GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.