Microsoft.Azure.Commands.Sql.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:\sdk\powershell\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Sql\Microsoft.Azure.Commands.Sql.dll"> <Modules> <Module Name="microsoft.azure.commands.sql.dll"> <Namespaces> <Namespace Name="Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Services"> <Types> <Type Name="AzureSqlServerActiveDirectoryAdministratorAdapter" Kind="Class" Accessibility="Public" ExternallyVisible="True"> <Members> <Member Name="#ActiveDirectoryClient" Kind="Property" Static="False" Accessibility="Public" ExternallyVisible="True"> <Accessors> <Accessor Name="#get_ActiveDirectoryClient()" Kind="Method" Static="False" Accessibility="Public" ExternallyVisible="True"> <Messages> <Message TypeName="DoNotRaiseExceptionsInUnexpectedLocations" Category="Microsoft.Design" CheckId="CA1065" Status="Active" Created="2015-09-24 22:05:37Z" FixCategory="Breaking"> <Issue Name="PropertyGetter" Certainty="90" Level="Warning" Path="d:\sdk\powershell\azure-powershell\src\ResourceManager\Sql\Commands.Sql\ServerActiveDirectoryAdministrator\Services" File="AzureSqlServerActiveDirectoryAdministratorAdapter.cs" Line="70">'AzureSqlServerActiveDirectoryAdministratorAdapter.ActiveDirectoryClient.get()' creates an exception of type 'ArgumentException', an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception.</Issue> </Message> </Messages> </Accessor> </Accessors> </Member> </Members> </Type> </Types> </Namespace> </Namespaces> </Module> </Modules> </Target> </Targets> <Rules> <Rule TypeName="DoNotRaiseExceptionsInUnexpectedLocations" Category="Microsoft.Design" CheckId="CA1065"> <Name>Do not raise exceptions in unexpected locations</Name> <Description>Do not explicitly raise exceptions from unexpected locations. There are some methods, such as Equals and GetHashCode, which users do not expect to raise exceptions. Therefore calls to these methods are not commonly wrapped in try catch blocks.</Description> <Resolution Name="PropertyGetter">{0} creates an exception of type {1}, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception.</Resolution> <Owner /> <Url>http://msdn.microsoft.com/library/bb386039.aspx</Url> <Email>[none]</Email> <MessageLevel Certainty="90">Error, Warning</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> |