Skip to main content

MetadataName Struct

Namespace: Roslynator

Assembly: Roslynator.Core.dll

Represents fully qualified metadata name of a symbol.

public readonly struct MetadataName : IEquatable<Roslynator.MetadataName>

Inheritance​

Object → ValueType → MetadataName

Implements​

Constructors​

ConstructorSummary
MetadataName(IEnumerable<String>, IEnumerable<String>, String)Initializes a new instance of MetadataName.
MetadataName(IEnumerable<String>, String)Initializes a new instance of MetadataName.
MetadataName(ImmutableArray<String>, ImmutableArray<String>, String)Initializes a new instance of MetadataName.
MetadataName(ImmutableArray<String>, String)Initializes a new instance of MetadataName.

Properties​

PropertySummary
ContainingNamespacesGets metadata names of containing namespaces
ContainingTypesGet metadata names of containing types.
IsDefaultDetermines whether this struct was initialized with an actual names.
NameGet metadata name.

Methods​

MethodSummary
Equals(MetadataName)Indicates whether this instance and a specified MetadataName are equal. (Implements IEquatable<MetadataName>.Equals)
Equals(Object)Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals)
GetHashCode()Returns the hash code for this instance. (Overrides ValueType.GetHashCode)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
Parse(String)Converts the string representation of a fully qualified metadata name to its MetadataName equivalent.
ToString()Returns the fully qualified metadata name. (Overrides ValueType.ToString)
TryParse(String, MetadataName)Converts the string representation of a fully qualified metadata name to its MetadataName equivalent. A return value indicates whether the parsing succeeded.

Operators​

OperatorSummary
Equality(MetadataName, MetadataName)
Inequality(MetadataName, MetadataName)