-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Rgen] Add extra data about the return type of a method. #21901
base: main
Are you sure you want to change the base?
Conversation
Later this information will be used to make decisions when emitting code.
/azp run xamarin-macios-pr |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 16 changed files in this pull request and generated 1 comment.
Files not reviewed (11)
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/MethodEqualityComparerTests.cs: Evaluated as low risk
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/MethodReturnTypeComparerTests.cs: Evaluated as low risk
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/ClassCodeChangesTests.cs: Evaluated as low risk
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/MethodComparerTests.cs: Evaluated as low risk
- src/rgen/Microsoft.Macios.Generator/DataModel/MethodsEqualityComparer.cs: Evaluated as low risk
- src/rgen/Microsoft.Macios.Generator/DataModel/Parameter.cs: Evaluated as low risk
- src/rgen/Microsoft.Macios.Generator/DataModel/MethodComparer.cs: Evaluated as low risk
- src/rgen/Microsoft.Macios.Generator/DataModel/Method.cs: Evaluated as low risk
- src/rgen/Microsoft.Macios.Generator/Extensions/TypeSymbolExtensions.cs: Evaluated as low risk
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/InterfaceCodeChangesTests.cs: Evaluated as low risk
- tests/rgen/Microsoft.Macios.Generator.Tests/DataModel/MethodTests.cs: Evaluated as low risk
Comments suppressed due to low confidence (2)
src/rgen/Microsoft.Macios.Generator/DataModel/MethodReturnType.cs:48
- Add a null or empty check for the type string to ensure robustness.
internal MethodReturnType (string type)
src/rgen/Microsoft.Macios.Generator/DataModel/MethodReturnType.cs:121
- [nitpick] Improve the formatting of the ToString method by placing the closing brace '}' on a new line.
public override string ToString ()
src/rgen/Microsoft.Macios.Generator/DataModel/MethodReturnType.cs
Outdated
Show resolved
Hide resolved
|
Co-authored-by: Copilot <[email protected]>
/azp run xamarin-macios-pr |
Azure Pipelines successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@@ -0,0 +1,133 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs copyright notice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #21900 (review)
@@ -0,0 +1,32 @@ | |||
using System; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs copyright notice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same #21900 (review)
/azp run xamarin-macios-pr |
Azure Pipelines successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
✅ [CI Build] Build passed (Build packages) ✅Pipeline on Agent |
✅ [CI Build] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
💻 [CI Build] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
💻 [CI Build] Windows Integration Tests passed 💻✅ All Windows Integration Tests passed. Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 113 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
/azp run xamarin-macios-pr |
Azure Pipelines successfully started running 1 pipeline(s). |
|
namespace Microsoft.Macios.Generator.DataModel; | ||
|
||
/// <summary> | ||
/// Readonly structure that represents a change in a method return type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what is meant by "a change in"
Later this information will be used to make decisions when emitting code.