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

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>