-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathErrorProne.NET.CoreAnalyzers.CodeFixes.csproj
More file actions
99 lines (88 loc) · 4.81 KB
/
ErrorProne.NET.CoreAnalyzers.CodeFixes.csproj
File metadata and controls
99 lines (88 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>ErrorProne.Net.CoreAnalyzers.CodeFixes</AssemblyName>
<RootNamespace>ErrorProne.NET</RootNamespace>
<IncludeBuildOutput>false</IncludeBuildOutput>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<!-- Needed here to copy all the dependencies to an output folder-->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<PackageId>ErrorProne.NET.CoreAnalyzers</PackageId>
<Authors>Sergey Teplyakov</Authors>
<PackageLicenseUrl>https://github.com/SergeyTeplyakov/ErrorProne.NET/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/SergeyTeplyakov/ErrorProne.NET/</RepositoryUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>Core .NET analyzers for detecting the most common coding issues</Description>
<PackageReleaseNotes>
0.8.1
* Minor fixes in recursive analyzer
* Downgraded the compiler packages to 4.13.0 to avoid conflicts with the latest Roslyn versions.
0.8.0
* Add DoNotBlockAsyncCallsInAsyncMethodsAnalyzer
* Add MustUseResultAnalyzer
* Add DoNotUseThreadSleepAnalyzer
* Add analyzer to warn on returning null for Task-like types
* Add TaskCompletionSourceAnalyzer
* Add ExcludeFromCodeCoverage analyzer
* Add Do not use async void methods rule
* Add the analyzer for detecting infinite recursions
0.7.0
* Add EventSource analyzers
* Warn on using tasks in 'using' block or 'using' statements.
0.6.1
* Add Enumerable.Contains(HashSet{T}) analyzer.
* Move DefaultEqualsOrHashCodeUsageAnalyzer and HashTableIncompatibilityAnalyzer moved from structs analyzers to core analyzers.
* Changed DefaultEqualsOrHashCodeUsageAnalyzer to warn on any usages of ValueType.Equals/ValueType.GetHashCode in any place.
0.6.0
* Update all the dependendencies.
0.5.0
* Remove runtime dependencies for the prjoect (no RuntimeContracts, and no ErrorProne.Net.Core)
to simplify deployment and to allow the customers to reference different versions of 'ErrorProne.Net.CoreAnalyzers'
and 'ErrorProne.Net.StructAnalyzers' that was not possible before due to a common dependencies to 'ErrorProne.Net.Core.dll'.
0.4.0
* Performance improvements and bug fixes
* Embed pdbs
0.3.1
* EPC18: warn for an implicit Task to string conversion.
* EPC19: warn on non-observed Register calls to a potentially long-lived CancellationToken instances.
0.3.0
* EPC17: warns when async void delegate is accidentally created where `Action` should be used.
* ERP031: warns when some unsafe methods are used for `ConcurrentDictionary` instance like `ToArray`.
0.2.0
* EPC11: warns when Equals method is potentially implemented incorrectly.
* EPC12: warns when generic exception instance is not fully observed (only `Message` was accessed in catch block).
* EPC13: warns when possible-like result is not observed.
* EPC14: warns when `ConfigureAwait(false)` is used even though a project is configured not to use it.
* EPC15: warns when `ConfigureAwait(false)` is not used on an awaited task but a project is configured to always use it.
* EPC16: null-conditional operator is used in await expression causing NRE if a task is null.
</PackageReleaseNotes>
<Copyright>Copyright Sergey Teplyakov</Copyright>
<PackageTags>ErrorProne.NET, analyzers</PackageTags>
<NoPackageAnalysis>true</NoPackageAnalysis>
<DevelopmentDependency>true</DevelopmentDependency>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ErrorProne.NET.CoreAnalyzers\ErrorProne.NET.CoreAnalyzers.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp"/>
</ItemGroup>
<ItemGroup>
<None Update="tools\*.ps1" Pack="true" PackagePath="" />
</ItemGroup>
<Target Name="_GetFilesToPackage">
<ItemGroup>
<_File Include="$(OutputPath)$(AssemblyName).dll" />
<_File Include="$(OutputPath)ErrorProne.Net.CoreAnalyzers.dll" />
<_File Include="$(OutputPath)RuntimeContracts.dll" />
<TfmSpecificPackageFile Include="@(_File)" PackagePath="analyzers/dotnet/cs/%(_File.RecursiveDir)%(_File.FileName)%(_File.Extension)" />
</ItemGroup>
</Target>
</Project>