Open sandboxFocus

Method ForCompilation

ForCompilation<T>(T?, ICompilation)

Gets a representation of the current declaration in a different version of the compilation.

Declaration
public static T? ForCompilation<T>(this T? compilationElement, ICompilation compilation) where T : class, ICompilationElement
Parameters
Type Name Description
T compilationElement
ICompilation compilation
Returns
Type Description
T
Type Parameters
Name Description
T