Skip to content

Commit 9a87087

Browse files
Use CannotResolveException:InvalidOperationException instead of InvalidOperationException
1 parent eb3200a commit 9a87087

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Pure.DI.Core/Components/Api.g.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3787,7 +3787,9 @@ internal interface IResolver<TComposite, out T>
37873787
/// <summary>
37883788
/// Represents an exception thrown when a required composition root cannot be resolved.
37893789
/// </summary>
3790+
#if NETSTANDARD2_0_OR_GREATER
37903791
[global::System.Serializable]
3792+
#endif
37913793
internal class CannotResolveException: global::System.InvalidOperationException
37923794
{
37933795
/// <summary>

0 commit comments

Comments
 (0)