mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 20:20:57 -05:00
80476af4f7
* chore: add test case for csharp language which should pass it shows that the current version of linter for csharp language reports false positive issues * feat: use built-in linter for csharp language https://github.com/dotnet/format/issues/1268 * chore: remove dotnet-format installation from install-dotnet.sh dotnet format is a part of .NET 6 SDK and shouldn't be installed separately anymore * docs: update linter name for dotnet instead of dotnet-format built-in format command from dotnet is used (points to the same repository as before) * chore: update linter name for dotnet in tests --------- Co-authored-by: Zack Koppert <zkoppert@github.com>
14 lines
149 B
C#
14 lines
149 B
C#
using System;
|
|
|
|
namespace HelloWorld;
|
|
|
|
internal enum Foo
|
|
{
|
|
Bar = 1,
|
|
Baz = 2
|
|
}
|
|
|
|
public class TestClass
|
|
{
|
|
public required Foo Bar { get; set; }
|
|
}
|