MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeReference­Resolution­Options
Open sandboxFocus

ReferenceResolutionOptions Class

Options that determine how GetTarget(ICompilation, ReferenceResolutionOptions) and related methods work.

Inheritance
System.Object
ReferenceResolutionOptions
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class ReferenceResolutionOptions : Enum

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.

value__