Browse by Tags
All Tags » rules
Showing page 1 of 4 (37 total posts)
-
GhostDoc ignores generic interfaces, while non-generic ones are mapped correctly.
The following code ilustrates the issue:
using System;using System.Collections.Generic;
using System.Linq;
using System.Text;
...
-
To define the type for the parameters and the return type, one has to write the full name of the type. It would be good to see System.Object in the combo list. But I needed to tell that a mehod returns nothing, that it's void, I did try System.Void (which would have been correct) and it didn't work, instead I have to leave it open to any ...
-
Hello,
I just downloaded the last released GhostDoc atm. and started writting some custom configuration (I had played with old versions, before it was adquired by submain). I decided to write a custom rule for all the methods and properties in one of my solutions in Visual Studio 2010... I thought it was a good way to test both my ...
-
I use custom attributes in summary tags. For example:
<summary acc="protected" type="System.String">
I use the attributes in an XSLT I created for generating HTML documentation. It would be really nice if we could add User-defined rules that can add attributes to these tags.
thanks!
-
Hi,
I have just started using GhostDoc and must say that it is fantastic. Congratulations on such a simple but very useful tool.
The main benefit that I am getting from it at the moment is the ability to automatically produce xml comments for inherited members. I like to document my code as much as possible but found that I was neglecting ...
-
First error message on intial setup of Ghost Doc:
---------------------------
GhostDoc
---------------------------
The configuration file cannot be saved:
There was an error generating the XML document.
---------------------------
Abort Retry Ignore
---------------------------
Sedond ...
-
Hi
I have enabled logging.
I get the following error in Event Viewer:
Event Type: Error
Event Source: DocProject
Event Category: None
Event ID: 0
Date: 6/7/2010
Time: 12:55:09 PM
User: ...
-
Hi
I have the same problem, I was kind of hoping to find a solution on the forum, but all I can see is your post.
Did you resolve the problem at all?
I am running:
- Windows XP Professional SP3
- Visual Studio 2008 version 9.0.30729.1 SP
- Microsoft .Net Framework version 3.5 SP 1
- GhostDoc ...
-
Here is the Check method for the custom rule that should get you started:
public override bool Check(IElementInfo element)
{
IMethodInfo methodInfo = element as IMethodInfo;
if (methodInfo != null)
{
IMethod method = CodeElementFactory.GetMethod(methodInfo);
if (method != null)
{
ExpressionCollection ...
-
Hi,
I'm doing an Enum.ToString() invocation and CIR analysis reports that I should use Enum.ToString(IFormatProvider).
The problem is that Enum.ToString(IFormatProvider) and Enum.ToString(format, IFormatProvider) are decored with Obsolete attribute and should not be used.
I thing that all Obsolete methods shouldn't be electable for this ...
1
|
|