Table of Contents

Interface INamedElement

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll
public interface INamedElement

Properties

FullName

Gets the fully qualified name of the class the return type is pointing to.

string FullName { get; }

Property Value

string

"System.Int32[]" for int[]
"System.Collections.Generic.List" for List<string> "System.Environment.SpecialFolder" for Environment.SpecialFolder

Name

Gets the short name of the class the return type is pointing to.

string Name { get; }

Property Value

string

"Int32[]" for int[]
"List" for List<string> "SpecialFolder" for Environment.SpecialFolder

Namespace

Gets the full name of the namespace containing this entity.

string Namespace { get; }

Property Value

string

ReflectionName

Gets the full reflection name of the element.

string ReflectionName { get; }

Property Value

string

"System.Int32[]" for int[]
"System.Int32[][,]" for C# int[,][]
"System.Collections.Generic.List`1[[System.String]]" for List<string> "System.Environment+SpecialFolder" for Environment.SpecialFolder

Remarks

For types, the reflection name can be parsed back into a ITypeReference by using ParseReflectionName(string).