Skip to content
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

Fix 4 more bad delegates missing the attribute that cause iOS AOT errors at runtime #18390

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

skottmckay
Copy link
Contributor

Description

Fix bad delegates.
Add script to detect mismatch, and run in CI and when creating nuget package.

Ignore whitespace when looking at the diff to the .cs file as clang-format ran.

Motivation and Context

#18363

…ors at runtime.

Add script to detect mismatch, and run in CI and when creating nuget package.
@skottmckay skottmckay requested a review from a team as a code owner November 10, 2023 06:54
@yuslepukhin
Copy link
Member

                                                                       byte[] buffer);

Can we reformat these two?


Refers to: csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.shared.cs:1897 in ffe1887. [](commit_id = ffe1887, deletion_comment = False)

@skottmckay
Copy link
Contributor Author

                                                                       byte[] buffer);

Can we reformat these two?

Refers to: csharp/src/Microsoft.ML.OnnxRuntime/NativeMethods.shared.cs:1897 in ffe1887. [](commit_id = ffe1887, deletion_comment = False)

This is the standard clang-format behavior I think. The args are aligned, and where they are aligned is based on whether the first arg is on a new line or not.

@skottmckay skottmckay merged commit 8ff41ae into main Nov 14, 2023
90 of 91 checks passed
@skottmckay skottmckay deleted the skottmckay/FixMoreCSharpDelegatesMissingAttribute branch November 14, 2023 04:00
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
…ors at runtime (microsoft#18390)

### Description
<!-- Describe your changes. -->
Fix bad delegates.
Add script to detect mismatch, and run in CI and when creating nuget
package.

Ignore whitespace when looking at the diff to the .cs file as
clang-format ran.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
microsoft#18363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants