Metalama//API Documentation/Aspect API/Metalama.​Framework.​Code/IDeclaration/To­Ref
Open sandboxFocus

Method ToRef

ToRef()

Gets a reference to the compilation, which can be used to identify the current declaration in a different revision of the compilation.

Declaration
IRef<IDeclaration> ToRef()
Returns
Type Description
IRef<IDeclaration>