Enable .NET Analyzers in DacpacTool #1199
main.yml
on: pull_request
Annotations
10 errors and 10 warnings
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L15
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L33
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L46
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L72
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L85
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L105
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L118
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L131
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L147
'BuildOptions' is inaccessible due to its protection level
|
build:
test/DacpacTool.Tests/PropertyParserTest.cs#L163
'BuildOptions' is inaccessible due to its protection level
|
build:
src/DacpacTool/DeployOptions.cs#L5
'DeployOptions' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
build:
src/DacpacTool/BuildOptions.cs#L6
'BuildOptions' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
build:
src/DacpacTool/Extensions.cs#L15
The type name Extensions conflicts in whole or in part with the namespace name 'Azure.Core.Extensions'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
build:
src/DacpacTool/Program.cs#L14
Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
src/DacpacTool/DatabaseProperty.cs#L5
Type 'DatabaseProperty' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
src/DacpacTool/DeployOptions.cs#L5
Type 'DeployOptions' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
src/DacpacTool/BuildOptions.cs#L6
Type 'BuildOptions' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
src/DacpacTool/BuildOptions.cs#L6
'BuildOptions' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
build:
src/DacpacTool/DeployOptions.cs#L5
'DeployOptions' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
build:
src/DacpacTool/Extensions.cs#L15
The type name Extensions conflicts in whole or in part with the namespace name 'Azure.Core.Extensions'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|