TryForCompilation<T>(T?, ICompilation, out T?)
Tries to get a representation of the current declaration in a different version of the compilation.
Declaration
public static bool TryForCompilation<T>(this T? compilationElement, ICompilation compilation, out T? translated) where T : class, ICompilationElementParameters
| Type | Name | Description |
|---|---|---|
| T | compilationElement | |
| ICompilation | compilation | |
| T | translated |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |