From: Owen R. <exo...@us...> - 2004-11-15 05:13:18
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Rules/Groups In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Rules/Groups Added Files: BreakingChange.xml Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: BreakingChange.xml --- <?xml version="1.0" encoding="utf-8"?> <Groups> <Group Name="Breaking Changes"> <Categories> <Category Name="Non Breaking"> <Rules> <Rule Name="PassSystemUriObjectsInsteadOfStrings"/> <Rule Name="DoNotConcatenateStringsInsideLoops"/> <Rule Name="WrapVulnerableFinallyClausesInOuterTry"/> <Rule Name="MutableReferenceTypesShouldNotBeReadOnly"/> <Rule Name="ConsiderCallingDataMembersDisposeMethod"/> <Rule Name="WindowsFormsApplicationsAreMarkedStaThread"/> <Rule Name="ResourceFilesAreBuiltUsingReleaseVersions"/> <Rule Name="OperatorEqualsOverridesRequireEqualsOverride"/> <Rule Name="PInvokeOnlyValidEntryPoints"/> <Rule Name="ValueTypesWithRvaFieldsDoNotHaveNonPublicFields"/> <Rule Name="FinalizeMethodsCallBaseClassFinalize"/> <Rule Name="DisposeMethodsRequireFinalizeMethod"/> <Rule Name="OperatorOverloadsHaveNamedAlternativeMethods"/> <Rule Name="ExceptionsShouldNotBeThrownFromFilterBlocks"/> <Rule Name="ConstructorsShouldNotCallBaseClassVirtualMethods"/> <Rule Name="OperatorsHaveSymmetricalOverloads"/> <Rule Name="DisposeMethodsCallBaseClassDispose"/> <Rule Name="EnumerationsShouldNotBeFlagsAttributed"/> <Rule Name="ExceptionsAreMarkedSerializable"/> <Rule Name="ValueTypesEqualsOverridesRequireOperatorEqualsOverride"/> <Rule Name="InheritedPublicMembersDoNotChangeToPrivate"/> <Rule Name="CreateDomainIsNotCalledWithNullParameters"/> <Rule Name="AssembliesHaveValidStrongNames"/> <Rule Name="SerializableTypesShouldHaveMagicConstructor"/> <Rule Name="EqualsOverridesRequireGetHashCodeOverride"/> <Rule Name="IComparableImplementationsOverrideOperators"/> <Rule Name="EnumerationsShouldBeFlagsAttributed"/> <Rule Name="AttributesShouldHaveAccessorsForAllArguments"/> <Rule Name="EventsShouldBeUsed"/> <Rule Name="SealedTypesDoNotDeclareProtectedMembers"/> <Rule Name="ISerializableTypesAreMarkedSerializable"/> <Rule Name="AssembliesShouldBeComVisibleAttributed"/> <Rule Name="AssembliesHaveVersionNumbers"/> <Rule Name="AddAndSubtractOverrideShouldHaveOperatorEqualsOverride"/> <Rule Name="ObsoleteAttributeOnMemberShouldProvideMessage"/> <Rule Name="ExceptionsRequireMultipleConstructors"/> <Rule Name="AssembliesHaveStrongNames"/> <Rule Name="IComparableImplementationsOverrideEquals"/> <Rule Name="ObsoleteAttributeOnTypeShouldProvideMessage"/> <Rule Name="AvoidMarkingMembersObsolete"/> <Rule Name="AvoidMarkingTypesObsolete"/> <Rule Name="ExceptionAndSystemExceptionTypesAreNotCaught"/> <Rule Name="AbstractTypesShouldNotHaveConstructors"/> <Rule Name="ConsiderReplacingRepetitiveArgsWithParameterArray"/> <Rule Name="AssembliesAreMarkedClsCompliant"/> <Rule Name="TypesAllocatingUnmanagedResourcesImplementIDisposable"/> <Rule Name="PropertiesShouldNotBeWriteOnly"/> <Rule Name="UnsecuredMembersDoNotCallMembersProtectedByLinkDemands"/> <Rule Name="MethodsInTypesWithIntPtrFieldAndFinalizeMethodRequireGCKeepAlive"/> <Rule Name="ArrayFieldsShouldNotBeReadOnly"/> <Rule Name="PartiallyTrustedMethodsCallPartiallyTrustedMethodsOnly"/> <Rule Name="ResourceStringsShouldBeSpelledCorrectly"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfAssemblies"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfTypesForExternalRelease"/> <Rule Name="PInvokeMightHaveUnicodeToAnsiConversionIssues"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfTypesForExternalReleaseLowPriority"/> <Rule Name="DisposeMethodsCallSuppressFinalize"/> <Rule Name="AvoidBuildingUninstantiatedInternalClasses"/> <Rule Name="ConsiderOverridingEqualsAndOperatorEqualsOnValueTypes"/> <Rule Name="TestForEmptyStringsUsingStringLength"/> <Rule Name="AvoidBuildingNonCallableCode"/> <Rule Name="ComRegisterFunctionShouldHaveMatchingComUnregisterFunction"/> <Rule Name="AvoidStaticMembersForComVisibility"/> <Rule Name="ComCreatableTypesShouldHavePublicDefaultConstructor"/> <Rule Name="ReviewBCLGetHashCodeUsage"/> <Rule Name="PlaceCleanupCodeInCatchOrFinallyBlock"/> <Rule Name="IFormatProviderShouldBePassed"/> <Rule Name="CultureInfoShouldBePassed"/> <Rule Name="LocaleShouldBeSetForDataTypes"/> <Rule Name="StructuresDoNotContainNonPortableFields"/> <Rule Name="AvoidExcessiveComplexity"/> <Rule Name="AvoidExcessiveLocals"/> <Rule Name="CallArgumentExceptionWithCorrectArguments"/> <Rule Name="PlaceCleanupCodeInFinallyBlock"/> <Rule Name="ControlsDoNotHaveDuplicateAccelerators"/> <Rule Name="ControlsAreLocalizable"/> <Rule Name="DoNotCallPropertiesThatCloneValuesInsideLoops"/> <Rule Name="DoNotUseStringConcatInsideLoops"/> <Rule Name="DoNotDeclareExplicitStaticConstructors"/> <Rule Name="ValueTypesWithStaticConstructorsAreMarkedBeforeFieldInit"/> <Rule Name="DoNotHardCodeLocaleSpecificStrings"/> <Rule Name="DoNotPassLiteralsAsLocalizedParameters"/> <Rule Name="DoNotUseFCallVirtualMethods"/> <Rule Name="DoNotLockOnObjectsWithWeakIdentity"/> <Rule Name="ExplicitMethodImplementationsInUnsealedClassesHaveVisibleAlternates"/> <Rule Name="OperationsDoNotOverflowDataTypeCapacity"/> <Rule Name="ProvideMessageBoxOptions"/> <Rule Name="DoNotTreatFibersAsThreads"/> </Rules> </Category> <Category Name="Breaking"> <Rules> <Rule Name="ValueTypeNonPublicFieldsAreVisibleFromCom"/> <Rule Name="ComClassInterfaceTypeAutoDualShouldNotBeUsed"/> <Rule Name="ComRegistrationFunctionsShouldBePrivateOrInternal"/> <Rule Name="ComSourceInterfacesAreMarkedIDispatch"/> <Rule Name="AvoidLongArgsForVB6Visibility"/> <Rule Name="AvoidOutParameters"/> <Rule Name="EventFirstParametersAreTypeObject"/> <Rule Name="ConsiderReplacingMethodsWithProperties"/> <Rule Name="ICollectionImplementationsHaveStronglyTypedMembers"/> <Rule Name="EnumerationsShouldBeInt32"/> <Rule Name="PointersAndMultiDimensionalArraysAreNotPassedAsParameters"/> <Rule Name="EventSecondParametersAreEventArgsType"/> <Rule Name="IEnumeratorImplementationsHaveStronglyTypedMembers"/> <Rule Name="ReferenceTypesShouldNotOverrideOperatorEquals"/> <Rule Name="DefaultParametersAreNotUsed"/> <Rule Name="ReferenceTypesAreNotPassedAsByRefParameters"/> <Rule Name="TypesDoNotHavePublicInstanceFields"/> <Rule Name="IListImplementationsHaveStronglyTypedMembers"/> <Rule Name="SealedTypesDoNotDeclareVirtualMembers"/> <Rule Name="AvoidNamespacesWithFewMembers"/> <Rule Name="AvoidValueTypesPassedAsByRefParameters"/> <Rule Name="TypesBelongToNamespaces"/> <Rule Name="EventHandlersReturnVoid"/> <Rule Name="OnlyIntegralValuesOrStringsShouldBeUsedForIndexers"/> <Rule Name="TypesHavingOnlyStaticMembersShouldBeSealed"/> <Rule Name="ExternallyVisibleNestedTypesShouldNotBeUsed"/> <Rule Name="EventsHaveTwoParameters"/> <Rule Name="TypesHavingOnlyStaticMembersShouldNotHaveConstructors"/> <Rule Name="EnumerationsShouldBeIntegralType"/> <Rule Name="AttributesAreAttributeUsageAttributed"/> <Rule Name="AvoidDefaultConstructorForStructures"/> <Rule Name="InterfacesShouldNotBeEmpty"/> <Rule Name="ConsiderHavingOnlyOneDimensionForIndexer"/> <Rule Name="ConsiderMovingDllImportsToNativeMethodsClass"/> <Rule Name="DllImportsDoNotHavePublicAccessLevel"/> <Rule Name="SystemAndMicrosoftNamespacesRequireApproval"/> <Rule Name="InternalNamespacesDoNotExposePublicApi"/> <Rule Name="NamespaceRootsAreMicrosoftOrSystem"/> <Rule Name="TypesWithLinkDemandsRequireInheritanceDemands"/> <Rule Name="EventHandlersShouldNotBeExternallyVisible"/> <Rule Name="ImperativeDemandsRequireReview"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInFields"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInMethods"/> <Rule Name="AvoidUnsealedAttributes"/> <Rule Name="PropertiesShouldNotReturnArrays"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInProperties"/> <Rule Name="UseSafeHandleToEncapsulateOSResources"/> <Rule Name="RemoveCallsToGCKeepAlive"/> <Rule Name="SerializationMagicConstructorsRequireSecurityCheck"/> <Rule Name="DemandsOnValueTypesDoNotPreventInstantiation"/> <Rule Name="LinkDemandsOnTypesDoNotPreventAccessToTypeFields"/> <Rule Name="ConsiderPermitOnlyOrDenySecurityReview"/> <Rule Name="UnsealedPublicTypesDoNotHaveInternalVirtualMembers"/> <Rule Name="VirtualMethodsAndOverridesRequireSameLinkDemands"/> <Rule Name="PartiallyTrustedTypesExtendPartiallyTrustedTypesOnly"/> <Rule Name="MembersThatCallLateBoundMembersRequireDeclarativeSecurity"/> <Rule Name="AssertRequiresDemand"/> <Rule Name="TypesDoNotSuppressUnmanagedCodeSecurity"/> <Rule Name="IntPtrFieldsHavePrivateAccessLevel"/> <Rule Name="EventHandlersRequireSecurity"/> <Rule Name="StaticConstructorsHavePrivateAccessLevel"/> <Rule Name="TypesAreNotPublicPInvokeMethodsAndSuppressUnmanagedCodeSecurityAttributed"/> <Rule Name="DemandsOnValueTypeConstructorsDoNotPreventInstantiation"/> <Rule Name="MembersDoNotSuppressUnmanagedCodeSecurity"/> <Rule Name="MethodLevelSecurityOverridesTypeLevelSecurity"/> <Rule Name="PInvokeMethodCallWithSuppressUnmanagedCodeSecurityAttributeRequiresSecurityCheck"/> <Rule Name="GetObjectDataIsSerializationFormatterSecurityPermissionAttributed"/> <Rule Name="PublicTypesImplementingNonPublicInterfacesShouldBeSealed"/> <Rule Name="AssembliesHavePermissionRequests"/> <Rule Name="AvoidNonConstantStaticFields"/> <Rule Name="ParameterNamesShouldBeSpelledCorrectly"/> <Rule Name="UseParamsForVariableArguments"/> <Rule Name="PropertiesReturningCollectionsShouldBeReadOnly"/> <Rule Name="MemberNamesShouldBeSpelledCorrectly"/> <Rule Name="AvoidWebMethodAttributedServicedComponentMembers"/> <Rule Name="MembersDifferByMoreThanReturnType"/> <Rule Name="TypeNamesShouldBeSpelledCorrectly"/> <Rule Name="FinalizeMethodsHaveProtectedAccessLevel"/> <Rule Name="NamespaceNamesShouldBeSpelledCorrectly"/> <Rule Name="TypeNamesArePascalCased"/> <Rule Name="CollectionNamesHaveCollectionSuffix"/> <Rule Name="OnlyFlagEnumerationsShouldHavePluralNames"/> <Rule Name="TypeNamesDoNotMatchNamespaceNames"/> <Rule Name="EventArgsNamesHaveEventArgsSuffix"/> <Rule Name="EventFirstParametersHaveNameSender"/> <Rule Name="ParameterNamesDoNotMatchMemberNames"/> <Rule Name="DelegateNamesDoNotHaveDelegateSuffix"/> <Rule Name="InterfaceNamesHaveIPrefix"/> <Rule Name="MemberNamesHaveShortAcronymsAllCaps"/> <Rule Name="NamespaceNamesHaveShortAcronymsAllCaps"/> <Rule Name="OnlyEventHandlerNamesHaveEventHandlerSuffix"/> <Rule Name="OnlyEventArgsNamesHaveEventArgsSuffix"/> <Rule Name="AttributeNamesHaveAttributeSuffix"/> <Rule Name="TypeNamesDoNotHaveCPrefix"/> <Rule Name="EventsDoNotHaveBeforeOrAfterPrefix"/> <Rule Name="ParameterNamesDoNotHaveUnderscores"/> <Rule Name="TypeNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="MemberNamesDifferByMoreThanCase"/> <Rule Name="ParameterNamesDoNotMatchKeywords"/> <Rule Name="OnlyStreamNamesHaveStreamSuffix"/> <Rule Name="ParameterNamesDoNotContainLanguageSpecificTypeNames"/> <Rule Name="MemberNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="OnlyDictionaryNamesHaveDictionarySuffix"/> <Rule Name="TypeNamesDifferByMoreThanCase"/> <Rule Name="OnlyExceptionNamesHaveExceptionSuffix"/> <Rule Name="TypesImplementingInterfacesDoNotHaveImplSuffix"/> <Rule Name="ParameterNamesDifferByMoreThanCase"/> <Rule Name="ParameterNamesAreCamelCased"/> <Rule Name="EventSecondParametersHaveNameE"/> <Rule Name="TypeNamesHaveShortAcronymsAllCaps"/> <Rule Name="ParameterNamesHaveShortAcronymsAllCaps"/> <Rule Name="MemberNamesArePascalCased"/> <Rule Name="EventHandlerNamesHaveEventHandlerSuffix"/> <Rule Name="ExceptionNamesHaveExceptionSuffix"/> <Rule Name="ParameterNamesShouldHaveCompleteWords"/> <Rule Name="MemberNamesDoNotHaveUnderscores"/> <Rule Name="OnlyAttributeNamesHaveAttributeSuffix"/> <Rule Name="OnlyPermissionNamesHavePermissionSuffix"/> <Rule Name="FlagEnumerationsShouldHavePluralNames"/> <Rule Name="NamespaceNamesDoNotHaveUnderscores"/> <Rule Name="NamespaceNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="OnlyCollectionNamesHaveCollectionSuffix"/> <Rule Name="PermissionNamesHavePermissionSuffix"/> <Rule Name="OnlyQueueNamesHaveQueueSuffix"/> <Rule Name="StreamNamesHaveStreamSuffix"/> <Rule Name="ParameterNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="TypeNamesDoNotHaveUnderscores"/> <Rule Name="NamespaceNamesDifferByMoreThanCase"/> <Rule Name="NamespaceNamesDoNotMatchKeywords"/> <Rule Name="NamespaceNamesArePascalCased"/> <Rule Name="OnlyStackNamesHaveStackSuffix"/> <Rule Name="TypeNamesDoNotMatchKeywords"/> <Rule Name="PropertyNamesShouldNotMatchGetMethodNames"/> <Rule Name="ParameterNamesShouldNotContainTypeNames"/> <Rule Name="DictionaryNamesHaveDictionarySuffix"/> <Rule Name="ConditionNamesHaveConditionSuffix"/> <Rule Name="EnumerationNamesDoNotHaveEnumSuffix"/> <Rule Name="ConsiderPassingBaseTypesAsParameters"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArray"/> <Rule Name="EnumValuesAreNotPrefixedWithTypeName"/> <Rule Name="AvoidExcessiveInheritance"/> <Rule Name="UriPropertiesShouldNotBeStrings"/> <Rule Name="UriParametersShouldNotBeStrings"/> <Rule Name="UriReturnValuesShouldNotBeStrings"/> </Rules> </Category> <Category Name="Unknown" Default="True" /> </Categories> </Group> </Groups> |