Skip to content

Commit 91ad05b

Browse files
committed
Add MIT license
1 parent 6cb4b70 commit 91ad05b

11 files changed

+48
-235
lines changed

Diff for: LICENSE.TXT

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) .NET Foundation and Contributors
4+
5+
All rights reserved.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.

Diff for: src/WindowsForms.Analyzers/ControlTabOrderAnalyzer.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#nullable enable
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
23

34
using System.Collections.Generic;
45
using System.Collections.Immutable;

Diff for: src/WindowsForms.Analyzers/Resources.Designer.cs

-90
This file was deleted.

Diff for: src/WindowsForms.Analyzers/Resources.resx

-132
This file was deleted.

Diff for: src/WindowsForms.Analyzers/WindowsForms.Analyzers.csproj

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<LangVersion>latest</LangVersion>
7+
<Nullable>enable</Nullable>
78

89
<!-- Avoid ID conflicts with the package project. -->
910
<PackageId>*$(MSBuildProjectFile)*</PackageId>
@@ -16,9 +17,4 @@
1617
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.3.1" />
1718
</ItemGroup>
1819

19-
<ItemGroup>
20-
<Compile Update="Resources.Designer.cs" DesignTime="True" AutoGen="True" DependentUpon="Resources.resx" />
21-
<EmbeddedResource Update="Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" />
22-
</ItemGroup>
23-
2420
</Project>

Diff for: src/WindowsForms.CodeFixes/WinFormsAccessibilityCodeFixProvider.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Collections.Immutable;
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System.Collections.Immutable;
25
using System.Composition;
36
using System.Linq;
47
using System.Threading;

Diff for: tests/App/Form1.Designer.cs

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: tests/App/Form1.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using System;
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
24
using System.Windows.Forms;
35

46
namespace WinFormsApp1
@@ -8,7 +10,6 @@ public partial class Form1 : Form
810
public Form1()
911
{
1012
InitializeComponent();
11-
Console.WriteLine("TEST");
1213
}
1314
}
1415
}

Diff for: tests/WindowsForms.Test/WinFormsAccessibilityTests.InconsistentTabIndexRule.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Threading.Tasks;
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System.Threading.Tasks;
25
using Microsoft.VisualStudio.TestTools.UnitTesting;
36
using VerifyCS = WindowsForms.Test.CSharpCodeFixVerifier<
47
WindowsForms.Analyzers.ControlTabOrderAnalyzer,

Diff for: tests/WindowsForms.Test/WinFormsAccessibilityTests.NonNumericTabIndexValueRule.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Threading.Tasks;
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using System.Threading.Tasks;
25
using Microsoft.VisualStudio.TestTools.UnitTesting;
36
using VerifyCS = WindowsForms.Test.CSharpCodeFixVerifier<
47
WindowsForms.Analyzers.ControlTabOrderAnalyzer,

Diff for: tests/WindowsForms.Test/WinFormsAccessibilityTests.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace WindowsForms.Test
1+
// Copyright (c) Igor Velikorossov. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
namespace WindowsForms.Test
25
{
36
public partial class WinFormsAccessibilityTests
47
{

0 commit comments

Comments
 (0)