Open sandboxFocus

Struct SerializableDeclarationId

Encapsulates a string that uniquely identifies a declaration 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.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct SerializableDeclarationId : IEquatable<SerializableDeclarationId>

Constructors

Name Description
SerializableDeclarationId(string)

Properties

Name Description
Id

Methods

Name Description
Equals(SerializableDeclarationId)
Equals(object?)
GetHashCode()
Resolve(ICompilation)
ToString()

Operators

Name Description
operator ==(SerializableDeclarationId, SerializableDeclarationId)
operator !=(SerializableDeclarationId, SerializableDeclarationId)

See Also