Skip to content

Commit f84128b

Browse files
author
Lei Jin
committed
Fix the issues in release-2019-10-15 branch for release
1. Suppress the static analysis error of InvokeAzureDataFactoryDataFlowDebugSessionOperationCommand 2. Add AssemblyInfo.cs for SqlVirtualMachine
1 parent 6f704a9 commit f84128b

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System.Reflection;
16+
using System.Runtime.InteropServices;
17+
18+
// General Information about an assembly is controlled through the following
19+
// set of attributes. Change these attribute values to modify the information
20+
// associated with an assembly.
21+
[assembly: AssemblyTitle("Microsoft.Azure.Commands.SqlVirtualMachine")]
22+
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
23+
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
24+
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
25+
26+
// Setting ComVisible to false makes the types in this assembly not visible
27+
// to COM components. If you need to access a type in this assembly from
28+
// COM, set the ComVisible attribute to true on that type.
29+
[assembly: ComVisible(false)]
30+
31+
32+
33+
34+
// Version information for an assembly consists of the following four values:
35+
//
36+
// Major Version
37+
// Minor Version
38+
// Build Number
39+
// Revision
40+
//
41+
// You can specify all the values or you can default the Build and Revision Numbers
42+
// by using the '*' as shown below:
43+
44+
[assembly: AssemblyVersion("0.1.0")]
45+
[assembly: AssemblyFileVersion("0.1.0")]

tools/StaticAnalysis/Exceptions/Az.DataFactoryV2/SignatureIssues.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.RemoveAzureDataFactoryLinkedServiceCommand","Remove-AzDataFactoryV2LinkedService","1","8600","Cmdlet 'Remove-AzDataFactoryV2LinkedService' has no defined output type.","Add an OutputType attribute that declares the type of the object(s) returned by this cmdlet. If this cmdlet returns no output, please set the output type to 'bool' and make sure to implement the 'PassThru' parameter."
1515
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.RemoveAzureDataFactoryPipelineCommand","Remove-AzDataFactoryV2Pipeline","1","8600","Cmdlet 'Remove-AzDataFactoryV2Pipeline' has no defined output type.","Add an OutputType attribute that declares the type of the object(s) returned by this cmdlet. If this cmdlet returns no output, please set the output type to 'bool' and make sure to implement the 'PassThru' parameter."
1616
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.RemoveAzureDataFactoryDatasetCommand","Remove-AzDataFactoryV2Dataset","1","8600","Cmdlet 'Remove-AzDataFactoryV2Dataset' has no defined output type.","Add an OutputType attribute that declares the type of the object(s) returned by this cmdlet. If this cmdlet returns no output, please set the output type to 'bool' and make sure to implement the 'PassThru' parameter."
17+
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.InvokeAzureDataFactoryDataFlowDebugSessionOperationCommand","Invoke-AzDataFactoryV2DataFlowDebugSessionCommand","1","8420","Parameter set 'ByFactoryName' of cmdlet 'Invoke-AzDataFactoryV2DataFlowDebugSessionCommand' contains at least one parameter with a position larger than four, which is discouraged.","Limit the number of positional parameters in a single parameter set to four or fewer."
18+
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.InvokeAzureDataFactoryDataFlowDebugSessionOperationCommand","Invoke-AzDataFactoryV2DataFlowDebugSessionCommand","1","8420","Parameter set 'ByFactoryObject' of cmdlet 'Invoke-AzDataFactoryV2DataFlowDebugSessionCommand' contains at least one parameter with a position larger than four, which is discouraged.","Limit the number of positional parameters in a single parameter set to four or fewer."
19+
"Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.dll","Microsoft.Azure.Commands.DataFactoryV2.InvokeAzureDataFactoryDataFlowDebugSessionOperationCommand","Invoke-AzDataFactoryV2DataFlowDebugSessionCommand","1","8420","Parameter set 'ByResourceId' of cmdlet 'Invoke-AzDataFactoryV2DataFlowDebugSessionCommand' contains at least one parameter with a position larger than four, which is discouraged.","Limit the number of positional parameters in a single parameter set to four or fewer."

0 commit comments

Comments
 (0)