Microsoft.Azure.Commands.AzureBackup.dll.CodeAnalysisLog.xml
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="c:\program files (x86)\microsoft visual studio 12.0\team tools\static analysis tools\fxcop\Xml\CodeAnalysisReport.xsl"?> <FxCopReport Version="12.0"> <Targets> <Target Name="D:\Code\GitHub\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Backup\Microsoft.Azure.Commands.AzureBackup.dll"> <Modules> <Module Name="microsoft.azure.commands.azurebackup.dll"> <Namespaces> <Namespace Name="Microsoft.Azure.Commands.AzureBackup.ClientAdapter"> <Types> <Type Name="AzureBackupClientAdapter" Kind="Class" Accessibility="Public" ExternallyVisible="True"> <Messages> <Message TypeName="TypesThatOwnDisposableFieldsShouldBeDisposable" Category="Microsoft.Design" CheckId="CA1001" Status="Active" Created="2015-09-22 21:56:09Z" FixCategory="DependsOnFix"> <Issue Name="DependsOnFix" Certainty="95" Level="CriticalError">Implement IDisposable on 'AzureBackupClientAdapter' because it creates members of the following IDisposable types: 'CancellationTokenSource'. If 'AzureBackupClientAdapter' has previously shipped, adding new members that implement IDisposable to this type is considered a breaking change to existing consumers.</Issue> </Message> </Messages> </Type> </Types> </Namespace> <Namespace Name="Microsoft.Azure.Commands.AzureBackup.Cmdlets"> <Types> <Type Name="GetAzureRMBackupVaultCredentials" Kind="Class" Accessibility="Public" ExternallyVisible="True"> <Members> <Member Name="#GenerateVaultCreds(System.Security.Cryptography.X509Certificates.X509Certificate2,System.String,System.String,Microsoft.Azure.Commands.AzureBackup.Models.AcsNamespace)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> <Messages> <Message TypeName="RethrowToPreserveStackDetails" Category="Microsoft.Usage" CheckId="CA2200" Status="Active" Created="2015-09-22 21:56:09Z" FixCategory="NonBreaking"> <Issue Certainty="95" Level="Error" Path="d:\Code\GitHub\azure-powershell\src\ResourceManager\AzureBackup\Commands.AzureBackup\Cmdlets\VaultCredentials" File="GetAzureRMBackupVaultCredentials.cs" Line="154">'GetAzureRMBackupVaultCredentials.GenerateVaultCreds(X509Certificate2, string, string, AcsNamespace)' rethrows a caught exception and specifies it explicitly as an argument. Use 'throw' without an argument instead, in order to preserve the stack location where the exception was initially raised.</Issue> </Message> </Messages> </Member> <Member Name="#GenerateVaultCredsForBackup(System.Security.Cryptography.X509Certificates.X509Certificate2,System.String,System.String,Microsoft.Azure.Commands.AzureBackup.Models.AcsNamespace)" Kind="Method" Static="False" Accessibility="Private" ExternallyVisible="False"> <Messages> <Message TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202" Status="Active" Created="2015-09-22 21:56:09Z" FixCategory="DependsOnFix"> <Issue Certainty="75" Level="Warning" Path="d:\Code\GitHub\azure-powershell\src\ResourceManager\AzureBackup\Commands.AzureBackup\Cmdlets\VaultCredentials" File="GetAzureRMBackupVaultCredentials.cs" Line="187">Object 'output' can be disposed more than once in method 'GetAzureRMBackupVaultCredentials.GenerateVaultCredsForBackup(X509Certificate2, string, string, AcsNamespace)'. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 187</Issue> </Message> </Messages> </Member> <Member Name="#ProcessRecord()" Kind="Method" Static="False" Accessibility="Family" ExternallyVisible="True"> <Messages> <Message TypeName="RethrowToPreserveStackDetails" Category="Microsoft.Usage" CheckId="CA2200" Status="Active" Created="2015-09-22 21:56:09Z" FixCategory="NonBreaking"> <Issue Certainty="95" Level="Error" Path="d:\Code\GitHub\azure-powershell\src\ResourceManager\AzureBackup\Commands.AzureBackup\Cmdlets\VaultCredentials" File="GetAzureRMBackupVaultCredentials.cs" Line="76">'GetAzureRMBackupVaultCredentials.ProcessRecord()' rethrows a caught exception and specifies it explicitly as an argument. Use 'throw' without an argument instead, in order to preserve the stack location where the exception was initially raised.</Issue> </Message> </Messages> </Member> </Members> </Type> </Types> </Namespace> </Namespaces> </Module> </Modules> </Target> </Targets> <Rules> <Rule TypeName="Do not dispose objects multiple times" Category="Microsoft.Usage" CheckId="CA2202"> <Name>Do not dispose objects multiple times</Name> <Description>A correctly implemented Dispose method can be called multiple times without throwing an exception. However, this is not guaranteed and to avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.</Description> <Resolution Name="Default">Object {0} can be disposed more than once in method {1}. To avoid generating a System.ObjectDisposedException you should not call Dispose more than one time on an object.: Lines: 187</Resolution> <Owner>RuleOwner</Owner> <Url>http://msdn.microsoft.com/library/ms182334.aspx</Url> <Email /> <MessageLevel Certainty="75">Warning</MessageLevel> <File Name="dataflowrules.dll" Version="12.0.0.0" /> </Rule> <Rule TypeName="RethrowToPreserveStackDetails" Category="Microsoft.Usage" CheckId="CA2200"> <Name>Rethrow to preserve stack details</Name> <Description>Use the IL rethrow instruction to preserve original stack details when re-raising a caught exception.</Description> <Resolution Name="Default">{0} rethrows a caught exception and specifies it explicitly as an argument. Use 'throw' without an argument instead, in order to preserve the stack location where the exception was initially raised.</Resolution> <Owner /> <Url>http://msdn.microsoft.com/library/ms182363.aspx</Url> <Email>[none]</Email> <MessageLevel Certainty="95">Error</MessageLevel> <File Name="usagerules.dll" Version="12.0.0.0" /> </Rule> <Rule TypeName="TypesThatOwnDisposableFieldsShouldBeDisposable" Category="Microsoft.Design" CheckId="CA1001"> <Name>Types that own disposable fields should be disposable</Name> <Description>Types that declare disposable members should also implement IDisposable. If the type does not own any unmanaged resources, do not implement a finalizer on it.</Description> <Resolution Name="DependsOnFix">Implement IDisposable on {0} because it creates members of the following IDisposable types: {1}. If {0} has previously shipped, adding new members that implement IDisposable to this type is considered a breaking change to existing consumers.</Resolution> <Owner /> <Url>http://msdn.microsoft.com/library/ms182172.aspx</Url> <Email>[none]</Email> <MessageLevel Certainty="95">CriticalError</MessageLevel> <File Name="designrules.dll" Version="12.0.0.0" /> </Rule> </Rules> <Localized> <String Key="Category">Category</String> <String Key="Certainty">Certainty</String> <String Key="CollapseAll">Collapse All</String> <String Key="CheckId">Check Id</String> <String Key="Error">Error</String> <String Key="Errors">error(s)</String> <String Key="ExpandAll">Expand All</String> <String Key="Help">Help</String> <String Key="Line">Line</String> <String Key="Messages">message(s)</String> <String Key="LocationNotStoredInPdb">[Location not stored in Pdb]</String> <String Key="Project">Project</String> <String Key="Resolution">Resolution</String> <String Key="Rule">Rule</String> <String Key="RuleFile">Rule File</String> <String Key="RuleDescription">Rule Description</String> <String Key="Source">Source</String> <String Key="Status">Status</String> <String Key="Target">Target</String> <String Key="Warning">Warning</String> <String Key="Warnings">warning(s)</String> <String Key="ReportTitle">Code Analysis Report</String> </Localized> </FxCopReport> |