Add the CustomTypeMarshallerAttribute type to make it easier to identify marshaller types#65591
Conversation
…ify which types are marshaller types to make it easier to version the shape model and help users write shape types.
|
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsAdd a This PR also updates the design docs.
|
8464fa2 to
3104a16
Compare
docs/design/libraries/LibraryImportGenerator/SpanMarshallers.md
Outdated
Show resolved
Hide resolved
docs/design/libraries/LibraryImportGenerator/SpanMarshallers.md
Outdated
Show resolved
Hide resolved
docs/design/libraries/LibraryImportGenerator/StructMarshalling.md
Outdated
Show resolved
Hide resolved
docs/design/libraries/LibraryImportGenerator/StructMarshalling.md
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Runtime/InteropServices/CustomTypeMarshallerDirection.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Runtime/InteropServices/CustomTypeMarshallerDirection.cs
Outdated
Show resolved
Hide resolved
...s/System.Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/AnalyzerDiagnostics.cs
Outdated
Show resolved
Hide resolved
07803e6 to
61673ac
Compare
elinor-fung
left a comment
There was a problem hiding this comment.
Generally looks good to me. I think we should run libraries-outerloop on this too, since we know we've affected entire suites in those with no indication in innerloop before.
src/libraries/Common/src/System/Runtime/InteropServices/GeneratedMarshallingAttribute.cs
Outdated
Show resolved
Hide resolved
docs/design/libraries/LibraryImportGenerator/StructMarshalling.md
Outdated
Show resolved
Hide resolved
src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources.resx
Outdated
Show resolved
Hide resolved
src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/Resources.resx
Outdated
Show resolved
Hide resolved
...s/System.Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/AnalyzerDiagnostics.cs
Outdated
Show resolved
Hide resolved
...s/System.Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/AnalyzerDiagnostics.cs
Outdated
Show resolved
Hide resolved
...s/System.Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/AnalyzerDiagnostics.cs
Outdated
Show resolved
Hide resolved
...s/gen/Microsoft.Interop.SourceGeneration/Marshalling/ICustomNativeTypeMarshallingStrategy.cs
Outdated
Show resolved
Hide resolved
...s/gen/Microsoft.Interop.SourceGeneration/Marshalling/ICustomNativeTypeMarshallingStrategy.cs
Show resolved
Hide resolved
|
Failures are dotnet/roslyn-sdk#974, #59542, and #64964/#66852 |
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Test failures from the runtime-libraries-coreclr outerloop pipelines are as follows: Windows failures are due to deadlettered Helix jobs System.Security.Cryptography.X509Certificates failures are #66803 Regex failure on OSX is a timeout. Not sure what caused that. System.Runtime failures on some Linux lanes: I'll try to figure out what's causing those to fail. |
|
System.Runtime test failures look like #58616 |
…ify marshaller types (dotnet#65591)
Add a
CustomTypeMarshallerAttributetype that goes on the marshaller type to enable us to easily identify marshaller types and provide an easier way for us to analyze and validate the shape of the user-defined marshaller types.This PR also updates the design docs.