[1416 total ]
UseIsOperatorRule

On Mono-dev, Juraj Skripsky posted a patch to cleanup "as" casts.
(CC'ing him...)
[link]
One of the cleanup is this (there were 3 of them in Mono corlib):
- return value as EncoderExceptionFallback != null;
return (value is EncoderExceptionFallback);

Re: ProtectionTooPermissiveRule

Hello Vlad,
Yes. Currently no Gendarme runner support a concept of "assembly
group" (or solution), but this is something we discussed because it
affects some existing rules (like some smells). Without this concept
it's ... [More] hard to report something useful - at least for this test case...
Still some cases are valid without any "grouping" concept. For example [Less]

Re: PropertySetterNotNeededRule

Hello Vlad,
hmm... I'm not sure I totally understand ? by "possible" do you mean
"useful in a specific solution you work with" or something else ?
It could be helpful to supply test cases. For example what you ... [More]
consider a "good" behaviour ? a "bad" behaviour ?
We already have some rules that seems to do similar stuff so it would [Less]

PropertySetterNotNeededRule

Given public properties can be accessed from anywhere, this is another
difficult rule to consider. But I maintain that I work in a Solution
with definite scope constraints that should make this sort of rule
possible.
Thanks,
Vlad

ProtectionTooPermissiveRule

I would like to increase the protection wherever possible to private
if possible i.e. a rule that identifies all Methods, properties, even
variables and anything else applicable that are declared with too
generous a protection level.
I understand that for libraries that expose functionality, it is

Re: [gendarme] Re: Gendarme.Framework.Rocks

I got a preview patch :) Apply it and type make doc. This will
generate a new directory called doc, and then you could see the
documentation typing: monodoc --edit doc
With the patch we will regenerate completely the documentation ... [More] , not
updates it or anything else.
Yes, in this case, I also understand and share the reason for the [Less]

Re: Gendarme.Framework.Rocks

Hola Nestor!
That would be very nice :) and make it easier for people using
MonoDevelop to write/test rules.
Yes, this is probably the best way to do it - except JB will be
looking, with good reasons I admit, for symmetry ;-)
E.g. providing IsGetter without IsSetter would be "bad" (even if only

Re: [gendarme] Gendarme.Framework.Rocks

Hello Sebastien.
Yes, in this case IMHO the size matters. I have seen your new rules
(AvoidEmptyInterfaces, AvoidPropertiesWithoutGetAcces sor ...) and I like
the new code.
This could be linked with the monodoc task, and I have ... [More] seen you write
comments in the code with <summary> and <params> and other tags. Then I [Less]

Gendarme.Framework.Rocks

Hello everyone,
Following (but not totally blindly ;-) JB Evain, of Cecil-fame, newest
project Mono.Rocks [1] and some discussions at the last Mono summit,
Gendarme's first rocks are now in SVN (and some people, besides me ... [More] ,
already started using them!).
The main goals are to
* reduce code duplication: giving us smaller rules, which will be [Less]

Re: [gendarme] Re: RFC - changing I[Assembly|Module|Type|Method||]Rule interfaces

You have reason, I haven't thought in implement more than one
interface. Good catch!
Yes, really we haven't a need for changing the names.
Néstor.