Age | Commit message (Collapse) | Author |
|
* FieldRock.cs: Check if a field's type is generated code (CSC
does that) and report this correctly (fix some false positive
on CSC compiled code, e.g. for WriteStaticFieldFromInstanceMethodRule)
svn path=/trunk/mono-tools/; revision=158554
|
|
2010-06-05 Sebastien Pouliot <sebastien@ximian.com>
* CloneMethodShouldNotReturnNullTest.cs:
* PreferEmptyInstanceOverNullTest.cs:
* ToStringReturnsNullTest.cs:
Add test cases where an immediate if is used. xMCS use
a ldnull+branch while CSC branch then load null
In .:
2010-06-05 Sebastien Pouliot <sebastien@ximian.com>
* ReturnNullRule.cs: Fix case where an immediate if (?:) would
not be reported
svn path=/trunk/mono-tools/; revision=158552
|
|
* self-test.ignore: Ignore AvoidSmallNamespaceRule on Gendarme.
Framework.Engines namespace
svn path=/trunk/mono-tools/; revision=158539
|
|
* IgnoreFileList.cs: Add 'N' tag to ignore defects on namespaces
svn path=/trunk/mono-tools/; revision=158538
|
|
* BasicIgnoreList.cs: Add a faster path (without multiple casting)
for IsIgnored, falling back to existing (slow) code path if needed.
Add support to ignore defects based on namespaces
* Runner.cs: Remove tearing_down field and its FIXME
svn path=/trunk/mono-tools/; revision=158537
|
|
* Namespace.cs: API update completed - make ctor private so we
can be sure NamespaceDefinition are unique
svn path=/trunk/mono-tools/; revision=158536
|
|
* CecilRock.cs: Add a faster path (without multiple casting) for
GetAssembly, fallback to existing (slow) code path if needed.
Support all IMetadataTokenProvider types. Make Equals namespace
aware and better deal with null assemblies.
svn path=/trunk/mono-tools/; revision=158535
|
|
* AvoidDeepNamespaceHierarchyRule.cs:
* DetectNonAlphaNumericsInTypeNamesRule.cs:
* UseCorrectCasingRule.cs:
* UsePreferredTermsRule.cs:
Use a unique NamespaceDefinition (not a new one each time)
when reporting a defect on a namespace
svn path=/trunk/mono-tools/; revision=158534
|
|
* AvoidSmallNamespaceRule.cs: Use a unique NamespaceDefinition (not
a new one each time) when reporting a defect
svn path=/trunk/mono-tools/; revision=158533
|
|
* Namespace.cs: Ensure namespace definition are unique and provide
a usable, if not perfect, MetadataToken.
svn path=/trunk/mono-tools/; revision=158532
|
|
* AvoidUncalledPrivateCodeTest.cs: Flush uncommitted tests
svn path=/trunk/mono-tools/; revision=158531
|
|
* self-test.ignore: Add more precise entries to avoid hiding
defects that could/should be fixed.
svn path=/trunk/mono-tools/; revision=158519
|
|
svn path=/trunk/mono-tools/; revision=158517
|
|
svn path=/trunk/mono-tools/; revision=158516
|
|
* AvoidCodeDuplicatedInSiblingClassesRule.cs:
* AvoidLargeClassesRule.cs:
* AvoidLongParameterListsRule.cs:
* CodeDuplicatedLocator.cs:
Apply AvoidUnnecessarySpecializationRule
* Pattern.cs:
Apply ConsiderConvertingMethodToPropertyRule
svn path=/trunk/mono-tools/; revision=158515
|
|
* DoNotReduceTypeSecurityOnMethodsRule.cs:
* DoNotExposeMethodsProtectedByLinkDemandRule.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158514
|
|
* MonoCompatibilityReviewRule.cs: Rename GetLastestLocalDefinition
to FindLastestLocalVersion (apply ConsiderConvertingMethodToPropertyRule)
svn path=/trunk/mono-tools/; revision=158513
|
|
* AvoidConcatenatingCharsRule.cs:
* AvoidRepetitiveCallsToPropertiesRule.cs:
* PreferCharOverloadRule.cs:
* ReviewLinqMethodRule.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158512
|
|
* AvoidRedundancyInMethodNameRule.cs: Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158511
|
|
* RemoveDependenceOnObsoleteCodeRule.cs: Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158510
|
|
* CentralizePInvokesIntoNativeMethodsTypeRule.cs:
* DelegatesPassedToNativeCodeMustIncludeExceptionHandlingRule.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158509
|
|
* DoNotDestroyStackTraceRule.cs:
* InstantiateArgumentExceptionCorrectlyRule.cs:
* MissingExceptionConstructorsRule.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158508
|
|
* AvoidMethodWithUnusedGenericTypeRule.cs: Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158507
|
|
* AvoidMethodsWithSideEffectsInConditionalCodeRule.cs:
* EnsureLocalDisposalRule.cs:
* ReviewInconsistentIdentityRule.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158506
|
|
* DecorateThreadsRule.cs:
* DontUseLockedRegionOutsideMethodRule.cs:
* ProtectCallToEventDelegatesRule.cs:
* ThreadRocks.cs:
Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158505
|
|
* PreferEmptyInstanceOverNullRule.cs: Keep state around since it
can be needed if we report a defect. Rename GetReturnTypeSuggestion
to SuggestReturnType (apply ConsiderConvertingMethodToPropertyRule)
svn path=/trunk/mono-tools/; revision=158504
|
|
* SuppressMessageEngine.cs: Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158503
|
|
* IgnoreFileList.cs: Apply AvoidUnnecessarySpecializationRule
svn path=/trunk/mono-tools/; revision=158502
|
|
* MainWindow.cs: don't crash when comparison failed.
svn path=/trunk/mono-tools/; revision=158494
|
|
svn path=/trunk/mono-tools/; revision=158111
|
|
* Makefile.am: Add define for CODE_ANALYSIS on unit tests (required
for [SuppressMessage] to be present) and add GlobalSuppressions.cs
to the build
svn path=/trunk/mono-tools/; revision=157815
|
|
* GlobalSuppressions.cs:
* MarkAssemblyWithAssemblyVersionTest.cs:
* MarkAssemblyWithCLSCompliantTest.cs:
* MarkAssemblyWithComVisibleTest.cs:
Add FxCop compatibility unit tests
svn path=/trunk/mono-tools/; revision=157814
|
|
* AvoidUnusedParametersRule.cs: Documented (MSDN) as a Performance
rule but it's actually in the Usage category (e.g. when suppressing
a defect) and we need to be compatible with the later.
* Makefile.am: Add define for CODE_ANALYSIS on unit tests (required
for [SuppressMessage] to be present) and add GlobalSuppressions.cs
to the build
svn path=/trunk/mono-tools/; revision=157813
|
|
* AvoidUnsealedConcreteAttributesTest.cs:
* AvoidUnusedParametersTest.cs:
* GlobalSuppressions.cs:
Add FxCop compatibility unit tests
svn path=/trunk/mono-tools/; revision=157812
|
|
* SuppressMessageEngine.cs: Add partial support for Target= where
FxCop use a different syntax from Cecil
svn path=/trunk/mono-tools/; revision=157811
|
|
* ReviewLockUsedOnlyForOperationsOnVariablesRule.cs: Fix last unit
test failure when compiled with VS2008 where CSC added some NOP
instructions.
svn path=/trunk/mono-tools/; revision=157782
|
|
svn path=/trunk/mono-tools/; revision=157781
|
|
svn path=/trunk/mono-tools/; revision=157780
|
|
svn path=/trunk/mono-tools/; revision=157779
|
|
svn path=/trunk/mono-tools/; revision=157778
|
|
svn path=/trunk/mono-tools/; revision=157777
|
|
* Makefile.am: Add new engine and tests to the build
svn path=/trunk/mono-tools/; revision=157776
|
|
2010-05-23 Sebastien Pouliot <sebastien@ximian.com>
* SuppressMessageAttributeTest.cs: New. Unit tests using
[SuppressMessage] attributes
In .:
2010-05-23 Sebastien Pouliot <sebastien@ximian.com>
* GlobalSuppressions.cs: New. FxCop-style global suppressions for
testing
svn path=/trunk/mono-tools/; revision=157775
|
|
* SuppressMessageEngine.cs: New. Engine to read [SuppressMessage]
attributes and create ignore entries from them.
svn path=/trunk/mono-tools/; revision=157774
|
|
* EngineController.cs: Handle custom attributes on every
IMetadataTokenProvider
* Runner.cs: Give a reference of the runner to the engine
controller
svn path=/trunk/mono-tools/; revision=157773
|
|
svn path=/trunk/mono-tools/; revision=157407
|
|
* DeserializeOptionalFieldRule.cs: Apply AvoidRepetitiveCallsTo
PropertiesRule.
* MarkAllNonSerializableFieldsRule.cs: Fix typo
svn path=/trunk/mono-tools/; revision=157401
|
|
* AvoidUnnecessarySpecializationRule.cs: Apply AvoidRepetitive
CallsToPropertiesRule. Remove condition check that can never
occur at this stage since it is checked earlier by the rule.
svn path=/trunk/mono-tools/; revision=157400
|
|
* AvoidDeclaringCustomDelegatesRule.cs:
* DoNotExposeNestedGenericSignaturesRule.cs:
* UseGenericEventHandlerRule.cs:
Apply AvoidRepetitiveCallsToPropertiesRule
svn path=/trunk/mono-tools/; revision=157399
|
|
* AssemblyRocks.cs:
* CecilRocks.cs:
* CommonRocks.cs:
* CustomAttributeRocks.cs:
* FieldRocks.cs:
* InstructionRocks.cs:
* MethodRocks.cs:
* ModuleRocks.cs:
* TypeRocks.cs:
* VariableDefinitionRocks.cs:
Apply fix for CheckParametersNullityInVisibleMethodsRule
svn path=/trunk/mono-tools/; revision=157398
|