-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1406 from FakeItEasy/release/4.8.0
Release 4.8.0
- Loading branch information
Showing
38 changed files
with
1,242 additions
and
1,459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
namespace FakeItEasy.Core | ||
{ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
/// <summary> | ||
/// An exception that is thrown when there was an error creating a Dummy. | ||
/// </summary> | ||
#if FEATURE_BINARY_SERIALIZATION | ||
[Serializable] | ||
#endif | ||
public class DummyCreationException | ||
: Exception | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DummyCreationException"/> class. | ||
/// </summary> | ||
public DummyCreationException() | ||
: base(ExceptionMessages.DummyCreationExceptionDefault) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DummyCreationException"/> class. | ||
/// </summary> | ||
/// <param name="message">The message.</param> | ||
public DummyCreationException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DummyCreationException"/> class. | ||
/// </summary> | ||
/// <param name="message">The message.</param> | ||
/// <param name="innerException">The inner exception.</param> | ||
public DummyCreationException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
|
||
#if FEATURE_BINARY_SERIALIZATION | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DummyCreationException"/> class. | ||
/// </summary> | ||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param> | ||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param> | ||
/// <exception cref="T:System.ArgumentNullException"> | ||
/// The <paramref name="info"/> parameter is null. | ||
/// </exception> | ||
/// <exception cref="T:System.Runtime.Serialization.SerializationException"> | ||
/// The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). | ||
/// </exception> | ||
protected DummyCreationException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
#endif | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.