다음을 통해 공유


CompilationUnitSyntax.GetReferenceDirectives Method

Definition

Returns #r directives specified in the compilation.

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

Returns

Applies to