CompilationUnitSyntax.GetReferenceDirectives Method

Definition

Returns #r directives specified in the compilation.

public:
 System::Collections::Generic::IList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ReferenceDirectiveTriviaSyntax ^> ^ GetReferenceDirectives();
public System.Collections.Generic.IList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ReferenceDirectiveTriviaSyntax> GetReferenceDirectives ();
member this.GetReferenceDirectives : unit -> System.Collections.Generic.IList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ReferenceDirectiveTriviaSyntax>
Public Function GetReferenceDirectives () As IList(Of ReferenceDirectiveTriviaSyntax)

Returns

Applies to