Uh oh!
There was an error while loading. Please reload this page.
Do not say the wrong default behavior for blittable arrays in ComInterfaceGenerator warning - #88212
Conversation
ghost
commented
Jun 29, 2023
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsFixes #88205. The warning used to say the default is [In] for blittable arrays, when the default is [In, Out].
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…erop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…kip generation of the wrappers if we have any diagnostics.
…use of "unnecessary" diagostics).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…erop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…erop.SourceGeneration/Marshalling/CustomTypeMarshallingGenerator.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…erop.SourceGeneration/Marshalling/DelegateMarshaller.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…enerator/Marshallers/ComInterfaceDispatchMarshallerFactory.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…erop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…erop.SourceGeneration/Marshalling/ByValueMarshalKindSupportDescriptor.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
…erop.SourceGeneration/Marshalling/ByValueContentsMarshalKindValidator.cs Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
jkoritzinsky
left a comment
There was a problem hiding this comment.
My only remaining concern is the commented-out test cases in CompileFails.cs. Let's either enable them or open an issue and add that issue link before them (as we can't use [ActiveIssue] for specific test cases).
jtschuster
commented
Jul 13, 2023
Failures are known |
Fixes#88205. The warning used to say the default is [In] for blittable arrays, when the default is [In, Out].
Reworks how Unnecessary / Not supported / supported [In, Out] diagnostic reporting is implemented. Each marshaller will decide which details are provided with the diagnostic and which attributes are unnecessary.
Shares a single Strings.resx with all projects. "Com" or "LibraryImport" suffixes were added to string names that conflicted.