Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-03Test Restructure (#2336)Tlakaelel Axayakatl Ceja
Move RequiresAssemblyFiles from Analyzer to the linker RequiresCapability file Move the new constraint code from RequiresUnreferencedCode to be on the base Requires file Add Warning Id to messages from the analyzer to distinguish in a test which analyzer missed/found a warning Add RequiresAssemblyFilesMismatchAttribute Title and Message to fix bug Add testing in linker for mismatching attributes Add testing in linker for Delegates in CompilerGenerated file Add support for static constructor compiler-generated calls Add additional warnings from DAM and RUC interaction. Not supported by the analyzer yet
2021-10-21Use all diagnostic analyzers when running analyzer's tests (#2327)Mateo Torres-Ruiz
* Use all analyzers for each linker's test run * Remove SimpleAnalyzerOptions from CSharpAnalyzerVerifier
2021-09-29Analyzer test infra improvements (#2292)Sven Boemer
* Improve analyzer test checker - When diagnostics are missing, display all missing diagnostics - Show candidate diagnostics that didn't match any expected ones - Adjust match criteria to match Roslyn strings - Clean up nullable annotations in test infra - Remove cctor warnings from analyzer to match linker - Remove redundant attribute property setter warnings - Fix location filtering for warnings that originate from types
2021-09-08Update edited document before continuing code fixing (#2250)Mateo Torres-Ruiz
* PR feedback * Remove unnecessary method
2021-07-31Share DiagnosticStrings add mechanism to generate a DiagnosticDescriptor ↵Mateo Torres-Ruiz
given a DiagnosticId (#2170) * Add DiagnosticId enum Add GetDiagnosticDescriptor * Check that the diagnostic id is in the range of the supported linker warnings * Lint * Share DiagnosticString * Noisy whitespace * Warnings go up to 6000 inclusive * PR feedback * Get diagnostic string Update test * Lint * PR feedback
2021-07-27RAF Attribute unification (#2156)Tlakaelel Axayakatl Ceja
Bump sdk version in global.json Fix new analyzer recommendations about AsSpan and Contains(char) Disable ImplicitNamespaceImports Update Microsoft.NetCore.App.Ref used by analyzer to take new Runtime attribute changes Update analyzer to not use Message as a property in RequiresAssemblyFilesAttribute Update cecil to use Microsoft.NETFramework.ReferenceAssemblies.net40 1.0.2 along with taking other cecil updates
2021-06-30Use net6.0 reference assemblies in analyzer tests (#2121)Andy Gocke
The version is currently hardcoded in TestCaseUtils.cs, but since these are reference assemblies, as long as the surface area isn't predicted to change, we can update as necessary.
2021-06-23Match Attributes for virtual methods and overrides (#2046)Tlakaelel Axayakatl Ceja
Add analyzer logic to create a diagnostic if attributes don't match between all interface implementations or overrides Use IL2046 to display errors for RUC Use IL3003 to display errors for RAF Add IL3003 to error-codes.md Add tests Adds support for nullable attribute operations Add support for adding metadata information into the compilation Divide the current warning message into 4 different more insightful diagnostic messages following the structure implemented in ObsoleteAttribute messages Add IL2046 to diagnostic format to ILLink.Shared
2021-05-13Add RequiresAssemblyFiles CodeFix (#2015)Tlakaelel Axayakatl Ceja
Add RequiresAssemblyFiles CodeFix Add tests Fix #2005 Refactor analyzer code. Fixes #1986 Add resources files to codefixer
2021-05-06Add UnconditionalSuppressMessage codefixer (#2002)Tlakaelel Axayakatl Ceja
Add CodeFix for UnconditionalSuppressMessage Add test for UnconditionalSuppressMessage Change FindContainingMember to FindAttributableParent and add a list of AttributableParentTargets to values that are possible Add a base class to remove code duplication Use net5.0 reference assemblies and define requiresAssemblyFiles manually (reverts #1922)
2021-04-24Fix delegate conversion on analyzers (#1964)Tlakaelel Axayakatl Ceja
Fix delegate conversion on analyzers Fix test in RequiresUnreferencedCodeAnalyzer Add tests for delegate conversion Add the ability to pass the number of iterations in a codefix
2021-04-01Merge SingleFileAnalyzer into RequiresAssemblyFilesAnalyzer and add ↵Tlakaelel Axayakatl Ceja
capability to suppress IL3000/IL3001 with RequiresAssemblyFilesAnalyzer (#1921) Merge SingleFileAnalyzer into RequiresAssemblyFilesAnalyzer Suppress warnings on dangerous patterns if RequiresAssemblyFilesAttribute is used on the parent call Fix case in which we have a dangerous method inside a property Add tests
2021-03-27Compile roslyn analyzer tests using repo's assembly refs (#1922)Mateo Torres-Ruiz
* Used repo's dotnet bits * Remove unused assembly * Just reference SPCL * Simplify * Remove using
2021-03-08Change MSBuild properties for analyzer (#1863)Tlakaelel Axayakatl Ceja
Change PublishSingleFile and PublishTrimmed for EnableSingleFileAnalyzer and EnableTrimAnalyzer in the linker
2021-02-05RequiresAssemblyFilesAttribute resource manager changes (#1790)Tlakaelel Axayakatl Ceja
* Change resource file to have a default message and accept arguments * Add test for RequiresAssemblyFilesAttribute with Url named argument only * Add IL3XXX warning codes to the master error code registry * Throw whenever a named argument is passed in ExpectedWarning
2021-01-20Add analyzer for RequiresAssemblyFilesAttribute (#1722)Mateo Torres-Ruiz