コード例 #1
0
 private SignatureHelpParameter Convert(
     ITypeParameterSymbol parameter,
     SemanticModel semanticModel,
     int position,
     IDocumentationCommentFormattingService formatter,
     CancellationToken cancellationToken)
 {
     return(new SignatureHelpParameter(
                parameter.Name,
                isOptional: false,
                documentation: parameter.GetDocumentationParts(semanticModel, position, formatter, cancellationToken),
                displayParts: parameter.ToMinimalDisplayParts(semanticModel, position, s_minimallyQualifiedFormat),
                selectedDisplayParts: GetSelectedDisplayParts(parameter, semanticModel, position, cancellationToken)));
 }