-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Mijo-Software/mjohne-patch-1
Add files via upload
- Loading branch information
Showing
73 changed files
with
19,096 additions
and
0 deletions.
There are no files selected for viewing
575 changes: 575 additions & 0 deletions
575
packages/Microsoft.CodeAnalysis.NetAnalyzers.5.0.1/EULA.rtf
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+3.49 MB
...Microsoft.CodeAnalysis.NetAnalyzers.5.0.1/Microsoft.CodeAnalysis.NetAnalyzers.5.0.1.nupkg
Binary file not shown.
270 changes: 270 additions & 0 deletions
270
packages/Microsoft.CodeAnalysis.NetAnalyzers.5.0.1/ThirdPartyNotices.rtf
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+59.4 KB
...sis.NetAnalyzers.5.0.1/analyzers/dotnet/cs/Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll
Binary file not shown.
Binary file added
BIN
+1.92 MB
...deAnalysis.NetAnalyzers.5.0.1/analyzers/dotnet/cs/Microsoft.CodeAnalysis.NetAnalyzers.dll
Binary file not shown.
Binary file added
BIN
+243 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/cs/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+257 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/de/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+248 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/es/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+256 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/fr/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+250 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/it/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+282 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/ja/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+255 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/ko/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+256 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/pl/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+243 KB
...alyzers.5.0.1/analyzers/dotnet/cs/pt-BR/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+333 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/ru/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+251 KB
...tAnalyzers.5.0.1/analyzers/dotnet/cs/tr/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+216 KB
...yzers.5.0.1/analyzers/dotnet/cs/zh-Hans/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+220 KB
...yzers.5.0.1/analyzers/dotnet/cs/zh-Hant/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+1.92 MB
...deAnalysis.NetAnalyzers.5.0.1/analyzers/dotnet/vb/Microsoft.CodeAnalysis.NetAnalyzers.dll
Binary file not shown.
Binary file added
BIN
+57.4 KB
...etAnalyzers.5.0.1/analyzers/dotnet/vb/Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers.dll
Binary file not shown.
Binary file added
BIN
+243 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/cs/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+257 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/de/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+248 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/es/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+256 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/fr/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+250 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/it/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+282 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/ja/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+255 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/ko/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+256 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/pl/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+243 KB
...alyzers.5.0.1/analyzers/dotnet/vb/pt-BR/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+333 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/ru/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+251 KB
...tAnalyzers.5.0.1/analyzers/dotnet/vb/tr/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+216 KB
...yzers.5.0.1/analyzers/dotnet/vb/zh-Hans/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
Binary file added
BIN
+220 KB
...yzers.5.0.1/analyzers/dotnet/vb/zh-Hant/Microsoft.CodeAnalysis.NetAnalyzers.resources.dll
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
.../Microsoft.CodeAnalysis.NetAnalyzers.5.0.1/build/DisableNETAnalyzersForNuGetPackage.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Project> | ||
<!-- | ||
PropertyGroup to disable built-in analyzers from .NET SDK that have the identical CA rules to those implemented in this package. | ||
This props file should only be present in the analyzer NuGet package, it should **not** be inserted into the .NET SDK. | ||
--> | ||
<PropertyGroup> | ||
<EnableNETAnalyzers>false</EnableNETAnalyzers> | ||
<_NETAnalyzersNuGetAssemblyVersion>5.0.1</_NETAnalyzersNuGetAssemblyVersion> | ||
</PropertyGroup> | ||
</Project> |
25 changes: 25 additions & 0 deletions
25
...Microsoft.CodeAnalysis.NetAnalyzers.5.0.1/build/Microsoft.CodeAnalysis.NetAnalyzers.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Project> | ||
|
||
<!-- | ||
This import includes an additional props file that disables built-in analyzers from .NET SDK that have the identical CA rules to those implemented in this package. | ||
This additional props file should only be present in the analyzer NuGet package, it should **not** be inserted into the .NET SDK. | ||
--> | ||
<Import Project="DisableNETAnalyzersForNuGetPackage.props" Condition="Exists('DisableNETAnalyzersForNuGetPackage.props')" /> | ||
|
||
<!-- | ||
PropertyGroup to set the NetAnalyzers version installed in the SDK. | ||
We rely on the additional props file 'DisableNETAnalyzersForNuGetPackage.props' not being present in the SDK. | ||
--> | ||
<PropertyGroup Condition="!Exists('DisableNETAnalyzersForNuGetPackage.props')"> | ||
<_NETAnalyzersSDKAssemblyVersion>5.0.1</_NETAnalyzersSDKAssemblyVersion> | ||
</PropertyGroup> | ||
|
||
<!-- | ||
This property group prevents the rule ids implemented in this package to be bumped to errors when | ||
the 'CodeAnalysisTreatWarningsAsErrors' = 'false'. | ||
--> | ||
<PropertyGroup> | ||
<CodeAnalysisRuleIds>CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1401;CA1416;CA1417;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1801;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2100;CA2101;CA2109;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2229;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;IL3000;IL3001</CodeAnalysisRuleIds> | ||
<WarningsNotAsErrors Condition="'$(CodeAnalysisTreatWarningsAsErrors)' == 'false'">$(WarningsNotAsErrors);$(CodeAnalysisRuleIds)</WarningsNotAsErrors> | ||
</PropertyGroup> | ||
</Project> |
62 changes: 62 additions & 0 deletions
62
...crosoft.CodeAnalysis.NetAnalyzers.5.0.1/build/Microsoft.CodeAnalysis.NetAnalyzers.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<Project> | ||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzers" BeforeTargets="CoreCompile" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true'"> | ||
<!-- PropertyGroup to compute global analyzer config file to be used --> | ||
<PropertyGroup> | ||
<!-- Default 'MicrosoftCodeAnalysisNetAnalyzersRulesVersion' to 'EffectiveAnalysisLevel' with trimmed trailing '.0' --> | ||
<MicrosoftCodeAnalysisNetAnalyzersRulesVersion Condition="'$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion)' == '' and $(EffectiveAnalysisLevel) != ''">$([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevel), '(.0)*$', ''))</MicrosoftCodeAnalysisNetAnalyzersRulesVersion> | ||
|
||
<!-- Set the default analysis mode, if not set by the user --> | ||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers>$(AnalysisMode)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers> | ||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers> | ||
|
||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisNetAnalyzersRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. --> | ||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers).editorconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers> | ||
|
||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers> | ||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers)')"> | ||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers)" /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<!-- MSBuild properties to thread to the analyzers as options --> | ||
<ItemGroup> | ||
<CompilerVisibleProperty Include="TargetFramework" /> | ||
<CompilerVisibleProperty Include="TargetPlatformMinVersion" /> | ||
<CompilerVisibleProperty Include="UsingMicrosoftNETSdkWeb" /> | ||
<CompilerVisibleProperty Include="ProjectTypeGuids" /> | ||
<CompilerVisibleProperty Include="PublishSingleFile" /> | ||
<CompilerVisibleProperty Include="IncludeAllContentForSelfExtract" /> | ||
</ItemGroup> | ||
|
||
<!-- MSBuild item metadata to thread to the analyzers as options --> | ||
<PropertyGroup> | ||
<_SupportedPlatformList>@(SupportedPlatform, ',')</_SupportedPlatformList> | ||
</PropertyGroup> | ||
|
||
<!-- MSBuild properties to thread to the analyzers as options --> | ||
<ItemGroup> | ||
<CompilerVisibleProperty Include="_SupportedPlatformList" /> | ||
</ItemGroup> | ||
|
||
<!-- | ||
Design-time target to prevent the rule ids implemented in this package to be bumped to errors in the IDE | ||
when 'CodeAnalysisTreatWarningsAsErrors' = 'false'. Note that a similar 'WarningsNotAsErrors' | ||
property group is present in the generated props file to ensure this functionality on command line builds. | ||
--> | ||
<Target Name="_CodeAnalysisTreatWarningsNotAsErrors" BeforeTargets="CoreCompile" Condition="'$(CodeAnalysisTreatWarningsAsErrors)' == 'false' AND ('$(DesignTimeBuild)' == 'true' OR '$(BuildingProject)' != 'true')"> | ||
<PropertyGroup> | ||
<WarningsNotAsErrors>$(WarningsNotAsErrors);$(CodeAnalysisRuleIds)</WarningsNotAsErrors> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
<!-- Target to report a warning when SDK NetAnalyzers version is higher than the referenced NuGet NetAnalyzers version --> | ||
<Target Name="_ReportUpgradeNetAnalyzersNuGetWarning" BeforeTargets="CoreCompile" Condition="'$(_SkipUpgradeNetAnalyzersNuGetWarning)' != 'true' "> | ||
<Warning Text ="The .NET SDK has newer analyzers with version '$(_NETAnalyzersSDKAssemblyVersion)' than what version '$(_NETAnalyzersNuGetAssemblyVersion)' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provides. Update or remove this package reference." | ||
Condition="'$(_NETAnalyzersNuGetAssemblyVersion)' != '' AND | ||
'$(_NETAnalyzersSDKAssemblyVersion)' != '' AND | ||
$(_NETAnalyzersNuGetAssemblyVersion) < $(_NETAnalyzersSDKAssemblyVersion)"/> | ||
</Target> | ||
</Project> |
Oops, something went wrong.