public SyntaxTriviaList GetBaseMemberTrivia() { if (!_lazyBaseMemberTrivia.HasValue) { if (!SupportsPullingThroughDoc()) { return(new SyntaxTriviaList()); } var summaryDoc = GetBaseSummaryDocSymbol(); if (summaryDoc == null) { return(new SyntaxTriviaList()); } SyntaxTriviaProvider prov = GetTriviaProviderForSymbol(summaryDoc); _lazyBaseMemberTrivia = prov.GetSyntaxTrivia(); } return(_lazyBaseMemberTrivia.Value); }
private SyntaxTriviaList GetTargetMemberTrivia() { return(_targetMemberTriviaProvider.GetSyntaxTrivia()); }