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
2022-02-24Fix invalid cast of type parameter (#2643)darc-release/6.0.2xx-e41dfdf1-4206-46d4-8291-d43fda61dd29darc-release/6.0.2xx-a5d6e3d9-4f6e-4daf-afc1-cb773cc0bec7darc-release/6.0.2xx-2663cc0a-439b-4ea0-a70c-c7fd96f1eb4fdarc-release/6.0.2xx-1774e2a9-b600-4f69-a509-772b749afdb0darc-release/6.0.2xx-091aeeb5-bd98-49e5-9813-9b4179462b79Sven Boemer
2022-02-24Add check for pointer types in IsComInterop (#2623) (#2635)Tlakaelel Axayakatl Ceja
Checks if the param or return type of a function is a pointer type and return early that it is not COM interop if it is. Co-authored-by: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
2022-02-22[release/6.0.2xx] Update dependencies from dotnet/arcade (#2607)dotnet-maestro[bot]
* Update dependencies from https://github.com/dotnet/arcade build 20220209.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22107.2 -> To Version 6.0.0-beta.22109.2 * Update dependencies from https://github.com/dotnet/arcade build 20220216.15 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22107.2 -> To Version 6.0.0-beta.22116.15 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-02-10[release/6.0.2xx] Update dependencies from dotnet/arcade (#2591)dotnet-maestro[bot]
* Update dependencies from https://github.com/dotnet/arcade build 20220204.4 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22102.3 -> To Version 6.0.0-beta.22104.4 * Update dependencies from https://github.com/dotnet/arcade build 20220207.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22102.3 -> To Version 6.0.0-beta.22107.2 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-02-03Update dependencies from https://github.com/dotnet/arcade build 20220202.3 ↵dotnet-maestro[bot]
(#2582) Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22077.13 -> To Version 6.0.0-beta.22102.3 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-02-01Update dependencies from https://github.com/dotnet/arcade build 20220127.13 ↵dotnet-maestro[bot]
(#2568) Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22069.6 -> To Version 6.0.0-beta.22077.13 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-02-01Fix analyzer nullref on assembly attribute (#2530)Sven Boemer
The analyzer runs for property assignment operations, including those in attributes. To check whether the property assignment should warn, we look for RUC on the containing symbol. However, assembly-level attributes are contained in the global namespace, which has a null containing type.
2022-01-27Update dependencies from https://github.com/dotnet/arcade build 20220119.6 ↵dotnet-maestro[bot]
(#2544) Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 6.0.0-beta.22062.1 -> To Version 6.0.0-beta.22069.6 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-01-19Update dependencies from https://github.com/dotnet/arcade build 20220112.1 ↵dotnet-maestro[bot]
(#2514) Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat From Version 7.0.0-beta.21524.1 -> To Version 6.0.0-beta.22062.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-01-08Update version (#2489)Andy Gocke
2022-01-07[release/6.0.2xx] Propagate Interfaces annotation through Type.BaseType (#2476)Vitek Karas
The Interfaces annotation makes sure the type has all interfaces, meaning `GetInterfaces` reflection call will work on it. That means that all interfaces of the base type are also preserved, so the `Interfaces` annotation should be propagated to the base type as well.
2022-01-06Add a custom flag to disable marking of copy assemblies (#2370) (#2437)Vitek Karas
Enabled by `--custom-data DisableMarkingOfCopyAssemblies=true` on the command line. Assumes that ALL assemblies on the input are in "copy" action (it doesn't validate this fact). It disables marking basically fully - linker will go over all assemblies, and process them in "copy" mode (copy the original file over) and will call all the custom steps and so on, but it will do no marking (or very little, depends on descriptors and such which this doesn't disable). This is intentionally non-discoverable feature, to be used only by the mono AOT toolchain.
2022-01-06Merge pull request #2391 from vitek-karas/FixTypeForwarders6Andy Gocke
[release/6.0.2xx] Fix marking of nested type forwarders
2021-12-16Merge pull request #2449 from jtschuster/RemoveCecilFullNameDiagsJackson Schuster
Remove cecil FullName property from diagnostic messages
2021-12-16Formatting fixJackson Schuster
2021-12-16Re-add IMemberDefinition case for MS build string to make sure there are no ↵Jackson Schuster
regressions
2021-12-15After separating the argument verification from getting the attribute the ↵Tlakaelel Axayakatl Ceja
method TryGetRequiresAttribute is just TryGetAttribute, so deleting the method to simplify stuff (#2448)
2021-12-15Removes the Cecil `FullName` path from diagnostic messagesJackson Schuster
Cecil `FullName` properties use '/' as delimiters for nested classes, but the standard is to use '.'. GetDisplayName extension is used instead to accomplish this.
2021-12-15Merge pull request #2440 from jtschuster/emit2109InAnalyzerJackson Schuster
Fix Issue 2416: RUC Analyzer doesn't emit IL2109
2021-12-15Fix FormattingJackson Schuster
2021-12-15Add TargetHasRequiresAttribute to RequiresISymbolExtensions file (#2445)Tlakaelel Axayakatl Ceja
* Add TargetHasRequiresAttribute to RequiresISymbolExtensions file * Add a RequiresUnreferencedCodeUtils file so other analyzers dont have to pass the RUC name everytime they use the RequiresISymbolExtensions * Refactor the RequiresAnalyzerBase to not have to verify the arguments while getting the attribute since the specific details on how to validate the attribute arguments are specific of the attribute implementation * Change COMAnalyzer to use the RequiresUnreferencedCodeUtils instead of the RequiresISymbolExtensions
2021-12-15Remove redundant HasAttribute check in RUCAnalyzer.csJackson Schuster
2021-12-14Fold 'if's into one in RUCAnalyzerJackson Schuster
2021-12-14Replace '/' with '.' in IL2109 warning pathsJackson Schuster
2021-12-14Merge pull request #2408 from jtschuster/bug/2379Jackson Schuster
Fix Bug 2379
2021-12-14Remove extra line in RequiresCapability.csJackson Schuster
2021-12-13Analyzer properly emits IL2109, but has a '.' in paths where the linker has ↵Jackson Schuster
a '/'
2021-12-13Emitting IL2109, but no additional messagesJackson Schuster
2021-12-10Revert "Restore unnecessary changes and format"Jackson Schuster
This reverts commit 359a51bd6ab157d6890aa18fb2fa76e7a2ac0a05. Undo excessive formatting changes
2021-12-10Restore unnecessary changes and formatJackson Schuster
Remove .gitignore changes Fix formatting with dotnet-format
2021-12-10Rebased from main to Release/6.0.2xx and fixed issues with rebaseJackson Schuster
2021-12-10Use the ISymbol extensions for Requires analyzersJackson Schuster
2021-12-10Use ISymbol extension instead of Diagnostic Analyzer extensionJackson Schuster
2021-12-10Move IsMemberInRequiresScope logic to extension method for DiagnosticAnalyzerJackson Schuster
2021-12-10Doesn't check containing type for nested typesJackson Schuster
2021-12-10Remove test that calls COM code within a lambdaJackson Schuster
2021-12-10COM Analyzer also checks containing type for RUCJackson Schuster
2021-12-10Undo irrelevant changes from a separate bug fixJackson Schuster
Resets the files changed in the fix for bug 2379. Previously this branch was forked off that branch, but needed to be cleaned up to make this branch only have the changes needed for bug 2378.
2021-12-10Revert files not associated with the bug fixJackson Schuster
2021-12-10Check containing symbol for RequiresUnreferencedCode to silence IL2050Jackson Schuster
The ComAnalyzer now checks the containing symbol to see if it has the RequiresUnreferencedCode attribute, and doesn't emit IL2050 if it does.
2021-12-10Add case for when a method has RequiresUnreferencedCode in COMAnalyzerJackson Schuster
2021-12-10Use TargetHasRequiredAttribute instead of IsMemberInRequiresScopeJackson Schuster
2021-12-10Add null check in IsOverridenMemberInRequireScopeJackson Schuster
2021-12-10Removed changes to test infraJackson Schuster
2021-12-10Requires Public Methods of new test class so it doesn't get trimmed in testJackson Schuster
2021-12-10debuggingJackson Schuster
2021-12-10Adding additional test cases for Requires... atrributes on propertiesJackson Schuster
2021-12-10Uses a new function for checking if in requires scope for overridesJackson Schuster
2021-12-10Reverting to using IsMemberInRequiresScopeJackson Schuster
2021-12-10Refactor TargetHasRequiresAttribute to optionally check the class of anJackson Schuster
instance method