Encapsulates a string that uniquely identifies a type within a compilation (except in the situation where the compilation contains several assemblies providing types of the same name) and that is safe to persist in a file.
Implements
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct SerializableTypeId : IEquatable<SerializableTypeId>
Constructors
Name | Description |
---|---|
SerializableTypeId(string) |
Properties
Name | Description |
---|---|
Id |
Methods
Name | Description |
---|---|
Equals(SerializableTypeId) | |
Equals(object?) | |
GetHashCode() | |
Resolve(ICompilation) | |
Resolve(ICompilation, IReadOnlyDictionary<string, IType>?) | |
ToString() |
Operators
Name | Description |
---|---|
operator ==(SerializableTypeId, SerializableTypeId) | |
operator !=(SerializableTypeId, SerializableTypeId) |