Options that determine how GetTarget(ICompilation, ReferenceResolutionOptions) and related methods work.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[Flags]
[CompileTime]
public enum ReferenceResolutionOptions
Fields
Name | Description |
---|---|
CanBeMissing | Returns a representation of the declaration even if the declaration does not exist in that compilation. |
Default | An exception is thrown when the declaration does not exist in the target compilation. Redirections are followed. |
DoNotFollowRedirections | Do not follow redirections. |