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
| Constructor | Summary |
|---|---|
| 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
| Property | Summary |
|---|---|
| ContainingNamespaces | Gets metadata names of containing namespaces |
| ContainingTypes | Get metadata names of containing types. |
| IsDefault | Determines whether this struct was initialized with an actual names. |
| Name | Get metadata name. |
Methods
| Method | Summary |
|---|---|
| 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
| Operator | Summary |
|---|---|
| Equality(MetadataName, MetadataName) | |
| Inequality(MetadataName, MetadataName) |