Add `DiagnosticOr<T>` type for gracefully handling failures in incremental generator...
authorJackson Schuster <36744439+jtschuster@users.noreply.github.com>
Thu, 25 May 2023 18:27:07 +0000 (11:27 -0700)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 18:27:07 +0000 (11:27 -0700)
commitceb1d8636e079ff4d9c207e1da6299a57f8c29d8
tree15eb7763c73696a87f4867bca297532aea48be5a
parentc6ece91b85e27492be26eacebf9682fe25e603e8
Add `DiagnosticOr<T>` type for gracefully handling failures in incremental generator transformations (#86603)
src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceContext.cs
src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.cs
src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceInfo.cs
src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComMethodInfo.cs
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/DiagnosticOr.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/IncrementalValuesProviderExtensions.cs [moved from src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/IncrementalValuesProviderExtensions.cs with 86% similarity]