示例#1
0
        /// <inheritdoc />
        public override void VisitTypeParameterDeclaration(ITypeParameterDeclaration node)
        {
            // Type parameters are locals
            RegisterLocalSymbolDefinition(node, m_codex.TypeParameterName);

            base.VisitTypeParameterDeclaration(node);
        }
 /// <summary>
 /// Creates new documentation for the ITypeParameterDeclaration.
 /// </summary>
 /// <param name="declaration">
 /// The declaration to create the docs for.
 /// </param>
 /// <returns>
 /// A string of the type parameters docs.
 /// </returns>
 public static string CreateDocumentationForTypeParameterDeclaration(ITypeParameterDeclaration declaration)
 {
     return "<typeparam name=\"" + declaration.DeclaredName + "\"></typeparam>";
 }