diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48a32964b2..ec1aa628c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,7 @@ jobs: 2.1.x 3.1.x 5.0.x + 6.0.x - name: Run NUKE run: ./build.ps1 diff --git a/Build/Build.cs b/Build/Build.cs index bb51a113be..756dcc2051 100644 --- a/Build/Build.cs +++ b/Build/Build.cs @@ -42,7 +42,7 @@ class Build : NukeBuild [Solution(GenerateProjects = true)] readonly Solution Solution; - [GitVersion(Framework = "net5.0")] + [GitVersion(Framework = "net6.0")] readonly GitVersion GitVersion; [PackageExecutable("nspec", "NSpecRunner.exe", Version = "3.1.0")] @@ -159,7 +159,7 @@ class Build : NukeBuild .Executes(() => { ReportGenerator(s => s - .SetProcessToolPath(ToolPathResolver.GetPackageExecutable("ReportGenerator", "ReportGenerator.dll", framework: "net5.0")) + .SetProcessToolPath(ToolPathResolver.GetPackageExecutable("ReportGenerator", "ReportGenerator.dll", framework: "net6.0")) .SetTargetDirectory(RootDirectory / "TestResults" / "reports") .AddReports(RootDirectory / "TestResults/**/coverage.cobertura.xml") .AddReportTypes("HtmlInline_AzurePipelines_Dark", "lcov") diff --git a/Build/_build.csproj b/Build/_build.csproj index af09600ab0..23eaab0deb 100644 --- a/Build/_build.csproj +++ b/Build/_build.csproj @@ -1,7 +1,7 @@  Exe - net5.0 + net6.0 CS0649;CS0169 ..\ diff --git a/README.md b/README.md index bc98fab00d..eb819e72ce 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Coverage Status](https://coveralls.io/repos/github/fluentassertions/fluentassertions/badge.svg?branch=develop)](https://coveralls.io/github/fluentassertions/fluentassertions?branch=develop) # About this project -A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET Standard 2.0 and 2.1. +A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. See https://www.fluentassertions.com for [background information](https://fluentassertions.com/about/), [usage documentation](https://fluentassertions.com/introduction), an [extensibility guide](https://fluentassertions.com/extensibility/), support information and more [tips & tricks](https://fluentassertions.com/tips/). @@ -14,7 +14,7 @@ See https://www.fluentassertions.com for [background information](https://fluent Originally authored by Dennis Doomen with Jonas Nyrup as the productive side-kick. Notable contributions were provided by Artur Krajewski, Lukas Grützmacher and David Omid. # How do I build this? -Install Visual Studio 2019 16.9+ or JetBrains Rider 2021.1.0 as well as the Build Tools 2019 (including the Universal Windows Platform build tools). You will also need to have .NET Framework 4.7 SDK and .NET 5.0 SDK installed. Check [global.json](global.json) for the current minimum required version. +Install Visual Studio 2022 17.0+ or JetBrains Rider 2021.3 as well as the Build Tools 2022 (including the Universal Windows Platform build tools). You will also need to have .NET Framework 4.7 SDK and .NET 6.0 SDK installed. Check [global.json](global.json) for the current minimum required version. # What are these Approval.Tests? This is a special set of tests that use the [Verify](https://github.com/VerifyTests/Verify) project to verify whether you've introduced any breaking changes in the public API of the library. diff --git a/Src/FluentAssertions/Execution/AssertionScope.cs b/Src/FluentAssertions/Execution/AssertionScope.cs index 1460f4155f..ab7251a453 100644 --- a/Src/FluentAssertions/Execution/AssertionScope.cs +++ b/Src/FluentAssertions/Execution/AssertionScope.cs @@ -23,6 +23,7 @@ public sealed class AssertionScope : IAssertionScope private readonly FormattingOptions formattingOptions = AssertionOptions.FormattingOptions.Clone(); private readonly IAssertionStrategy assertionStrategy; private readonly ContextDataItems contextData = new(); + private readonly StringBuilder tracing = new(); private Func reason; @@ -32,7 +33,6 @@ public sealed class AssertionScope : IAssertionScope private Func expectation; private string fallbackIdentifier = "object"; private bool? succeeded; - private readonly StringBuilder tracing = new(); private sealed class DeferredReportable { diff --git a/Src/FluentAssertions/FluentAssertions.csproj b/Src/FluentAssertions/FluentAssertions.csproj index 891978abe9..9c82594817 100644 --- a/Src/FluentAssertions/FluentAssertions.csproj +++ b/Src/FluentAssertions/FluentAssertions.csproj @@ -1,7 +1,7 @@ - net47;netcoreapp2.1;netcoreapp3.0;netstandard2.0;netstandard2.1 + net47;net6.0;netcoreapp2.1;netcoreapp3.0;netstandard2.0;netstandard2.1 True FluentAssertions.snk true @@ -18,7 +18,7 @@ Dennis Doomen;Jonas Nyrup A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or - BDD-style unit tests. Targets .NET Framework 4.7, .NET Core 2.1 and 3.0, as well as .NET Standard 2.0 and 2.1. + BDD-style unit tests. Targets .NET Framework 4.7, .NET Core 2.1 and 3.0, .NET 6, as well as .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3. https://www.fluentassertions.com @@ -31,7 +31,7 @@ Copyright Dennis Doomen 2010-2020 9.0 - + false false false @@ -65,10 +65,10 @@ - + - + @@ -83,6 +83,9 @@ + + + @@ -91,7 +94,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Src/FluentAssertions/ObjectAssertionsExtensions.cs b/Src/FluentAssertions/ObjectAssertionsExtensions.cs index be0b15340b..aa563dec48 100644 --- a/Src/FluentAssertions/ObjectAssertionsExtensions.cs +++ b/Src/FluentAssertions/ObjectAssertionsExtensions.cs @@ -147,9 +147,11 @@ private static object CreateCloneUsingBinarySerializer(object subject) Binder = new SimpleBinder(subject.GetType()) }; +#pragma warning disable SYSLIB0011 // BinaryFormatter is obsoleted, GH-issue 1779 tracks the upcoming removal in .NET 8.0 binaryFormatter.Serialize(stream, subject); stream.Position = 0; return binaryFormatter.Deserialize(stream); +#pragma warning restore SYSLIB0011 } private class SimpleBinder : SerializationBinder diff --git a/Src/FluentAssertions/StringSyntaxAttribute.cs b/Src/FluentAssertions/StringSyntaxAttribute.cs index 13ce1ad65e..dab276d189 100644 --- a/Src/FluentAssertions/StringSyntaxAttribute.cs +++ b/Src/FluentAssertions/StringSyntaxAttribute.cs @@ -2,7 +2,6 @@ #if !NET7_0_OR_GREATER // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. - #nullable enable namespace System.Diagnostics.CodeAnalysis diff --git a/Tests/Approval.Tests/ApiApproval.cs b/Tests/Approval.Tests/ApiApproval.cs index 6c37f2f21c..3a2973f550 100644 --- a/Tests/Approval.Tests/ApiApproval.cs +++ b/Tests/Approval.Tests/ApiApproval.cs @@ -19,6 +19,7 @@ public class ApiApproval { [Theory] [InlineData("net47")] + [InlineData("net6.0")] [InlineData("netstandard2.0")] [InlineData("netstandard2.1")] [InlineData("netcoreapp2.1")] diff --git a/Tests/Approval.Tests/Approval.Tests.csproj b/Tests/Approval.Tests/Approval.Tests.csproj index b9261908b6..74946b3f3f 100644 --- a/Tests/Approval.Tests/Approval.Tests.csproj +++ b/Tests/Approval.Tests/Approval.Tests.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/Tests/Approval.Tests/ApprovedApi/FluentAssertions/net6.0.verified.txt b/Tests/Approval.Tests/ApprovedApi/FluentAssertions/net6.0.verified.txt new file mode 100644 index 0000000000..fc0a3a44f3 --- /dev/null +++ b/Tests/Approval.Tests/ApprovedApi/FluentAssertions/net6.0.verified.txt @@ -0,0 +1,2692 @@ +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/fluentassertions/fluentassertions")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(@"Benchmarks, PublicKey=00240000048000009400000006020000002400005253413100040000010001002d25ff515c85b13ba08f61d466cff5d80a7f28ba197bbf8796085213e7a3406f970d2a4874932fed35db546e89af2da88c194bf1b7f7ac70de7988c78406f7629c547283061282a825616eb7eb48a9514a7570942936020a9bb37dca9ff60b778309900851575614491c6d25018fadb75828f4c7a17bf2d7dc86e7b6eafc5d8f")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(@"FluentAssertions.Equivalency.Specs, PublicKey=00240000048000009400000006020000002400005253413100040000010001002d25ff515c85b13ba08f61d466cff5d80a7f28ba197bbf8796085213e7a3406f970d2a4874932fed35db546e89af2da88c194bf1b7f7ac70de7988c78406f7629c547283061282a825616eb7eb48a9514a7570942936020a9bb37dca9ff60b778309900851575614491c6d25018fadb75828f4c7a17bf2d7dc86e7b6eafc5d8f")] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(@"FluentAssertions.Specs, PublicKey=00240000048000009400000006020000002400005253413100040000010001002d25ff515c85b13ba08f61d466cff5d80a7f28ba197bbf8796085213e7a3406f970d2a4874932fed35db546e89af2da88c194bf1b7f7ac70de7988c78406f7629c547283061282a825616eb7eb48a9514a7570942936020a9bb37dca9ff60b778309900851575614491c6d25018fadb75828f4c7a17bf2d7dc86e7b6eafc5d8f")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")] +namespace FluentAssertions +{ + public class AggregateExceptionExtractor : FluentAssertions.Specialized.IExtractExceptions + { + public AggregateExceptionExtractor() { } + public System.Collections.Generic.IEnumerable OfType(System.Exception actualException) + where T : System.Exception { } + } + public class AndConstraint + { + public AndConstraint(T parentConstraint) { } + public T And { get; } + } + public class AndWhichConstraint : FluentAssertions.AndConstraint + { + public AndWhichConstraint(TParentConstraint parentConstraint, System.Collections.Generic.IEnumerable matchedConstraint) { } + public AndWhichConstraint(TParentConstraint parentConstraint, TMatchedElement matchedConstraint) { } + public TMatchedElement Subject { get; } + public TMatchedElement Which { get; } + } + public static class AssertionExtensions + { + public static TTo As(this object subject) { } + public static System.Func Awaiting(this T subject, System.Func action) { } + public static System.Func Awaiting(this T subject, System.Func action) { } + public static System.Func> Awaiting(this T subject, System.Func> action) { } + public static System.Func> Awaiting(this T subject, System.Func> action) { } + public static System.Action Enumerating(this System.Func enumerable) { } + public static System.Action Enumerating(this System.Func> enumerable) { } + public static System.Action Enumerating(this T subject, System.Func> enumerable) { } + public static FluentAssertions.Specialized.ExecutionTime ExecutionTime(this System.Func action) { } + public static FluentAssertions.Specialized.ExecutionTime ExecutionTime(this System.Action action, FluentAssertions.Common.StartTimer createTimer = null) { } + public static FluentAssertions.Specialized.MemberExecutionTime ExecutionTimeOf(this T subject, System.Linq.Expressions.Expression> action, FluentAssertions.Common.StartTimer createTimer = null) { } + public static System.Action Invoking(this T subject, System.Action action) { } + public static System.Func Invoking(this T subject, System.Func action) { } + public static FluentAssertions.Events.IMonitor Monitor(this T eventSource, System.Func utcNow = null) { } + public static FluentAssertions.Specialized.ExecutionTimeAssertions Should(this FluentAssertions.Specialized.ExecutionTime executionTime) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Specialized.ExecutionTimeAssertions _) { } + public static FluentAssertions.Types.MethodInfoSelectorAssertions Should(this FluentAssertions.Types.MethodInfoSelector methodSelector) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Types.MethodInfoSelectorAssertions _) { } + public static FluentAssertions.Types.PropertyInfoSelectorAssertions Should(this FluentAssertions.Types.PropertyInfoSelector propertyInfoSelector) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Types.PropertyInfoSelectorAssertions _) { } + public static FluentAssertions.Types.TypeSelectorAssertions Should(this FluentAssertions.Types.TypeSelector typeSelector) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Types.TypeSelectorAssertions _) { } + public static FluentAssertions.Specialized.ActionAssertions Should(this System.Action action) { } + public static FluentAssertions.Collections.StringCollectionAssertions Should(this System.Collections.Generic.IEnumerable @this) { } + public static FluentAssertions.Data.DataColumnAssertions Should(this System.Data.DataColumn actualValue) { } + public static FluentAssertions.Primitives.DateTimeAssertions Should(this System.DateTime actualValue) { } + public static FluentAssertions.Primitives.NullableDateTimeAssertions Should(this System.DateTime? actualValue) { } + public static FluentAssertions.Primitives.DateTimeOffsetAssertions Should(this System.DateTimeOffset actualValue) { } + public static FluentAssertions.Primitives.NullableDateTimeOffsetAssertions Should(this System.DateTimeOffset? actualValue) { } + public static FluentAssertions.Specialized.NonGenericAsyncFunctionAssertions Should(this System.Func action) { } + public static FluentAssertions.Primitives.GuidAssertions Should(this System.Guid actualValue) { } + public static FluentAssertions.Primitives.NullableGuidAssertions Should(this System.Guid? actualValue) { } + public static FluentAssertions.Streams.BufferedStreamAssertions Should(this System.IO.BufferedStream actualValue) { } + public static FluentAssertions.Streams.StreamAssertions Should(this System.IO.Stream actualValue) { } + public static FluentAssertions.Primitives.HttpResponseMessageAssertions Should(this System.Net.Http.HttpResponseMessage actualValue) { } + public static FluentAssertions.Reflection.AssemblyAssertions Should(this System.Reflection.Assembly assembly) { } + public static FluentAssertions.Types.ConstructorInfoAssertions Should(this System.Reflection.ConstructorInfo constructorInfo) { } + public static FluentAssertions.Types.MethodInfoAssertions Should(this System.Reflection.MethodInfo methodInfo) { } + public static FluentAssertions.Types.PropertyInfoAssertions Should(this System.Reflection.PropertyInfo propertyInfo) { } + public static FluentAssertions.Primitives.SimpleTimeSpanAssertions Should(this System.TimeSpan actualValue) { } + public static FluentAssertions.Primitives.NullableSimpleTimeSpanAssertions Should(this System.TimeSpan? actualValue) { } + public static FluentAssertions.Types.TypeAssertions Should(this System.Type subject) { } + public static FluentAssertions.Xml.XAttributeAssertions Should(this System.Xml.Linq.XAttribute actualValue) { } + public static FluentAssertions.Xml.XDocumentAssertions Should(this System.Xml.Linq.XDocument actualValue) { } + public static FluentAssertions.Xml.XElementAssertions Should(this System.Xml.Linq.XElement actualValue) { } + public static FluentAssertions.Primitives.BooleanAssertions Should(this bool actualValue) { } + public static FluentAssertions.Primitives.NullableBooleanAssertions Should(this bool? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this byte actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this byte? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this decimal actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this decimal? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this double actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this double? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this float actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this float? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this int actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this int? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this long actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this long? actualValue) { } + public static FluentAssertions.Primitives.ObjectAssertions Should(this object actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this sbyte actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this sbyte? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this short actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this short? actualValue) { } + public static FluentAssertions.Primitives.StringAssertions Should(this string actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this uint actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this uint? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this ulong actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this ulong? actualValue) { } + public static FluentAssertions.Numeric.NumericAssertions Should(this ushort actualValue) { } + public static FluentAssertions.Numeric.NullableNumericAssertions Should(this ushort? actualValue) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.BooleanAssertions _) + where TAssertions : FluentAssertions.Primitives.BooleanAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.DateTimeAssertions _) + where TAssertions : FluentAssertions.Primitives.DateTimeAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.DateTimeOffsetAssertions _) + where TAssertions : FluentAssertions.Primitives.DateTimeOffsetAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.GuidAssertions _) + where TAssertions : FluentAssertions.Primitives.GuidAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.SimpleTimeSpanAssertions _) + where TAssertions : FluentAssertions.Primitives.SimpleTimeSpanAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Specialized.TaskCompletionSourceAssertions _) { } + public static FluentAssertions.Collections.GenericCollectionAssertions Should(this System.Collections.Generic.IEnumerable actualValue) { } + public static FluentAssertions.Specialized.GenericAsyncFunctionAssertions Should(this System.Func> action) { } + public static FluentAssertions.Specialized.FunctionAssertions Should(this System.Func func) { } + public static FluentAssertions.Numeric.ComparableTypeAssertions Should(this System.IComparable comparableValue) { } + public static FluentAssertions.Specialized.TaskCompletionSourceAssertions Should(this System.Threading.Tasks.TaskCompletionSource tcs) { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Numeric.NumericAssertions _) + where TSubject : struct, System.IComparable + where TAssertions : FluentAssertions.Numeric.NumericAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.EnumAssertions _) + where TEnum : struct, System.Enum + where TAssertions : FluentAssertions.Primitives.EnumAssertions { } + [System.Obsolete("You are asserting the \'AndConstraint\' itself. Remove the \'Should()\' method direct" + + "ly following \'And\'", true)] + public static void Should(this FluentAssertions.Primitives.ReferenceTypeAssertions _) + where TAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions { } + public static FluentAssertions.Collections.GenericDictionaryAssertions, TKey, TValue> Should(this System.Collections.Generic.IDictionary actualValue) { } + public static FluentAssertions.Collections.GenericDictionaryAssertions>, TKey, TValue> Should(this System.Collections.Generic.IEnumerable> actualValue) { } + public static FluentAssertions.Collections.GenericDictionaryAssertions Should(this TCollection actualValue) + where TCollection : System.Collections.Generic.IEnumerable> { } + } + public static class AssertionOptions + { + public static FluentAssertions.EquivalencyPlan EquivalencyPlan { get; } + public static FluentAssertions.Formatting.FormattingOptions FormattingOptions { get; } + public static void AssertEquivalencyUsing(System.Func defaultsConfigurer) { } + public static FluentAssertions.Equivalency.EquivalencyAssertionOptions CloneDefaults() { } + } + public static class AsyncAssertionsExtensions + { + public static System.Threading.Tasks.Task, T>> WithResult(this System.Threading.Tasks.Task, T>> task, T expected, string because = "", params object[] becauseArgs) { } + public static System.Threading.Tasks.Task, T>> WithResult(this System.Threading.Tasks.Task, T>> task, T expected, string because = "", params object[] becauseArgs) { } + } + public static class AtLeast + { + public static FluentAssertions.OccurrenceConstraint Once() { } + public static FluentAssertions.OccurrenceConstraint Thrice() { } + public static FluentAssertions.OccurrenceConstraint Times(int expected) { } + public static FluentAssertions.OccurrenceConstraint Twice() { } + } + public static class AtMost + { + public static FluentAssertions.OccurrenceConstraint Once() { } + public static FluentAssertions.OccurrenceConstraint Thrice() { } + public static FluentAssertions.OccurrenceConstraint Times(int expected) { } + public static FluentAssertions.OccurrenceConstraint Twice() { } + } + public static class CallerIdentifier + { + public static System.Action Logger { get; set; } + public static string DetermineCallerIdentity() { } + } + [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)] + public class CustomAssertionAttribute : System.Attribute + { + public CustomAssertionAttribute() { } + } + public static class DataRowAssertionExtensions + { + public static FluentAssertions.Data.DataRowAssertions Should(this TDataRow actualValue) + where TDataRow : System.Data.DataRow { } + } + public static class DataSetAssertionExtensions + { + public static FluentAssertions.Data.DataSetAssertions Should(this TDataSet actualValue) + where TDataSet : System.Data.DataSet { } + } + public static class DataTableAssertionExtensions + { + public static FluentAssertions.Data.DataTableAssertions Should(this TDataTable actualValue) + where TDataTable : System.Data.DataTable { } + } + public static class EnumAssertionsExtensions + { + public static FluentAssertions.Primitives.EnumAssertions Should(this TEnum @enum) + where TEnum : struct, System.Enum { } + public static FluentAssertions.Primitives.NullableEnumAssertions Should(this TEnum? @enum) + where TEnum : struct, System.Enum { } + } + public class EquivalencyPlan : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public EquivalencyPlan() { } + public void Add() + where TStep : FluentAssertions.Equivalency.IEquivalencyStep, new () { } + public void AddAfter() + where TStep : FluentAssertions.Equivalency.IEquivalencyStep, new () { } + public void Clear() { } + public System.Collections.Generic.IEnumerator GetEnumerator() { } + public void Insert() + where TStep : FluentAssertions.Equivalency.IEquivalencyStep, new () { } + public void InsertBefore() + where TStep : FluentAssertions.Equivalency.IEquivalencyStep, new () { } + public void Remove() + where TStep : FluentAssertions.Equivalency.IEquivalencyStep { } + public void Reset() { } + } + public static class EventRaisingExtensions + { + public static FluentAssertions.Events.IEventRecording WithArgs(this FluentAssertions.Events.IEventRecording eventRecording, System.Linq.Expressions.Expression> predicate) { } + public static FluentAssertions.Events.IEventRecording WithArgs(this FluentAssertions.Events.IEventRecording eventRecording, params System.Linq.Expressions.Expression>[] predicates) { } + public static FluentAssertions.Events.IEventRecording WithSender(this FluentAssertions.Events.IEventRecording eventRecording, object expectedSender) { } + } + public static class Exactly + { + public static FluentAssertions.OccurrenceConstraint Once() { } + public static FluentAssertions.OccurrenceConstraint Thrice() { } + public static FluentAssertions.OccurrenceConstraint Times(int expected) { } + public static FluentAssertions.OccurrenceConstraint Twice() { } + } + public static class ExceptionAssertionsExtensions + { + public static System.Threading.Tasks.Task> Where(this System.Threading.Tasks.Task> task, System.Linq.Expressions.Expression> exceptionExpression, string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public static System.Threading.Tasks.Task> WithInnerException(this System.Threading.Tasks.Task> task, System.Type innerException, string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public static System.Threading.Tasks.Task> WithInnerException(this System.Threading.Tasks.Task> task, string because = "", params object[] becauseArgs) + where TException : System.Exception + where TInnerException : System.Exception { } + public static System.Threading.Tasks.Task> WithInnerExceptionExactly(this System.Threading.Tasks.Task> task, System.Type innerException, string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public static System.Threading.Tasks.Task> WithInnerExceptionExactly(this System.Threading.Tasks.Task> task, string because = "", params object[] becauseArgs) + where TException : System.Exception + where TInnerException : System.Exception { } + public static System.Threading.Tasks.Task> WithMessage(this System.Threading.Tasks.Task> task, string expectedWildcardPattern, string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public static FluentAssertions.Specialized.ExceptionAssertions WithParameterName(this FluentAssertions.Specialized.ExceptionAssertions parent, string paramName, string because = "", params object[] becauseArgs) + where TException : System.ArgumentException { } + public static System.Threading.Tasks.Task> WithParameterName(this System.Threading.Tasks.Task> task, string paramName, string because = "", params object[] becauseArgs) + where TException : System.ArgumentException { } + } + public static class FluentActions + { + public static System.Func Awaiting(System.Func action) { } + public static System.Func> Awaiting(System.Func> func) { } + public static System.Action Enumerating(System.Func enumerable) { } + public static System.Action Enumerating(System.Func> enumerable) { } + public static System.Action Invoking(System.Action action) { } + public static System.Func Invoking(System.Func func) { } + } + public static class LessThan + { + public static FluentAssertions.OccurrenceConstraint Thrice() { } + public static FluentAssertions.OccurrenceConstraint Times(int expected) { } + public static FluentAssertions.OccurrenceConstraint Twice() { } + } + public static class MoreThan + { + public static FluentAssertions.OccurrenceConstraint Once() { } + public static FluentAssertions.OccurrenceConstraint Thrice() { } + public static FluentAssertions.OccurrenceConstraint Times(int expected) { } + public static FluentAssertions.OccurrenceConstraint Twice() { } + } + public static class NumericAssertionsExtensions + { + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, decimal expectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, decimal? expectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, double expectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, double? expectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, float expectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, float? expectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, decimal expectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, double expectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, float expectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, byte nearbyValue, byte delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, short nearbyValue, ushort delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, int nearbyValue, uint delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, long nearbyValue, ulong delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, sbyte nearbyValue, byte delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, ushort nearbyValue, ushort delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, uint nearbyValue, uint delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> BeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, ulong nearbyValue, ulong delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, decimal unexpectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, decimal? unexpectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, double unexpectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, double? unexpectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, float unexpectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NullableNumericAssertions parent, float? unexpectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, decimal unexpectedValue, decimal precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, double unexpectedValue, double precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeApproximately(this FluentAssertions.Numeric.NumericAssertions parent, float unexpectedValue, float precision, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, byte distantValue, byte delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, short distantValue, ushort delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, int distantValue, uint delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, long distantValue, ulong delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, sbyte distantValue, byte delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, ushort distantValue, ushort delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, uint distantValue, uint delta, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint> NotBeCloseTo(this FluentAssertions.Numeric.NumericAssertions parent, ulong distantValue, ulong delta, string because = "", params object[] becauseArgs) { } + } + public static class ObjectAssertionsExtensions + { + public static FluentAssertions.AndConstraint BeBinarySerializable(this FluentAssertions.Primitives.ObjectAssertions assertions, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint BeBinarySerializable(this FluentAssertions.Primitives.ObjectAssertions assertions, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> options, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint BeDataContractSerializable(this FluentAssertions.Primitives.ObjectAssertions assertions, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint BeDataContractSerializable(this FluentAssertions.Primitives.ObjectAssertions assertions, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> options, string because = "", params object[] becauseArgs) { } + public static FluentAssertions.AndConstraint BeXmlSerializable(this FluentAssertions.Primitives.ObjectAssertions assertions, string because = "", params object[] becauseArgs) { } + } + public abstract class OccurrenceConstraint + { + protected OccurrenceConstraint(int expectedCount) { } + } + public static class TypeEnumerableExtensions + { + public static System.Collections.Generic.IEnumerable ThatAreClasses(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatAreDecoratedWith(this System.Collections.Generic.IEnumerable types) + where TAttribute : System.Attribute { } + public static System.Collections.Generic.IEnumerable ThatAreDecoratedWithOrInherit(this System.Collections.Generic.IEnumerable types) + where TAttribute : System.Attribute { } + public static System.Collections.Generic.IEnumerable ThatAreInNamespace(this System.Collections.Generic.IEnumerable types, string @namespace) { } + public static System.Collections.Generic.IEnumerable ThatAreNotClasses(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatAreNotDecoratedWith(this System.Collections.Generic.IEnumerable types) + where TAttribute : System.Attribute { } + public static System.Collections.Generic.IEnumerable ThatAreNotDecoratedWithOrInherit(this System.Collections.Generic.IEnumerable types) + where TAttribute : System.Attribute { } + public static System.Collections.Generic.IEnumerable ThatAreNotStatic(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatAreStatic(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatAreUnderNamespace(this System.Collections.Generic.IEnumerable types, string @namespace) { } + public static System.Collections.Generic.IEnumerable ThatDeriveFrom(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatImplement(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable ThatSatisfy(this System.Collections.Generic.IEnumerable types, System.Func predicate) { } + public static System.Collections.Generic.IEnumerable UnwrapEnumerableTypes(this System.Collections.Generic.IEnumerable types) { } + public static System.Collections.Generic.IEnumerable UnwrapTaskTypes(this System.Collections.Generic.IEnumerable types) { } + } + public static class TypeExtensions + { + public static FluentAssertions.Types.MethodInfoSelector Methods(this FluentAssertions.Types.TypeSelector typeSelector) { } + public static FluentAssertions.Types.MethodInfoSelector Methods(this System.Type type) { } + public static FluentAssertions.Types.PropertyInfoSelector Properties(this FluentAssertions.Types.TypeSelector typeSelector) { } + public static FluentAssertions.Types.PropertyInfoSelector Properties(this System.Type type) { } + public static FluentAssertions.Types.TypeSelector Types(this System.Collections.Generic.IEnumerable types) { } + public static FluentAssertions.Types.TypeSelector Types(this System.Reflection.Assembly assembly) { } + public static FluentAssertions.Types.TypeSelector Types(this System.Type type) { } + } + public static class XmlAssertionExtensions + { + public static FluentAssertions.Xml.XmlElementAssertions Should(this System.Xml.XmlElement actualValue) { } + public static FluentAssertions.Xml.XmlNodeAssertions Should(this System.Xml.XmlNode actualValue) { } + } +} +namespace FluentAssertions.Collections +{ + public class GenericCollectionAssertions : FluentAssertions.Collections.GenericCollectionAssertions, T, FluentAssertions.Collections.GenericCollectionAssertions> + { + public GenericCollectionAssertions(System.Collections.Generic.IEnumerable actualValue) { } + } + public class GenericCollectionAssertions : FluentAssertions.Collections.GenericCollectionAssertions> + where TCollection : System.Collections.Generic.IEnumerable + { + public GenericCollectionAssertions(TCollection actualValue) { } + } + public class GenericCollectionAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TCollection : System.Collections.Generic.IEnumerable + where TAssertions : FluentAssertions.Collections.GenericCollectionAssertions + { + public GenericCollectionAssertions(TCollection actualValue) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint AllBeAssignableTo(System.Type expectedType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint> AllBeAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint AllBeEquivalentTo(TExpectation expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint AllBeEquivalentTo(TExpectation expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint AllBeOfType(System.Type expectedType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint> AllBeOfType(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint AllSatisfy(System.Action expected, string because = "", params object[] becauseArgs) { } + protected void AssertCollectionEndsWith(System.Collections.Generic.IEnumerable actual, System.Collections.Generic.ICollection expected, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + protected void AssertCollectionStartsWith(System.Collections.Generic.IEnumerable actualItems, System.Collections.Generic.ICollection expected, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + protected void AssertSubjectEquality(System.Collections.Generic.IEnumerable expectation, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Collections.Generic.IEnumerable expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Collections.Generic.IEnumerable expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInAscendingOrder(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInAscendingOrder(System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInAscendingOrder(System.Func comparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInDescendingOrder(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInDescendingOrder(System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInDescendingOrder(System.Func comparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNullOrEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSubsetOf(System.Collections.Generic.IEnumerable expectedSuperset, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(System.Collections.Generic.IEnumerable expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint Contain(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint Contain(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainEquivalentOf(TExpectation expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainEquivalentOf(TExpectation expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainInOrder(params T[] expected) { } + public FluentAssertions.AndConstraint ContainInOrder(System.Collections.Generic.IEnumerable expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainItemsAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainSingle(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainSingle(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint EndWith(System.Collections.Generic.IEnumerable expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint EndWith(T element, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint EndWith(System.Collections.Generic.IEnumerable expectation, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Equal(params T[] elements) { } + public FluentAssertions.AndConstraint Equal(System.Collections.Generic.IEnumerable expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Equal(System.Collections.Generic.IEnumerable expectation, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCount(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCount(System.Linq.Expressions.Expression> countPredicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountGreaterOrEqualTo(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountGreaterThan(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountGreaterThanOrEqualTo(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountLessOrEqualTo(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountLessThan(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveCountLessThanOrEqualTo(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElementAt(int index, T element, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveElementPreceding(T successor, T expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveElementSucceeding(T predecessor, T expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveSameCount(System.Collections.Generic.IEnumerable otherCollection, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint IntersectWith(System.Collections.Generic.IEnumerable otherCollection, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(System.Collections.Generic.IEnumerable unexpected, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInAscendingOrder(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInAscendingOrder(System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInAscendingOrder(System.Func comparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInDescendingOrder(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInDescendingOrder(System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInDescendingOrder(System.Func comparison, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNullOrEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSubsetOf(System.Collections.Generic.IEnumerable unexpectedSuperset, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContain(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContain(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint NotContain(T unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainEquivalentOf(TExpectation unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainEquivalentOf(TExpectation unexpected, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainInOrder(params T[] unexpected) { } + public FluentAssertions.AndConstraint NotContainInOrder(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainNulls(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainNulls(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) + where TKey : class { } + public FluentAssertions.AndConstraint NotEqual(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveCount(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveSameCount(System.Collections.Generic.IEnumerable otherCollection, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotIntersectWith(System.Collections.Generic.IEnumerable otherCollection, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint OnlyContain(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint OnlyHaveUniqueItems(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint OnlyHaveUniqueItems(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Satisfy(params System.Linq.Expressions.Expression>[] predicates) { } + public FluentAssertions.AndConstraint Satisfy(System.Collections.Generic.IEnumerable>> predicates, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint SatisfyRespectively(params System.Action[] elementInspectors) { } + public FluentAssertions.AndConstraint SatisfyRespectively(System.Collections.Generic.IEnumerable> expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint StartWith(System.Collections.Generic.IEnumerable expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint StartWith(T element, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint StartWith(System.Collections.Generic.IEnumerable expectation, System.Func equalityComparison, string because = "", params object[] becauseArgs) { } + protected static System.Collections.Generic.IEnumerable RepeatAsManyAs(TExpectation value, System.Collections.Generic.IEnumerable enumerable) { } + } + public class GenericDictionaryAssertions : FluentAssertions.Collections.GenericDictionaryAssertions> + where TCollection : System.Collections.Generic.IEnumerable> + { + public GenericDictionaryAssertions(TCollection keyValuePairs) { } + } + public class GenericDictionaryAssertions : FluentAssertions.Collections.GenericCollectionAssertions, TAssertions> + where TCollection : System.Collections.Generic.IEnumerable> + where TAssertions : FluentAssertions.Collections.GenericDictionaryAssertions + { + public GenericDictionaryAssertions(TCollection keyValuePairs) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(params System.Collections.Generic.KeyValuePair[] expected) { } + public FluentAssertions.AndConstraint Contain(System.Collections.Generic.IEnumerable> expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(System.Collections.Generic.KeyValuePair expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(TKey key, TValue value, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Collections.WhoseValueConstraint ContainKey(TKey expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainKeys(params TKey[] expected) { } + public FluentAssertions.AndConstraint ContainKeys(System.Collections.Generic.IEnumerable expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainValue(TValue expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainValues(params TValue[] expected) { } + public FluentAssertions.AndConstraint ContainValues(System.Collections.Generic.IEnumerable expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Equal(T expected, string because = "", params object[] becauseArgs) + where T : System.Collections.Generic.IEnumerable> { } + public FluentAssertions.AndConstraint NotContain(params System.Collections.Generic.KeyValuePair[] items) { } + public FluentAssertions.AndConstraint NotContain(System.Collections.Generic.IEnumerable> items, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContain(System.Collections.Generic.KeyValuePair item, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContain(TKey key, TValue value, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainKey(TKey unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainKeys(params TKey[] unexpected) { } + public FluentAssertions.AndConstraint NotContainKeys(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainValue(TValue unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainValues(params TValue[] unexpected) { } + public FluentAssertions.AndConstraint NotContainValues(System.Collections.Generic.IEnumerable unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotEqual(T unexpected, string because = "", params object[] becauseArgs) + where T : System.Collections.Generic.IEnumerable> { } + } + public class StringCollectionAssertions : FluentAssertions.Collections.StringCollectionAssertions> + { + public StringCollectionAssertions(System.Collections.Generic.IEnumerable actualValue) { } + } + public class StringCollectionAssertions : FluentAssertions.Collections.StringCollectionAssertions> + where TCollection : System.Collections.Generic.IEnumerable + { + public StringCollectionAssertions(TCollection actualValue) { } + } + public class StringCollectionAssertions : FluentAssertions.Collections.GenericCollectionAssertions + where TCollection : System.Collections.Generic.IEnumerable + where TAssertions : FluentAssertions.Collections.StringCollectionAssertions + { + public StringCollectionAssertions(TCollection actualValue) { } + public FluentAssertions.AndConstraint AllBe(string expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint AllBe(string expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(params string[] expectation) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Collections.Generic.IEnumerable expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Collections.Generic.IEnumerable expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint ContainMatch(string wildcardPattern, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Equal(System.Collections.Generic.IEnumerable expected) { } + public FluentAssertions.AndConstraint Equal(params string[] expected) { } + public FluentAssertions.AndConstraint NotContainMatch(string wildcardPattern, string because = "", params object[] becauseArgs) { } + } + public class SubsequentOrderingAssertions : FluentAssertions.Collections.SubsequentOrderingGenericCollectionAssertions, T, FluentAssertions.Collections.SubsequentOrderingAssertions> + { + public SubsequentOrderingAssertions(System.Collections.Generic.IEnumerable actualValue, System.Linq.IOrderedEnumerable previousOrderedEnumerable) { } + } + public class SubsequentOrderingGenericCollectionAssertions : FluentAssertions.Collections.SubsequentOrderingGenericCollectionAssertions> + where TCollection : System.Collections.Generic.IEnumerable + { + public SubsequentOrderingGenericCollectionAssertions(TCollection actualValue, System.Linq.IOrderedEnumerable previousOrderedEnumerable) { } + } + public class SubsequentOrderingGenericCollectionAssertions : FluentAssertions.Collections.GenericCollectionAssertions + where TCollection : System.Collections.Generic.IEnumerable + where TAssertions : FluentAssertions.Collections.SubsequentOrderingGenericCollectionAssertions + { + public SubsequentOrderingGenericCollectionAssertions(TCollection actualValue, System.Linq.IOrderedEnumerable previousOrderedEnumerable) { } + public FluentAssertions.AndConstraint> ThenBeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> ThenBeInAscendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> ThenBeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> ThenBeInDescendingOrder(System.Linq.Expressions.Expression> propertyExpression, System.Collections.Generic.IComparer comparer, string because = "", params object[] becauseArgs) { } + } + public class WhoseValueConstraint : FluentAssertions.AndConstraint + where TCollection : System.Collections.Generic.IEnumerable> + where TAssertions : FluentAssertions.Collections.GenericDictionaryAssertions + { + public WhoseValueConstraint(TAssertions parentConstraint, TValue value) { } + public TValue WhoseValue { get; } + } +} +namespace FluentAssertions.Common +{ + public enum CSharpAccessModifier + { + Public = 0, + Private = 1, + Protected = 2, + Internal = 3, + ProtectedInternal = 4, + InvalidForCSharp = 5, + PrivateProtected = 6, + } + public class Configuration + { + public Configuration(FluentAssertions.Common.IConfigurationStore store) { } + public string TestFrameworkName { get; set; } + public string ValueFormatterAssembly { get; set; } + public FluentAssertions.Common.ValueFormatterDetectionMode ValueFormatterDetectionMode { get; set; } + public static FluentAssertions.Common.Configuration Current { get; } + } + public static class DateTimeExtensions + { + public static System.DateTimeOffset ToDateTimeOffset(this System.DateTime dateTime) { } + public static System.DateTimeOffset ToDateTimeOffset(this System.DateTime dateTime, System.TimeSpan offset) { } + } + public interface IClock + { + void Delay(System.TimeSpan timeToDelay); + System.Threading.Tasks.Task DelayAsync(System.TimeSpan delay, System.Threading.CancellationToken cancellationToken); + FluentAssertions.Common.ITimer StartTimer(); + } + public interface IConfigurationStore + { + string GetSetting(string name); + } + public interface IReflector + { + System.Collections.Generic.IEnumerable GetAllTypesFromAppDomain(System.Func predicate); + } + public interface ITimer : System.IDisposable + { + System.TimeSpan Elapsed { get; } + } + public static class Services + { + public static FluentAssertions.Common.Configuration Configuration { get; } + public static FluentAssertions.Common.IConfigurationStore ConfigurationStore { get; set; } + public static FluentAssertions.Common.IReflector Reflector { get; set; } + public static System.Action ThrowException { get; set; } + public static void ResetToDefaults() { } + } + public delegate FluentAssertions.Common.ITimer StartTimer(); + public enum ValueFormatterDetectionMode + { + Disabled = 0, + Specific = 1, + Scan = 2, + } +} +namespace FluentAssertions.Data +{ + public class DataColumnAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public DataColumnAssertions(System.Data.DataColumn dataColumn) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Data.DataColumn expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Data.DataColumn expectation, System.Func, FluentAssertions.Data.IDataEquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + } + public class DataRowAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions> + where TDataRow : System.Data.DataRow + { + public DataRowAssertions(TDataRow dataRow) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataRow expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataRow expectation, System.Func, FluentAssertions.Data.IDataEquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint, System.Data.DataColumn> HaveColumn(string expectedColumnName, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> HaveColumns(params string[] expectedColumnNames) { } + public FluentAssertions.AndConstraint> HaveColumns(System.Collections.Generic.IEnumerable expectedColumnNames, string because = "", params object[] becauseArgs) { } + } + public class DataSetAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions> + where TDataSet : System.Data.DataSet + { + public DataSetAssertions(TDataSet dataSet) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataSet expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataSet expectation, System.Func, FluentAssertions.Data.IDataEquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint, System.Data.DataTable> HaveTable(string expectedTableName, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> HaveTableCount(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> HaveTables(params string[] expectedTableNames) { } + public FluentAssertions.AndConstraint> HaveTables(System.Collections.Generic.IEnumerable expectedTableNames, string because = "", params object[] becauseArgs) { } + } + public class DataTableAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions> + where TDataTable : System.Data.DataTable + { + public DataTableAssertions(TDataTable dataTable) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataTable expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> BeEquivalentTo(System.Data.DataTable expectation, System.Func, FluentAssertions.Data.IDataEquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint, System.Data.DataColumn> HaveColumn(string expectedColumnName, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> HaveColumns(params string[] expectedColumnNames) { } + public FluentAssertions.AndConstraint> HaveColumns(System.Collections.Generic.IEnumerable expectedColumnNames, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> HaveRowCount(int expected, string because = "", params object[] becauseArgs) { } + } + public interface IDataEquivalencyAssertionOptions : FluentAssertions.Equivalency.IEquivalencyAssertionOptions + { + FluentAssertions.Data.IDataEquivalencyAssertionOptions AllowingMismatchedTypes(); + FluentAssertions.Data.IDataEquivalencyAssertionOptions Excluding(System.Linq.Expressions.Expression> predicate); + FluentAssertions.Data.IDataEquivalencyAssertionOptions Excluding(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumn(System.Data.DataColumn column); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumn(string tableName, string columnName); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumnInAllTables(string columnName); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumns(System.Collections.Generic.IEnumerable columns); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumns(params System.Data.DataColumn[] columns); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumns(string tableName, System.Collections.Generic.IEnumerable columnNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumns(string tableName, params string[] columnNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumnsInAllTables(System.Collections.Generic.IEnumerable columnNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingColumnsInAllTables(params string[] columnNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingOriginalData(); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingRelated(System.Linq.Expressions.Expression> expression); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingTable(string tableName); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingTables(System.Collections.Generic.IEnumerable tableNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions ExcludingTables(params string[] tableNames); + FluentAssertions.Data.IDataEquivalencyAssertionOptions IgnoringUnmatchedColumns(); + FluentAssertions.Data.IDataEquivalencyAssertionOptions UsingRowMatchMode(FluentAssertions.Data.RowMatchMode rowMatchMode); + } + public enum RowMatchMode + { + Index = 0, + PrimaryKey = 1, + } +} +namespace FluentAssertions.Equivalency +{ + public class Comparands + { + public Comparands() { } + public Comparands(object subject, object expectation, System.Type compileTimeType) { } + public System.Type CompileTimeType { get; set; } + public object Expectation { get; set; } + public System.Type RuntimeType { get; } + public object Subject { get; set; } + public System.Type GetExpectedType(FluentAssertions.Equivalency.IEquivalencyAssertionOptions options) { } + public override string ToString() { } + } + public class ConversionSelector + { + public ConversionSelector() { } + public FluentAssertions.Equivalency.ConversionSelector Clone() { } + public void Exclude(System.Linq.Expressions.Expression> predicate) { } + public void Include(System.Linq.Expressions.Expression> predicate) { } + public void IncludeAll() { } + public bool RequiresConversion(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.INode currentNode) { } + public override string ToString() { } + } + public enum CyclicReferenceHandling + { + Ignore = 0, + ThrowException = 1, + } + public enum EnumEquivalencyHandling + { + ByValue = 0, + ByName = 1, + } + public enum EqualityStrategy + { + Equals = 0, + Members = 1, + ForceEquals = 2, + ForceMembers = 3, + } + public class EquivalencyAssertionOptions : FluentAssertions.Equivalency.SelfReferenceEquivalencyAssertionOptions + { + public EquivalencyAssertionOptions() { } + } + public class EquivalencyAssertionOptions : FluentAssertions.Equivalency.SelfReferenceEquivalencyAssertionOptions> + { + public EquivalencyAssertionOptions() { } + public EquivalencyAssertionOptions(FluentAssertions.Equivalency.IEquivalencyAssertionOptions defaults) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions> AsCollection() { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions Excluding(System.Linq.Expressions.Expression> expression) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions Including(System.Linq.Expressions.Expression> expression) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions WithMapping(string expectationMemberPath, string subjectMemberPath) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions WithMapping(System.Linq.Expressions.Expression> expectationMemberPath, System.Linq.Expressions.Expression> subjectMemberPath) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions WithMapping(System.Linq.Expressions.Expression> expectationMember, System.Linq.Expressions.Expression> subjectMember) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions WithMapping(string expectationMemberName, string subjectMemberName) { } + public FluentAssertions.Equivalency.EquivalencyAssertionOptions WithStrictOrderingFor(System.Linq.Expressions.Expression> expression) { } + } + public enum EquivalencyResult + { + ContinueWithNext = 0, + AssertionCompleted = 1, + } + public abstract class EquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + protected EquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + protected abstract FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator); + } + public class EquivalencyValidationContext : FluentAssertions.Equivalency.IEquivalencyValidationContext + { + public EquivalencyValidationContext(FluentAssertions.Equivalency.INode root, FluentAssertions.Equivalency.IEquivalencyAssertionOptions options) { } + public FluentAssertions.Equivalency.INode CurrentNode { get; } + public FluentAssertions.Equivalency.IEquivalencyAssertionOptions Options { get; } + public FluentAssertions.Execution.Reason Reason { get; set; } + public FluentAssertions.Equivalency.Tracing.ITraceWriter TraceWriter { get; set; } + public FluentAssertions.Equivalency.Tracing.Tracer Tracer { get; } + public FluentAssertions.Equivalency.IEquivalencyValidationContext AsCollectionItem(string index) { } + public FluentAssertions.Equivalency.IEquivalencyValidationContext AsDictionaryItem(TKey key) { } + public FluentAssertions.Equivalency.IEquivalencyValidationContext AsNestedMember(FluentAssertions.Equivalency.IMember expectationMember) { } + public FluentAssertions.Equivalency.IEquivalencyValidationContext Clone() { } + public bool IsCyclicReference(object expectation) { } + public override string ToString() { } + } + public class EquivalencyValidator : FluentAssertions.Equivalency.IEquivalencyValidator + { + public EquivalencyValidator() { } + public void AssertEquality(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.EquivalencyValidationContext context) { } + public void RecursivelyAssertEquality(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context) { } + } + public class Field : FluentAssertions.Equivalency.Node, FluentAssertions.Equivalency.IMember, FluentAssertions.Equivalency.INode + { + public Field(System.Reflection.FieldInfo fieldInfo, FluentAssertions.Equivalency.INode parent) { } + public Field(System.Type reflectedType, System.Reflection.FieldInfo fieldInfo, FluentAssertions.Equivalency.INode parent) { } + public System.Type DeclaringType { get; set; } + public override string Description { get; } + public FluentAssertions.Common.CSharpAccessModifier GetterAccessibility { get; } + public bool IsBrowsable { get; } + public System.Type ReflectedType { get; } + public FluentAssertions.Common.CSharpAccessModifier SetterAccessibility { get; } + public object GetValue(object obj) { } + } + public delegate string GetSubjectId(); + public interface IAssertionContext + { + string Because { get; set; } + object[] BecauseArgs { get; set; } + TSubject Expectation { get; } + FluentAssertions.Equivalency.INode SelectedNode { get; } + TSubject Subject { get; } + } + public interface IEquivalencyAssertionOptions + { + bool AllowInfiniteRecursion { get; } + bool CompareRecordsByValue { get; } + FluentAssertions.Equivalency.ConversionSelector ConversionSelector { get; } + FluentAssertions.Equivalency.CyclicReferenceHandling CyclicReferenceHandling { get; } + FluentAssertions.Equivalency.EnumEquivalencyHandling EnumEquivalencyHandling { get; } + bool ExcludeNonBrowsable { get; } + FluentAssertions.Equivalency.MemberVisibility IncludedFields { get; } + FluentAssertions.Equivalency.MemberVisibility IncludedProperties { get; } + bool IsRecursive { get; } + System.Collections.Generic.IEnumerable MatchingRules { get; } + FluentAssertions.Equivalency.OrderingRuleCollection OrderingRules { get; } + System.Collections.Generic.IEnumerable SelectionRules { get; } + FluentAssertions.Equivalency.Tracing.ITraceWriter TraceWriter { get; } + bool UseRuntimeTyping { get; } + System.Collections.Generic.IEnumerable UserEquivalencySteps { get; } + FluentAssertions.Equivalency.EqualityStrategy GetEqualityStrategy(System.Type type); + } + public interface IEquivalencyStep + { + FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator); + } + public interface IEquivalencyValidationContext + { + FluentAssertions.Equivalency.INode CurrentNode { get; } + FluentAssertions.Equivalency.IEquivalencyAssertionOptions Options { get; } + FluentAssertions.Execution.Reason Reason { get; } + FluentAssertions.Equivalency.Tracing.Tracer Tracer { get; } + FluentAssertions.Equivalency.IEquivalencyValidationContext AsCollectionItem(string index); + FluentAssertions.Equivalency.IEquivalencyValidationContext AsDictionaryItem(TKey key); + FluentAssertions.Equivalency.IEquivalencyValidationContext AsNestedMember(FluentAssertions.Equivalency.IMember expectationMember); + FluentAssertions.Equivalency.IEquivalencyValidationContext Clone(); + bool IsCyclicReference(object expectation); + } + public interface IEquivalencyValidator + { + void RecursivelyAssertEquality(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context); + } + public interface IMember : FluentAssertions.Equivalency.INode + { + System.Type DeclaringType { get; } + FluentAssertions.Common.CSharpAccessModifier GetterAccessibility { get; } + bool IsBrowsable { get; } + System.Type ReflectedType { get; } + FluentAssertions.Common.CSharpAccessModifier SetterAccessibility { get; } + object GetValue(object obj); + } + public interface IMemberInfo + { + System.Type DeclaringType { get; } + FluentAssertions.Common.CSharpAccessModifier GetterAccessibility { get; } + string Name { get; } + string Path { get; set; } + FluentAssertions.Common.CSharpAccessModifier SetterAccessibility { get; } + System.Type Type { get; } + } + public interface IMemberMatchingRule + { + FluentAssertions.Equivalency.IMember Match(FluentAssertions.Equivalency.IMember expectedMember, object subject, FluentAssertions.Equivalency.INode parent, FluentAssertions.Equivalency.IEquivalencyAssertionOptions options); + } + public interface IMemberSelectionRule + { + bool IncludesMembers { get; } + System.Collections.Generic.IEnumerable SelectMembers(FluentAssertions.Equivalency.INode currentNode, System.Collections.Generic.IEnumerable selectedMembers, FluentAssertions.Equivalency.MemberSelectionContext context); + } + public interface INode + { + int Depth { get; } + string Description { get; } + FluentAssertions.Equivalency.GetSubjectId GetSubjectId { get; } + bool IsRoot { get; } + string Name { get; set; } + string Path { get; } + string PathAndName { get; } + bool RootIsCollection { get; } + System.Type Type { get; } + } + public interface IObjectInfo + { + System.Type CompileTimeType { get; } + string Path { get; set; } + System.Type RuntimeType { get; } + System.Type Type { get; } + } + public interface IOrderingRule + { + FluentAssertions.Equivalency.OrderStrictness Evaluate(FluentAssertions.Equivalency.IObjectInfo objectInfo); + } + public static class MemberFactory + { + public static FluentAssertions.Equivalency.IMember Create(System.Reflection.MemberInfo memberInfo, FluentAssertions.Equivalency.INode parent) { } + } + public class MemberSelectionContext + { + public MemberSelectionContext(System.Type compileTimeType, System.Type runtimeType, FluentAssertions.Equivalency.IEquivalencyAssertionOptions options) { } + public FluentAssertions.Equivalency.MemberVisibility IncludedFields { get; } + public FluentAssertions.Equivalency.MemberVisibility IncludedProperties { get; } + public System.Type Type { get; } + } + [System.Flags] + public enum MemberVisibility + { + None = 0, + Internal = 1, + Public = 2, + } + public class Node : FluentAssertions.Equivalency.INode + { + public Node() { } + public int Depth { get; } + public virtual string Description { get; } + public FluentAssertions.Equivalency.GetSubjectId GetSubjectId { get; set; } + public bool IsRoot { get; } + public string Name { get; set; } + public string Path { get; set; } + public string PathAndName { get; } + public bool RootIsCollection { get; set; } + public System.Type Type { get; set; } + public override bool Equals(object obj) { } + public override int GetHashCode() { } + public override string ToString() { } + public static FluentAssertions.Equivalency.INode From(FluentAssertions.Equivalency.GetSubjectId getSubjectId) { } + public static FluentAssertions.Equivalency.INode FromCollectionItem(string index, FluentAssertions.Equivalency.INode parent) { } + public static FluentAssertions.Equivalency.INode FromDictionaryItem(object key, FluentAssertions.Equivalency.INode parent) { } + } + public enum OrderStrictness + { + Strict = 0, + NotStrict = 1, + Irrelevant = 2, + } + public class OrderingRuleCollection : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public OrderingRuleCollection() { } + public OrderingRuleCollection(System.Collections.Generic.IEnumerable orderingRules) { } + public void Add(FluentAssertions.Equivalency.IOrderingRule rule) { } + public System.Collections.Generic.IEnumerator GetEnumerator() { } + public bool IsOrderingStrictFor(FluentAssertions.Equivalency.IObjectInfo objectInfo) { } + } + public class Property : FluentAssertions.Equivalency.Node, FluentAssertions.Equivalency.IMember, FluentAssertions.Equivalency.INode + { + public Property(System.Reflection.PropertyInfo propertyInfo, FluentAssertions.Equivalency.INode parent) { } + public Property(System.Type reflectedType, System.Reflection.PropertyInfo propertyInfo, FluentAssertions.Equivalency.INode parent) { } + public System.Type DeclaringType { get; } + public override string Description { get; } + public FluentAssertions.Common.CSharpAccessModifier GetterAccessibility { get; } + public bool IsBrowsable { get; } + public System.Type ReflectedType { get; } + public FluentAssertions.Common.CSharpAccessModifier SetterAccessibility { get; } + public object GetValue(object obj) { } + } + public abstract class SelfReferenceEquivalencyAssertionOptions : FluentAssertions.Equivalency.IEquivalencyAssertionOptions + where TSelf : FluentAssertions.Equivalency.SelfReferenceEquivalencyAssertionOptions + { + protected SelfReferenceEquivalencyAssertionOptions(FluentAssertions.Equivalency.IEquivalencyAssertionOptions defaults) { } + public bool CompareRecordsByValue { get; } + public FluentAssertions.Equivalency.ConversionSelector ConversionSelector { get; } + [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)] + protected FluentAssertions.Equivalency.OrderingRuleCollection OrderingRules { get; } + public FluentAssertions.Equivalency.Tracing.ITraceWriter TraceWriter { get; } + protected TSelf AddMatchingRule(FluentAssertions.Equivalency.IMemberMatchingRule matchingRule) { } + protected TSelf AddSelectionRule(FluentAssertions.Equivalency.IMemberSelectionRule selectionRule) { } + public TSelf AllowingInfiniteRecursion() { } + public TSelf ComparingByMembers(System.Type type) { } + public TSelf ComparingByMembers() { } + public TSelf ComparingByValue(System.Type type) { } + public TSelf ComparingByValue() { } + public TSelf ComparingEnumsByName() { } + public TSelf ComparingEnumsByValue() { } + public TSelf ComparingRecordsByMembers() { } + public TSelf ComparingRecordsByValue() { } + public TSelf Excluding(System.Linq.Expressions.Expression> predicate) { } + public TSelf ExcludingFields() { } + public TSelf ExcludingMissingMembers() { } + public TSelf ExcludingNestedObjects() { } + public TSelf ExcludingNonBrowsableMembers() { } + public TSelf ExcludingProperties() { } + public TSelf IgnoringCyclicReferences() { } + public TSelf Including(System.Linq.Expressions.Expression> predicate) { } + public TSelf IncludingAllDeclaredProperties() { } + public TSelf IncludingAllRuntimeProperties() { } + public TSelf IncludingFields() { } + public TSelf IncludingInternalFields() { } + public TSelf IncludingInternalProperties() { } + public TSelf IncludingNestedObjects() { } + public TSelf IncludingNonBrowsableMembers() { } + public TSelf IncludingProperties() { } + public TSelf RespectingDeclaredTypes() { } + public TSelf RespectingRuntimeTypes() { } + public TSelf ThrowingOnMissingMembers() { } + public override string ToString() { } + public TSelf Using(FluentAssertions.Equivalency.IEquivalencyStep equivalencyStep) { } + public TSelf Using(FluentAssertions.Equivalency.IMemberMatchingRule matchingRule) { } + public TSelf Using(FluentAssertions.Equivalency.IMemberSelectionRule selectionRule) { } + public TSelf Using(FluentAssertions.Equivalency.IOrderingRule orderingRule) { } + public FluentAssertions.Equivalency.SelfReferenceEquivalencyAssertionOptions.Restriction Using(System.Action> action) { } + public TSelf Using(System.Collections.Generic.IEqualityComparer comparer) { } + public TSelf Using() + where TEqualityComparer : System.Collections.Generic.IEqualityComparer, new () { } + public TSelf WithAutoConversion() { } + public TSelf WithAutoConversionFor(System.Linq.Expressions.Expression> predicate) { } + public TSelf WithStrictOrdering() { } + public TSelf WithStrictOrderingFor(System.Linq.Expressions.Expression> predicate) { } + public TSelf WithTracing(FluentAssertions.Equivalency.Tracing.ITraceWriter writer = null) { } + public TSelf WithoutAutoConversionFor(System.Linq.Expressions.Expression> predicate) { } + public void WithoutMatchingRules() { } + public void WithoutSelectionRules() { } + public TSelf WithoutStrictOrdering() { } + public TSelf WithoutStrictOrderingFor(System.Linq.Expressions.Expression> predicate) { } + public class Restriction + { + public Restriction(TSelf options, System.Action> action) { } + public TSelf When(System.Linq.Expressions.Expression> predicate) { } + public TSelf WhenTypeIs() + where TMemberType : TMember { } + } + } + public static class SubjectInfoExtensions + { + public static bool WhichGetterDoesNotHave(this FluentAssertions.Equivalency.IMemberInfo memberInfo, FluentAssertions.Common.CSharpAccessModifier accessModifier) { } + public static bool WhichGetterHas(this FluentAssertions.Equivalency.IMemberInfo memberInfo, FluentAssertions.Common.CSharpAccessModifier accessModifier) { } + public static bool WhichSetterDoesNotHave(this FluentAssertions.Equivalency.IMemberInfo memberInfo, FluentAssertions.Common.CSharpAccessModifier accessModifier) { } + public static bool WhichSetterHas(this FluentAssertions.Equivalency.IMemberInfo memberInfo, FluentAssertions.Common.CSharpAccessModifier accessModifier) { } + } +} +namespace FluentAssertions.Equivalency.Steps +{ + public class AssertionRuleEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public AssertionRuleEquivalencyStep(System.Linq.Expressions.Expression> predicate, System.Action> assertion) { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + public override string ToString() { } + } + public class AutoConversionStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public AutoConversionStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + public override string ToString() { } + } + public class ConstraintCollectionEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public ConstraintCollectionEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class ConstraintEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public ConstraintEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataColumnEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataColumnEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataRelationEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataRelationEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataRowCollectionEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataRowCollectionEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataRowEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataRowEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataSetEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataSetEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DataTableEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DataTableEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class DictionaryEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public DictionaryEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class EnumEqualityStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public EnumEqualityStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class EnumerableEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public EnumerableEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class EqualityComparerEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public EqualityComparerEquivalencyStep(System.Collections.Generic.IEqualityComparer comparer) { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + public override string ToString() { } + } + public class GenericDictionaryEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public GenericDictionaryEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class GenericEnumerableEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public GenericEnumerableEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class ReferenceEqualityEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public ReferenceEqualityEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class RunAllUserStepsEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public RunAllUserStepsEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class SimpleEqualityEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public SimpleEqualityEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class StringEqualityEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public StringEqualityEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class StructuralEqualityEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public StructuralEqualityEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class ValueTypeEquivalencyStep : FluentAssertions.Equivalency.IEquivalencyStep + { + public ValueTypeEquivalencyStep() { } + public FluentAssertions.Equivalency.EquivalencyResult Handle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class XAttributeEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public XAttributeEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class XDocumentEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public XDocumentEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } + public class XElementEquivalencyStep : FluentAssertions.Equivalency.EquivalencyStep + { + public XElementEquivalencyStep() { } + protected override FluentAssertions.Equivalency.EquivalencyResult OnHandle(FluentAssertions.Equivalency.Comparands comparands, FluentAssertions.Equivalency.IEquivalencyValidationContext context, FluentAssertions.Equivalency.IEquivalencyValidator nestedValidator) { } + } +} +namespace FluentAssertions.Equivalency.Tracing +{ + public delegate string GetTraceMessage(FluentAssertions.Equivalency.INode node); + public interface ITraceWriter + { + System.IDisposable AddBlock(string trace); + void AddSingle(string trace); + string ToString(); + } + public class StringBuilderTraceWriter : FluentAssertions.Equivalency.Tracing.ITraceWriter + { + public StringBuilderTraceWriter() { } + public System.IDisposable AddBlock(string trace) { } + public void AddSingle(string trace) { } + public override string ToString() { } + } + public class Tracer + { + public override string ToString() { } + public System.IDisposable WriteBlock(FluentAssertions.Equivalency.Tracing.GetTraceMessage getTraceMessage) { } + public void WriteLine(FluentAssertions.Equivalency.Tracing.GetTraceMessage getTraceMessage) { } + } +} +namespace FluentAssertions.Events +{ + public class EventAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions> + { + protected EventAssertions(FluentAssertions.Events.IMonitor monitor) { } + protected override string Identifier { get; } + public void NotRaise(string eventName, string because = "", params object[] becauseArgs) { } + public void NotRaisePropertyChangeFor(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Events.IEventRecording Raise(string eventName, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Events.IEventRecording RaisePropertyChangeFor(System.Linq.Expressions.Expression> propertyExpression, string because = "", params object[] becauseArgs) { } + } + public class EventMetadata + { + public EventMetadata(string eventName, System.Type handlerType) { } + public string EventName { get; } + public System.Type HandlerType { get; } + } + public interface IEventRecording : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + System.Type EventHandlerType { get; } + string EventName { get; } + object EventObject { get; } + } + public interface IMonitor : System.IDisposable + { + FluentAssertions.Events.EventMetadata[] MonitoredEvents { get; } + FluentAssertions.Events.OccurredEvent[] OccurredEvents { get; } + T Subject { get; } + void Clear(); + FluentAssertions.Events.IEventRecording GetRecordingFor(string eventName); + FluentAssertions.Events.EventAssertions Should(); + } + public class OccurredEvent + { + public OccurredEvent() { } + public string EventName { get; set; } + public object[] Parameters { get; set; } + public int Sequence { get; set; } + public System.DateTime TimestampUtc { get; set; } + } +} +namespace FluentAssertions.Execution +{ + [System.Serializable] + public class AssertionFailedException : System.Exception + { + public AssertionFailedException(string message) { } + protected AssertionFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + } + public sealed class AssertionScope : FluentAssertions.Execution.IAssertionScope, System.IDisposable + { + public AssertionScope() { } + public AssertionScope(FluentAssertions.Execution.IAssertionStrategy assertionStrategy) { } + public AssertionScope(System.Lazy context) { } + public AssertionScope(string context) { } + public string CallerIdentity { get; } + public System.Lazy Context { get; set; } + public FluentAssertions.Formatting.FormattingOptions FormattingOptions { get; } + public FluentAssertions.Execution.AssertionScope UsingLineBreaks { get; } + public static FluentAssertions.Execution.AssertionScope Current { get; } + public void AddNonReportable(string key, object value) { } + public void AddPreFormattedFailure(string formattedFailureMessage) { } + public void AddReportable(string key, System.Func valueFunc) { } + public void AddReportable(string key, string value) { } + public void AppendTracing(string tracingBlock) { } + public void AssumeSingleCaller() { } + public FluentAssertions.Execution.AssertionScope BecauseOf(FluentAssertions.Execution.Reason reason) { } + public FluentAssertions.Execution.AssertionScope BecauseOf(string because, params object[] becauseArgs) { } + public FluentAssertions.Execution.Continuation ClearExpectation() { } + public string[] Discard() { } + public void Dispose() { } + public FluentAssertions.Execution.Continuation FailWith(System.Func failReasonFunc) { } + public FluentAssertions.Execution.Continuation FailWith(string message) { } + public FluentAssertions.Execution.Continuation FailWith(string message, params System.Func[] argProviders) { } + public FluentAssertions.Execution.Continuation FailWith(string message, params object[] args) { } + public FluentAssertions.Execution.AssertionScope ForCondition(bool condition) { } + public FluentAssertions.Execution.AssertionScope ForConstraint(FluentAssertions.OccurrenceConstraint constraint, int actualOccurrences) { } + public T Get(string key) { } + public FluentAssertions.Execution.GivenSelector Given(System.Func selector) { } + public bool HasFailures() { } + public FluentAssertions.Execution.AssertionScope WithDefaultIdentifier(string identifier) { } + public FluentAssertions.Execution.AssertionScope WithExpectation(string message, params object[] args) { } + } + public class Continuation + { + public FluentAssertions.Execution.IAssertionScope Then { get; } + public static bool op_Implicit(FluentAssertions.Execution.Continuation continuation) { } + } + public class ContinuationOfGiven + { + public FluentAssertions.Execution.GivenSelector Then { get; } + public static bool op_Implicit(FluentAssertions.Execution.ContinuationOfGiven continuationOfGiven) { } + } + public sealed class ContinuedAssertionScope : FluentAssertions.Execution.IAssertionScope, System.IDisposable + { + public FluentAssertions.Execution.IAssertionScope UsingLineBreaks { get; } + public FluentAssertions.Execution.IAssertionScope BecauseOf(string because, params object[] becauseArgs) { } + public FluentAssertions.Execution.Continuation ClearExpectation() { } + public string[] Discard() { } + public void Dispose() { } + public FluentAssertions.Execution.Continuation FailWith(System.Func failReasonFunc) { } + public FluentAssertions.Execution.Continuation FailWith(string message) { } + public FluentAssertions.Execution.Continuation FailWith(string message, params System.Func[] argProviders) { } + public FluentAssertions.Execution.Continuation FailWith(string message, params object[] args) { } + public FluentAssertions.Execution.IAssertionScope ForCondition(bool condition) { } + public FluentAssertions.Execution.GivenSelector Given(System.Func selector) { } + public FluentAssertions.Execution.IAssertionScope WithDefaultIdentifier(string identifier) { } + public FluentAssertions.Execution.IAssertionScope WithExpectation(string message, params object[] args) { } + } + public static class Execute + { + public static FluentAssertions.Execution.AssertionScope Assertion { get; } + } + public class FailReason + { + public FailReason(string message, params object[] args) { } + public object[] Args { get; } + public string Message { get; } + } + public class GivenSelector + { + public FluentAssertions.Execution.ContinuationOfGiven ClearExpectation() { } + public FluentAssertions.Execution.ContinuationOfGiven FailWith(string message) { } + public FluentAssertions.Execution.ContinuationOfGiven FailWith(string message, params System.Func[] args) { } + public FluentAssertions.Execution.ContinuationOfGiven FailWith(string message, params object[] args) { } + public FluentAssertions.Execution.GivenSelector ForCondition(System.Func predicate) { } + public FluentAssertions.Execution.GivenSelector Given(System.Func selector) { } + } + public interface IAssertionScope : System.IDisposable + { + FluentAssertions.Execution.IAssertionScope UsingLineBreaks { get; } + FluentAssertions.Execution.IAssertionScope BecauseOf(string because, params object[] becauseArgs); + FluentAssertions.Execution.Continuation ClearExpectation(); + string[] Discard(); + FluentAssertions.Execution.Continuation FailWith(System.Func failReasonFunc); + FluentAssertions.Execution.Continuation FailWith(string message); + FluentAssertions.Execution.Continuation FailWith(string message, params System.Func[] argProviders); + FluentAssertions.Execution.Continuation FailWith(string message, params object[] args); + FluentAssertions.Execution.IAssertionScope ForCondition(bool condition); + FluentAssertions.Execution.GivenSelector Given(System.Func selector); + FluentAssertions.Execution.IAssertionScope WithDefaultIdentifier(string identifier); + FluentAssertions.Execution.IAssertionScope WithExpectation(string message, params object[] args); + } + public interface IAssertionStrategy + { + System.Collections.Generic.IEnumerable FailureMessages { get; } + System.Collections.Generic.IEnumerable DiscardFailures(); + void HandleFailure(string message); + void ThrowIfAny(System.Collections.Generic.IDictionary context); + } + public interface ICloneable2 + { + object Clone(); + } + public class Reason + { + public Reason(string formattedMessage, object[] arguments) { } + public object[] Arguments { get; set; } + public string FormattedMessage { get; set; } + } +} +namespace FluentAssertions.Extensions +{ + public static class FluentDateTimeExtensions + { + public static System.DateTime AddMicroseconds(this System.DateTime self, long microseconds) { } + public static System.DateTimeOffset AddMicroseconds(this System.DateTimeOffset self, long microseconds) { } + public static System.DateTime AddNanoseconds(this System.DateTime self, long nanoseconds) { } + public static System.DateTimeOffset AddNanoseconds(this System.DateTimeOffset self, long nanoseconds) { } + public static System.DateTime After(this System.TimeSpan timeDifference, System.DateTime sourceDateTime) { } + public static System.DateTime April(this int day, int year) { } + public static System.DateTime AsLocal(this System.DateTime dateTime) { } + public static System.DateTime AsUtc(this System.DateTime dateTime) { } + public static System.DateTime At(this System.DateTime date, System.TimeSpan time) { } + public static System.DateTime At(this System.DateTime date, int hours, int minutes, int seconds = 0, int milliseconds = 0, int microseconds = 0, int nanoseconds = 0) { } + public static System.DateTimeOffset At(this System.DateTimeOffset date, int hours, int minutes, int seconds = 0, int milliseconds = 0, int microseconds = 0, int nanoseconds = 0) { } + public static System.DateTime August(this int day, int year) { } + public static System.DateTime Before(this System.TimeSpan timeDifference, System.DateTime sourceDateTime) { } + public static System.DateTime December(this int day, int year) { } + public static System.DateTime February(this int day, int year) { } + public static System.DateTime January(this int day, int year) { } + public static System.DateTime July(this int day, int year) { } + public static System.DateTime June(this int day, int year) { } + public static System.DateTime March(this int day, int year) { } + public static System.DateTime May(this int day, int year) { } + public static int Microsecond(this System.DateTime self) { } + public static int Microsecond(this System.DateTimeOffset self) { } + public static int Nanosecond(this System.DateTime self) { } + public static int Nanosecond(this System.DateTimeOffset self) { } + public static System.DateTime November(this int day, int year) { } + public static System.DateTime October(this int day, int year) { } + public static System.DateTime September(this int day, int year) { } + public static System.DateTimeOffset WithOffset(this System.DateTime self, System.TimeSpan offset) { } + } + public static class FluentTimeSpanExtensions + { + public const long TicksPerMicrosecond = 10; + public const double TicksPerNanosecond = 0.01D; + public static System.TimeSpan And(this System.TimeSpan sourceTime, System.TimeSpan offset) { } + public static System.TimeSpan Days(this double days) { } + public static System.TimeSpan Days(this int days) { } + public static System.TimeSpan Days(this int days, System.TimeSpan offset) { } + public static System.TimeSpan Hours(this double hours) { } + public static System.TimeSpan Hours(this int hours) { } + public static System.TimeSpan Hours(this int hours, System.TimeSpan offset) { } + public static int Microseconds(this System.TimeSpan self) { } + public static System.TimeSpan Microseconds(this int microseconds) { } + public static System.TimeSpan Microseconds(this long microseconds) { } + public static System.TimeSpan Milliseconds(this double milliseconds) { } + public static System.TimeSpan Milliseconds(this int milliseconds) { } + public static System.TimeSpan Minutes(this double minutes) { } + public static System.TimeSpan Minutes(this int minutes) { } + public static System.TimeSpan Minutes(this int minutes, System.TimeSpan offset) { } + public static int Nanoseconds(this System.TimeSpan self) { } + public static System.TimeSpan Nanoseconds(this int nanoseconds) { } + public static System.TimeSpan Nanoseconds(this long nanoseconds) { } + public static System.TimeSpan Seconds(this double seconds) { } + public static System.TimeSpan Seconds(this int seconds) { } + public static System.TimeSpan Seconds(this int seconds, System.TimeSpan offset) { } + public static System.TimeSpan Ticks(this int ticks) { } + public static System.TimeSpan Ticks(this long ticks) { } + public static double TotalMicroseconds(this System.TimeSpan self) { } + public static double TotalNanoseconds(this System.TimeSpan self) { } + } +} +namespace FluentAssertions.Formatting +{ + public class AggregateExceptionValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public AggregateExceptionValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class AttributeBasedFormatter : FluentAssertions.Formatting.IValueFormatter + { + public AttributeBasedFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class ByteValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public ByteValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class DateTimeOffsetValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public DateTimeOffsetValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class DecimalValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public DecimalValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class DefaultValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public DefaultValueFormatter() { } + protected virtual int SpacesPerIndentionLevel { get; } + public virtual bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + protected virtual System.Reflection.MemberInfo[] GetMembers(System.Type type) { } + protected virtual string TypeDisplayName(System.Type type) { } + } + public class DictionaryValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public DictionaryValueFormatter() { } + protected virtual int MaxItems { get; } + public virtual bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class DoubleValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public DoubleValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class EnumValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public EnumValueFormatter() { } + public virtual bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class EnumerableValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public EnumerableValueFormatter() { } + protected virtual int MaxItems { get; } + public virtual bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class ExceptionValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public ExceptionValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class ExpressionValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public ExpressionValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public delegate void FormatChild(string childPath, object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph); + public class FormattedObjectGraph + { + public FormattedObjectGraph(int maxLines) { } + public int LineCount { get; } + public static int SpacesPerIndentation { get; } + public void AddFragment(string fragment) { } + public void AddFragmentOnNewLine(string fragment) { } + public void AddLine(string line) { } + public override string ToString() { } + public System.IDisposable WithIndentation() { } + } + public static class Formatter + { + public static System.Collections.Generic.IEnumerable Formatters { get; } + public static void AddFormatter(FluentAssertions.Formatting.IValueFormatter formatter) { } + public static void RemoveFormatter(FluentAssertions.Formatting.IValueFormatter formatter) { } + public static string ToString(object value, FluentAssertions.Formatting.FormattingOptions options = null) { } + } + public class FormattingContext + { + public FormattingContext() { } + public bool UseLineBreaks { get; set; } + } + public class FormattingOptions + { + public FormattingOptions() { } + public int MaxDepth { get; set; } + public int MaxLines { get; set; } + public bool UseLineBreaks { get; set; } + } + public class GuidValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public GuidValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public interface IValueFormatter + { + bool CanHandle(object value); + void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild); + } + public class Int16ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public Int16ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class Int32ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public Int32ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class Int64ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public Int64ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class MaxLinesExceededException : System.Exception + { + public MaxLinesExceededException() { } + public MaxLinesExceededException(string message) { } + public MaxLinesExceededException(string message, System.Exception innerException) { } + } + public class MultidimensionalArrayFormatter : FluentAssertions.Formatting.IValueFormatter + { + public MultidimensionalArrayFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class NullValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public NullValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class PredicateLambdaExpressionValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public PredicateLambdaExpressionValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class PropertyInfoFormatter : FluentAssertions.Formatting.IValueFormatter + { + public PropertyInfoFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class SByteValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public SByteValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class SingleValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public SingleValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class StringValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public StringValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class TaskFormatter : FluentAssertions.Formatting.IValueFormatter + { + public TaskFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class TimeSpanValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public TimeSpanValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class UInt16ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public UInt16ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class UInt32ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public UInt32ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class UInt64ValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public UInt64ValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + [System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)] + public class ValueFormatterAttribute : System.Attribute + { + public ValueFormatterAttribute() { } + } + public class XAttributeValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public XAttributeValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class XDocumentValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public XDocumentValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class XElementValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public XElementValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } + public class XmlReaderValueFormatter : FluentAssertions.Formatting.IValueFormatter + { + public XmlReaderValueFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } +} +namespace FluentAssertions.Numeric +{ + public class ComparableTypeAssertions : FluentAssertions.Numeric.ComparableTypeAssertions> + { + public ComparableTypeAssertions(System.IComparable value) { } + } + public class ComparableTypeAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions, TAssertions> + where TAssertions : FluentAssertions.Numeric.ComparableTypeAssertions + { + public ComparableTypeAssertions(System.IComparable value) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThan(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThanOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeInRange(T minimumValue, T maximumValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThan(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThanOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeRankedEquallyTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(T unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInRange(T minimumValue, T maximumValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeRankedEquallyTo(T unexpected, string because = "", params object[] becauseArgs) { } + } + public class NullableNumericAssertions : FluentAssertions.Numeric.NullableNumericAssertions> + where T : struct, System.IComparable + { + public NullableNumericAssertions(T? value) { } + } + public class NullableNumericAssertions : FluentAssertions.Numeric.NumericAssertions + where T : struct, System.IComparable + where TAssertions : FluentAssertions.Numeric.NullableNumericAssertions + { + public NullableNumericAssertions(T? value) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Match(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NumericAssertions : FluentAssertions.Numeric.NumericAssertions> + where T : struct, System.IComparable + { + public NumericAssertions(T value) { } + } + public class NumericAssertions + where T : struct, System.IComparable + where TAssertions : FluentAssertions.Numeric.NumericAssertions + { + public NumericAssertions(T value) { } + public T? Subject { get; } + public FluentAssertions.AndConstraint Be(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(T? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThan(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThanOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeInRange(T minimumValue, T maximumValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThan(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThanOrEqualTo(T expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNegative(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOfType(System.Type expectedType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(params T[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BePositive(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint Match(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(T unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(T? unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeInRange(T minimumValue, T maximumValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOfType(System.Type unexpectedType, string because = "", params object[] becauseArgs) { } + } +} +namespace FluentAssertions.Primitives +{ + public class BooleanAssertions : FluentAssertions.Primitives.BooleanAssertions + { + public BooleanAssertions(bool? value) { } + } + public class BooleanAssertions + where TAssertions : FluentAssertions.Primitives.BooleanAssertions + { + public BooleanAssertions(bool? value) { } + public bool? Subject { get; } + public FluentAssertions.AndConstraint Be(bool expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeFalse(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeTrue(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBe(bool unexpected, string because = "", params object[] becauseArgs) { } + } + public class DateTimeAssertions : FluentAssertions.Primitives.DateTimeAssertions + { + public DateTimeAssertions(System.DateTime? value) { } + } + public class DateTimeAssertions + where TAssertions : FluentAssertions.Primitives.DateTimeAssertions + { + public DateTimeAssertions(System.DateTime? value) { } + public System.DateTime? Subject { get; } + public FluentAssertions.AndConstraint Be(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(System.DateTime? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAfter(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeRangeAssertions BeAtLeast(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeBefore(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeCloseTo(System.DateTime nearbyTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeRangeAssertions BeExactly(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeIn(System.DateTimeKind expectedKind, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeRangeAssertions BeLessThan(System.TimeSpan timeSpan) { } + public FluentAssertions.Primitives.DateTimeRangeAssertions BeMoreThan(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeOnOrAfter(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOnOrBefore(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(params System.DateTime[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(params System.Nullable[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSameDateAs(System.DateTime expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeRangeAssertions BeWithin(System.TimeSpan timeSpan) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint HaveDay(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveHour(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveMinute(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveMonth(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveSecond(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveYear(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.DateTime? unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAfter(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeBefore(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeCloseTo(System.DateTime distantTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOnOrAfter(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOnOrBefore(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSameDateAs(System.DateTime unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveDay(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveHour(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveMinute(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveMonth(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveSecond(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveYear(int unexpected, string because = "", params object[] becauseArgs) { } + } + public class DateTimeOffsetAssertions : FluentAssertions.Primitives.DateTimeOffsetAssertions + { + public DateTimeOffsetAssertions(System.DateTimeOffset? value) { } + } + public class DateTimeOffsetAssertions + where TAssertions : FluentAssertions.Primitives.DateTimeOffsetAssertions + { + public DateTimeOffsetAssertions(System.DateTimeOffset? value) { } + public System.DateTimeOffset? Subject { get; } + public FluentAssertions.AndConstraint Be(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(System.DateTimeOffset? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAfter(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeOffsetRangeAssertions BeAtLeast(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeBefore(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeCloseTo(System.DateTimeOffset nearbyTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeOffsetRangeAssertions BeExactly(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeExactly(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeExactly(System.DateTimeOffset? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeOffsetRangeAssertions BeLessThan(System.TimeSpan timeSpan) { } + public FluentAssertions.Primitives.DateTimeOffsetRangeAssertions BeMoreThan(System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint BeOnOrAfter(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOnOrBefore(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(params System.DateTimeOffset[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(params System.Nullable[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSameDateAs(System.DateTimeOffset expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Primitives.DateTimeOffsetRangeAssertions BeWithin(System.TimeSpan timeSpan) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint HaveDay(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveHour(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveMinute(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveMonth(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveOffset(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveSecond(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveYear(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.DateTimeOffset? unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAfter(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeBefore(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeCloseTo(System.DateTimeOffset distantTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeExactly(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeExactly(System.DateTimeOffset? unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOnOrAfter(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOnOrBefore(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSameDateAs(System.DateTimeOffset unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveDay(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveHour(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveMinute(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveMonth(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveOffset(System.TimeSpan unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveSecond(int unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveYear(int unexpected, string because = "", params object[] becauseArgs) { } + } + public class DateTimeOffsetRangeAssertions + where TAssertions : FluentAssertions.Primitives.DateTimeOffsetAssertions + { + protected DateTimeOffsetRangeAssertions(TAssertions parentAssertions, System.DateTimeOffset? subject, FluentAssertions.Primitives.TimeSpanCondition condition, System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint After(System.DateTimeOffset target, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Before(System.DateTimeOffset target, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + } + public class DateTimeRangeAssertions + where TAssertions : FluentAssertions.Primitives.DateTimeAssertions + { + protected DateTimeRangeAssertions(TAssertions parentAssertions, System.DateTime? subject, FluentAssertions.Primitives.TimeSpanCondition condition, System.TimeSpan timeSpan) { } + public FluentAssertions.AndConstraint After(System.DateTime target, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Before(System.DateTime target, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + } + public class EnumAssertions : FluentAssertions.Primitives.EnumAssertions> + where TEnum : struct, System.Enum + { + public EnumAssertions(TEnum subject) { } + } + public class EnumAssertions + where TEnum : struct, System.Enum + where TAssertions : FluentAssertions.Primitives.EnumAssertions + { + public EnumAssertions(TEnum subject) { } + public TEnum? Subject { get; } + public FluentAssertions.AndConstraint Be(TEnum expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(TEnum? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(params TEnum[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint HaveFlag(TEnum expectedFlag, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveSameNameAs(T expected, string because = "", params object[] becauseArgs) + where T : struct, System.Enum { } + public FluentAssertions.AndConstraint HaveSameValueAs(T expected, string because = "", params object[] becauseArgs) + where T : struct, System.Enum { } + public FluentAssertions.AndConstraint HaveValue(decimal expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Match(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(TEnum unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(TEnum? unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveFlag(TEnum unexpectedFlag, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveSameNameAs(T unexpected, string because = "", params object[] becauseArgs) + where T : struct, System.Enum { } + public FluentAssertions.AndConstraint NotHaveSameValueAs(T unexpected, string because = "", params object[] becauseArgs) + where T : struct, System.Enum { } + public FluentAssertions.AndConstraint NotHaveValue(decimal unexpected, string because = "", params object[] becauseArgs) { } + } + public class GuidAssertions : FluentAssertions.Primitives.GuidAssertions + { + public GuidAssertions(System.Guid? value) { } + } + public class GuidAssertions + where TAssertions : FluentAssertions.Primitives.GuidAssertions + { + public GuidAssertions(System.Guid? value) { } + public System.Guid? Subject { get; } + public FluentAssertions.AndConstraint Be(System.Guid expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEmpty(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBe(System.Guid unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEmpty(string because = "", params object[] becauseArgs) { } + } + public class HttpResponseMessageAssertions : FluentAssertions.Primitives.HttpResponseMessageAssertions + { + public HttpResponseMessageAssertions(System.Net.Http.HttpResponseMessage value) { } + } + public class HttpResponseMessageAssertions : FluentAssertions.Primitives.ObjectAssertions + where TAssertions : FluentAssertions.Primitives.HttpResponseMessageAssertions + { + protected HttpResponseMessageAssertions(System.Net.Http.HttpResponseMessage value) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeRedirection(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSuccessful(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveClientError(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveError(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveServerError(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveStatusCode(System.Net.HttpStatusCode expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveStatusCode(System.Net.HttpStatusCode unexpected, string because = "", params object[] becauseArgs) { } + } + public class NullableBooleanAssertions : FluentAssertions.Primitives.NullableBooleanAssertions + { + public NullableBooleanAssertions(bool? value) { } + } + public class NullableBooleanAssertions : FluentAssertions.Primitives.BooleanAssertions + where TAssertions : FluentAssertions.Primitives.NullableBooleanAssertions + { + public NullableBooleanAssertions(bool? value) { } + public FluentAssertions.AndConstraint Be(bool? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeFalse(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeTrue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NullableDateTimeAssertions : FluentAssertions.Primitives.NullableDateTimeAssertions + { + public NullableDateTimeAssertions(System.DateTime? expected) { } + } + public class NullableDateTimeAssertions : FluentAssertions.Primitives.DateTimeAssertions + where TAssertions : FluentAssertions.Primitives.NullableDateTimeAssertions + { + public NullableDateTimeAssertions(System.DateTime? expected) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NullableDateTimeOffsetAssertions : FluentAssertions.Primitives.NullableDateTimeOffsetAssertions + { + public NullableDateTimeOffsetAssertions(System.DateTimeOffset? expected) { } + } + public class NullableDateTimeOffsetAssertions : FluentAssertions.Primitives.DateTimeOffsetAssertions + where TAssertions : FluentAssertions.Primitives.NullableDateTimeOffsetAssertions + { + public NullableDateTimeOffsetAssertions(System.DateTimeOffset? expected) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NullableEnumAssertions : FluentAssertions.Primitives.NullableEnumAssertions> + where TEnum : struct, System.Enum + { + public NullableEnumAssertions(TEnum? subject) { } + } + public class NullableEnumAssertions : FluentAssertions.Primitives.EnumAssertions + where TEnum : struct, System.Enum + where TAssertions : FluentAssertions.Primitives.NullableEnumAssertions + { + public NullableEnumAssertions(TEnum? subject) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NullableGuidAssertions : FluentAssertions.Primitives.NullableGuidAssertions + { + public NullableGuidAssertions(System.Guid? value) { } + } + public class NullableGuidAssertions : FluentAssertions.Primitives.GuidAssertions + where TAssertions : FluentAssertions.Primitives.NullableGuidAssertions + { + public NullableGuidAssertions(System.Guid? value) { } + public FluentAssertions.AndConstraint Be(System.Guid? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class NullableSimpleTimeSpanAssertions : FluentAssertions.Primitives.NullableSimpleTimeSpanAssertions + { + public NullableSimpleTimeSpanAssertions(System.TimeSpan? value) { } + } + public class NullableSimpleTimeSpanAssertions : FluentAssertions.Primitives.SimpleTimeSpanAssertions + where TAssertions : FluentAssertions.Primitives.NullableSimpleTimeSpanAssertions + { + public NullableSimpleTimeSpanAssertions(System.TimeSpan? value) { } + public FluentAssertions.AndConstraint Be(System.TimeSpan? expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveValue(string because = "", params object[] becauseArgs) { } + } + public class ObjectAssertions : FluentAssertions.Primitives.ObjectAssertions + { + public ObjectAssertions(object value) { } + } + public class ObjectAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TAssertions : FluentAssertions.Primitives.ObjectAssertions + { + public ObjectAssertions(TSubject value) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(TSubject expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(TExpectation expectation, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(TSubject unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(TExpectation unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(TExpectation unexpected, System.Func, FluentAssertions.Equivalency.EquivalencyAssertionOptions> config, string because = "", params object[] becauseArgs) { } + } + public abstract class ReferenceTypeAssertions + where TAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + protected ReferenceTypeAssertions(TSubject subject) { } + protected abstract string Identifier { get; } + public TSubject Subject { get; } + public FluentAssertions.AndConstraint BeAssignableTo(System.Type type, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint BeAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOfType(System.Type expectedType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint BeOfType(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSameAs(TSubject expected, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint Match(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Match(System.Linq.Expressions.Expression> predicate, string because = "", params object[] becauseArgs) + where T : TSubject { } + public FluentAssertions.AndConstraint NotBeAssignableTo(System.Type type, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNull(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOfType(System.Type unexpectedType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeOfType(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSameAs(TSubject unexpected, string because = "", params object[] becauseArgs) { } + } + public class SimpleTimeSpanAssertions : FluentAssertions.Primitives.SimpleTimeSpanAssertions + { + public SimpleTimeSpanAssertions(System.TimeSpan? value) { } + } + public class SimpleTimeSpanAssertions + where TAssertions : FluentAssertions.Primitives.SimpleTimeSpanAssertions + { + public SimpleTimeSpanAssertions(System.TimeSpan? value) { } + public System.TimeSpan? Subject { get; } + public FluentAssertions.AndConstraint Be(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeCloseTo(System.TimeSpan nearbyTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterOrEqualTo(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThan(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThanOrEqualTo(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessOrEqualTo(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThan(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThanOrEqualTo(System.TimeSpan expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNegative(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BePositive(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBe(System.TimeSpan unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeCloseTo(System.TimeSpan distantTime, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + } + public class StringAssertions : FluentAssertions.Primitives.StringAssertions + { + public StringAssertions(string value) { } + } + public class StringAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TAssertions : FluentAssertions.Primitives.StringAssertions + { + public StringAssertions(string value) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLowerCased(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNullOrEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeNullOrWhiteSpace(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeOneOf(params string[] validValues) { } + public FluentAssertions.AndConstraint BeOneOf(System.Collections.Generic.IEnumerable validValues, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeUpperCased(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Contain(string expected, FluentAssertions.OccurrenceConstraint occurrenceConstraint, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainAll(params string[] values) { } + public FluentAssertions.AndConstraint ContainAll(System.Collections.Generic.IEnumerable values, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainAny(params string[] values) { } + public FluentAssertions.AndConstraint ContainAny(System.Collections.Generic.IEnumerable values, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainEquivalentOf(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint ContainEquivalentOf(string expected, FluentAssertions.OccurrenceConstraint occurrenceConstraint, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint EndWith(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint EndWithEquivalentOf(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveLength(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Match(string wildcardPattern, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint MatchEquivalentOf(string wildcardPattern, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint MatchRegex(string regularExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint MatchRegex(System.Text.RegularExpressions.Regex regularExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeLowerCased(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNullOrEmpty(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeNullOrWhiteSpace(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeUpperCased(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContain(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainAll(params string[] values) { } + public FluentAssertions.AndConstraint NotContainAll(System.Collections.Generic.IEnumerable values, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainAny(params string[] values) { } + public FluentAssertions.AndConstraint NotContainAny(System.Collections.Generic.IEnumerable values, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotContainEquivalentOf(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotEndWith(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotEndWithEquivalentOf(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotMatch(string wildcardPattern, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotMatchEquivalentOf(string wildcardPattern, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotMatchRegex(string regularExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotMatchRegex(System.Text.RegularExpressions.Regex regularExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotStartWith(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotStartWithEquivalentOf(string unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint StartWith(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint StartWithEquivalentOf(string expected, string because = "", params object[] becauseArgs) { } + } + public enum TimeSpanCondition + { + MoreThan = 0, + AtLeast = 1, + Exactly = 2, + Within = 3, + LessThan = 4, + } +} +namespace FluentAssertions.Reflection +{ + public class AssemblyAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public AssemblyAssertions(System.Reflection.Assembly assembly) { } + protected override string Identifier { get; } + public FluentAssertions.AndWhichConstraint DefineType(string @namespace, string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotReference(System.Reflection.Assembly assembly, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Reference(System.Reflection.Assembly assembly, string because = "", params object[] becauseArgs) { } + } +} +namespace FluentAssertions.Specialized +{ + public class ActionAssertions : FluentAssertions.Specialized.DelegateAssertions + { + public ActionAssertions(System.Action subject, FluentAssertions.Specialized.IExtractExceptions extractor) { } + public ActionAssertions(System.Action subject, FluentAssertions.Specialized.IExtractExceptions extractor, FluentAssertions.Common.IClock clock) { } + protected override string Identifier { get; } + protected override void InvokeSubject() { } + } + public class AsyncFunctionAssertions : FluentAssertions.Specialized.DelegateAssertionsBase, TAssertions> + where TTask : System.Threading.Tasks.Task + where TAssertions : FluentAssertions.Specialized.AsyncFunctionAssertions + { + public AsyncFunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor) { } + public AsyncFunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor, FluentAssertions.Common.IClock clock) { } + protected override string Identifier { get; } + public System.Threading.Tasks.Task> CompleteWithinAsync(System.TimeSpan timeSpan, string because = "", params object[] becauseArgs) { } + public System.Threading.Tasks.Task> NotThrowAfterAsync(System.TimeSpan waitTime, System.TimeSpan pollInterval, string because = "", params object[] becauseArgs) { } + public System.Threading.Tasks.Task> NotThrowAsync(string because = "", params object[] becauseArgs) { } + public System.Threading.Tasks.Task> NotThrowAsync(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public System.Threading.Tasks.Task> ThrowAsync(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public System.Threading.Tasks.Task> ThrowExactlyAsync(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + } + public abstract class DelegateAssertionsBase : FluentAssertions.Primitives.ReferenceTypeAssertions> + where TDelegate : System.Delegate + where TAssertions : FluentAssertions.Specialized.DelegateAssertionsBase + { + protected FluentAssertions.AndConstraint NotThrowInternal(System.Exception exception, string because, object[] becauseArgs) { } + protected FluentAssertions.AndConstraint NotThrowInternal(System.Exception exception, string because, object[] becauseArgs) + where TException : System.Exception { } + protected FluentAssertions.Specialized.ExceptionAssertions ThrowInternal(System.Exception exception, string because, object[] becauseArgs) + where TException : System.Exception { } + } + public abstract class DelegateAssertions : FluentAssertions.Specialized.DelegateAssertionsBase + where TDelegate : System.Delegate + where TAssertions : FluentAssertions.Specialized.DelegateAssertions + { + protected DelegateAssertions(TDelegate @delegate, FluentAssertions.Specialized.IExtractExceptions extractor) { } + protected abstract void InvokeSubject(); + public FluentAssertions.AndConstraint NotThrow(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotThrow(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public FluentAssertions.AndConstraint NotThrowAfter(System.TimeSpan waitTime, System.TimeSpan pollInterval, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Specialized.ExceptionAssertions Throw(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + public FluentAssertions.Specialized.ExceptionAssertions ThrowExactly(string because = "", params object[] becauseArgs) + where TException : System.Exception { } + } + public class ExceptionAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions, FluentAssertions.Specialized.ExceptionAssertions> + where TException : System.Exception + { + public ExceptionAssertions(System.Collections.Generic.IEnumerable exceptions) { } + public TException And { get; } + protected override string Identifier { get; } + public TException Which { get; } + public FluentAssertions.Specialized.ExceptionAssertions Where(System.Linq.Expressions.Expression> exceptionExpression, string because = "", params object[] becauseArgs) { } + public FluentAssertions.Specialized.ExceptionAssertions WithInnerException(System.Type innerException, string because = null, params object[] becauseArgs) { } + public virtual FluentAssertions.Specialized.ExceptionAssertions WithInnerException(string because = null, params object[] becauseArgs) + where TInnerException : System.Exception { } + public FluentAssertions.Specialized.ExceptionAssertions WithInnerExceptionExactly(System.Type innerException, string because = null, params object[] becauseArgs) { } + public virtual FluentAssertions.Specialized.ExceptionAssertions WithInnerExceptionExactly(string because = null, params object[] becauseArgs) + where TInnerException : System.Exception { } + public virtual FluentAssertions.Specialized.ExceptionAssertions WithMessage(string expectedWildcardPattern, string because = "", params object[] becauseArgs) { } + } + public class ExecutionTime + { + public ExecutionTime(System.Action action, FluentAssertions.Common.StartTimer createTimer) { } + public ExecutionTime(System.Func action, FluentAssertions.Common.StartTimer createTimer) { } + protected ExecutionTime(System.Action action, string actionDescription, FluentAssertions.Common.StartTimer createTimer) { } + protected ExecutionTime(System.Func action, string actionDescription, FluentAssertions.Common.StartTimer createTimer) { } + } + public class ExecutionTimeAssertions + { + public ExecutionTimeAssertions(FluentAssertions.Specialized.ExecutionTime executionTime) { } + public FluentAssertions.AndConstraint BeCloseTo(System.TimeSpan expectedDuration, System.TimeSpan precision, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterOrEqualTo(System.TimeSpan minDuration, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThan(System.TimeSpan minDuration, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeGreaterThanOrEqualTo(System.TimeSpan minDuration, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessOrEqualTo(System.TimeSpan maxDuration, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThan(System.TimeSpan maxDuration, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeLessThanOrEqualTo(System.TimeSpan maxDuration, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + } + public class FunctionAssertions : FluentAssertions.Specialized.DelegateAssertions, FluentAssertions.Specialized.FunctionAssertions> + { + public FunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor) { } + public FunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor, FluentAssertions.Common.IClock clock) { } + protected override string Identifier { get; } + protected override void InvokeSubject() { } + public FluentAssertions.AndWhichConstraint, T> NotThrow(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint, T> NotThrowAfter(System.TimeSpan waitTime, System.TimeSpan pollInterval, string because = "", params object[] becauseArgs) { } + } + public class GenericAsyncFunctionAssertions : FluentAssertions.Specialized.AsyncFunctionAssertions, FluentAssertions.Specialized.GenericAsyncFunctionAssertions> + { + public GenericAsyncFunctionAssertions(System.Func> subject, FluentAssertions.Specialized.IExtractExceptions extractor) { } + public GenericAsyncFunctionAssertions(System.Func> subject, FluentAssertions.Specialized.IExtractExceptions extractor, FluentAssertions.Common.IClock clock) { } + public System.Threading.Tasks.Task, TResult>> CompleteWithinAsync(System.TimeSpan timeSpan, string because = "", params object[] becauseArgs) { } + public System.Threading.Tasks.Task, TResult>> NotThrowAfterAsync(System.TimeSpan waitTime, System.TimeSpan pollInterval, string because = "", params object[] becauseArgs) { } + public System.Threading.Tasks.Task, TResult>> NotThrowAsync(string because = "", params object[] becauseArgs) { } + } + public interface IExtractExceptions + { + System.Collections.Generic.IEnumerable OfType(System.Exception actualException) + where T : System.Exception; + } + public class MemberExecutionTime : FluentAssertions.Specialized.ExecutionTime + { + public MemberExecutionTime(T subject, System.Linq.Expressions.Expression> action, FluentAssertions.Common.StartTimer createTimer) { } + } + public class NonGenericAsyncFunctionAssertions : FluentAssertions.Specialized.AsyncFunctionAssertions + { + public NonGenericAsyncFunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor) { } + public NonGenericAsyncFunctionAssertions(System.Func subject, FluentAssertions.Specialized.IExtractExceptions extractor, FluentAssertions.Common.IClock clock) { } + } + public class TaskCompletionSourceAssertions + { + public TaskCompletionSourceAssertions(System.Threading.Tasks.TaskCompletionSource tcs) { } + public TaskCompletionSourceAssertions(System.Threading.Tasks.TaskCompletionSource tcs, FluentAssertions.Common.IClock clock) { } + public System.Threading.Tasks.Task, T>> CompleteWithinAsync(System.TimeSpan timeSpan, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public System.Threading.Tasks.Task NotCompleteWithinAsync(System.TimeSpan timeSpan, string because = "", params object[] becauseArgs) { } + } +} +namespace FluentAssertions.Streams +{ + public class BufferedStreamAssertions : FluentAssertions.Streams.BufferedStreamAssertions + { + public BufferedStreamAssertions(System.IO.BufferedStream stream) { } + } + public class BufferedStreamAssertions : FluentAssertions.Streams.StreamAssertions + where TAssertions : FluentAssertions.Streams.BufferedStreamAssertions + { + public BufferedStreamAssertions(System.IO.BufferedStream stream) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint HaveBufferSize(int expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveBufferSize(int unexpected, string because = "", params object[] becauseArgs) { } + } + public class StreamAssertions : FluentAssertions.Streams.StreamAssertions + { + public StreamAssertions(System.IO.Stream stream) { } + } + public class StreamAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TSubject : System.IO.Stream + where TAssertions : FluentAssertions.Streams.StreamAssertions + { + public StreamAssertions(TSubject stream) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeReadOnly(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeReadable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSeekable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeWritable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeWriteOnly(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveLength(long expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HavePosition(long expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeReadOnly(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeReadable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSeekable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeWritable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeWriteOnly(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveLength(long unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHavePosition(long unexpected, string because = "", params object[] becauseArgs) { } + } +} +namespace FluentAssertions.Types +{ + public static class AllTypes + { + public static FluentAssertions.Types.TypeSelector From(System.Reflection.Assembly assembly) { } + } + public class ConstructorInfoAssertions : FluentAssertions.Types.MethodBaseAssertions + { + public ConstructorInfoAssertions(System.Reflection.ConstructorInfo constructorInfo) { } + protected override string Identifier { get; } + } + public abstract class MemberInfoAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TSubject : System.Reflection.MemberInfo + where TAssertions : FluentAssertions.Types.MemberInfoAssertions + { + protected MemberInfoAssertions(TSubject subject) { } + protected override string Identifier { get; } + public FluentAssertions.AndWhichConstraint, TAttribute> BeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndWhichConstraint, TAttribute> BeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + } + public abstract class MethodBaseAssertions : FluentAssertions.Types.MemberInfoAssertions + where TSubject : System.Reflection.MethodBase + where TAssertions : FluentAssertions.Types.MethodBaseAssertions + { + protected MethodBaseAssertions(TSubject subject) { } + public FluentAssertions.AndConstraint HaveAccessModifier(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveAccessModifier(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + } + public class MethodInfoAssertions : FluentAssertions.Types.MethodBaseAssertions + { + public MethodInfoAssertions(System.Reflection.MethodInfo methodInfo) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeAsync(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAsync(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> NotReturn(System.Type returnType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> NotReturn(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> NotReturnVoid(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> Return(System.Type returnType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> Return(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint> ReturnVoid(string because = "", params object[] becauseArgs) { } + } + public class MethodInfoSelector : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public MethodInfoSelector(System.Collections.Generic.IEnumerable types) { } + public MethodInfoSelector(System.Type type) { } + public FluentAssertions.Types.MethodInfoSelector ThatArePublicOrInternal { get; } + public FluentAssertions.Types.MethodInfoSelector ThatDoNotReturnVoid { get; } + public FluentAssertions.Types.MethodInfoSelector ThatReturnVoid { get; } + public System.Collections.Generic.IEnumerator GetEnumerator() { } + public FluentAssertions.Types.TypeSelector ReturnTypes() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreAsync() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.MethodInfoSelector ThatAreDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.MethodInfoSelector ThatAreNotAsync() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreNotDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.MethodInfoSelector ThatAreNotDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.MethodInfoSelector ThatAreNotStatic() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreNotVirtual() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreStatic() { } + public FluentAssertions.Types.MethodInfoSelector ThatAreVirtual() { } + public FluentAssertions.Types.MethodInfoSelector ThatDoNotReturn() { } + public FluentAssertions.Types.MethodInfoSelector ThatReturn() { } + public System.Reflection.MethodInfo[] ToArray() { } + } + public class MethodInfoSelectorAssertions + { + public MethodInfoSelectorAssertions(params System.Reflection.MethodInfo[] methods) { } + protected string Context { get; } + public System.Collections.Generic.IEnumerable SubjectMethods { get; } + public FluentAssertions.AndConstraint Be(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAsync(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeVirtual(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBe(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAsync(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeVirtual(string because = "", params object[] becauseArgs) { } + } + public class PropertyInfoAssertions : FluentAssertions.Types.MemberInfoAssertions + { + public PropertyInfoAssertions(System.Reflection.PropertyInfo propertyInfo) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeReadable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeReadable(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeWritable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeWritable(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeReadable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeWritable(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotReturn(System.Type propertyType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotReturn(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Return(System.Type propertyType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Return(string because = "", params object[] becauseArgs) { } + } + public class PropertyInfoSelector : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public PropertyInfoSelector(System.Collections.Generic.IEnumerable types) { } + public PropertyInfoSelector(System.Type type) { } + public FluentAssertions.Types.PropertyInfoSelector ThatArePublicOrInternal { get; } + public System.Collections.Generic.IEnumerator GetEnumerator() { } + public FluentAssertions.Types.PropertyInfoSelector NotOfType() { } + public FluentAssertions.Types.PropertyInfoSelector OfType() { } + public FluentAssertions.Types.TypeSelector ReturnTypes() { } + public FluentAssertions.Types.PropertyInfoSelector ThatAreDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.PropertyInfoSelector ThatAreDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.PropertyInfoSelector ThatAreNotDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.PropertyInfoSelector ThatAreNotDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public System.Reflection.PropertyInfo[] ToArray() { } + } + public class PropertyInfoSelectorAssertions + { + public PropertyInfoSelectorAssertions(params System.Reflection.PropertyInfo[] properties) { } + protected string Context { get; } + public System.Collections.Generic.IEnumerable SubjectProperties { get; } + public FluentAssertions.AndConstraint BeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeWritable(string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeVirtual(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeWritable(string because = "", params object[] becauseArgs) { } + } + public class TypeAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public TypeAssertions(System.Type type) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(System.Type expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Be(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAbstract(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAssignableTo(System.Type type, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint BeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndWhichConstraint BeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndWhichConstraint BeDecoratedWithOrInherit(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndWhichConstraint BeDecoratedWithOrInherit(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeDerivedFrom(System.Type baseType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeDerivedFrom(string because = "", params object[] becauseArgs) + where TBaseClass : class { } + public FluentAssertions.AndConstraint BeSealed(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeStatic(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveAccessModifier(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveConstructor(System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveDefaultConstructor(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveExplicitConversionOperator(System.Type sourceType, System.Type targetType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveExplicitConversionOperator(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveExplicitMethod(System.Type interfaceType, string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveExplicitMethod(string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) + where TInterface : class { } + public FluentAssertions.AndConstraint HaveExplicitProperty(System.Type interfaceType, string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveExplicitProperty(string name, string because = "", params object[] becauseArgs) + where TInterface : class { } + public FluentAssertions.AndWhichConstraint HaveImplicitConversionOperator(System.Type sourceType, System.Type targetType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveImplicitConversionOperator(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveIndexer(System.Type indexerType, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveMethod(string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveProperty(System.Type propertyType, string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveProperty(string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Implement(System.Type interfaceType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint Implement(string because = "", params object[] becauseArgs) + where TInterface : class { } + public FluentAssertions.AndConstraint NotBe(System.Type unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAbstract(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAssignableTo(System.Type type, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeAssignableTo(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWithOrInherit(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWithOrInherit(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDerivedFrom(System.Type baseType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeDerivedFrom(string because = "", params object[] becauseArgs) + where TBaseClass : class { } + public FluentAssertions.AndConstraint NotBeSealed(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeStatic(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveAccessModifier(FluentAssertions.Common.CSharpAccessModifier accessModifier, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint NotHaveConstructor(System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint NotHaveDefaultConstructor(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveExplicitConversionOperator(System.Type sourceType, System.Type targetType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveExplicitConversionOperator(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveExplicitMethod(System.Type interfaceType, string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveExplicitMethod(string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) + where TInterface : class { } + public FluentAssertions.AndConstraint NotHaveExplicitProperty(System.Type interfaceType, string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveExplicitProperty(string name, string because = "", params object[] becauseArgs) + where TInterface : class { } + public FluentAssertions.AndConstraint NotHaveImplicitConversionOperator(System.Type sourceType, System.Type targetType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveImplicitConversionOperator(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveIndexer(System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveMethod(string name, System.Collections.Generic.IEnumerable parameterTypes, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotHaveProperty(string name, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotImplement(System.Type interfaceType, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotImplement(string because = "", params object[] becauseArgs) + where TInterface : class { } + } + public class TypeSelector : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public TypeSelector(System.Collections.Generic.IEnumerable types) { } + public TypeSelector(System.Type type) { } + public System.Collections.Generic.IEnumerator GetEnumerator() { } + public FluentAssertions.Types.TypeSelector ThatAreClasses() { } + public FluentAssertions.Types.TypeSelector ThatAreDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.TypeSelector ThatAreDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.TypeSelector ThatAreInNamespace(string @namespace) { } + public FluentAssertions.Types.TypeSelector ThatAreNotClasses() { } + public FluentAssertions.Types.TypeSelector ThatAreNotDecoratedWith() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.TypeSelector ThatAreNotDecoratedWithOrInherit() + where TAttribute : System.Attribute { } + public FluentAssertions.Types.TypeSelector ThatAreNotInNamespace(string @namespace) { } + public FluentAssertions.Types.TypeSelector ThatAreNotStatic() { } + public FluentAssertions.Types.TypeSelector ThatAreNotUnderNamespace(string @namespace) { } + public FluentAssertions.Types.TypeSelector ThatAreStatic() { } + public FluentAssertions.Types.TypeSelector ThatAreUnderNamespace(string @namespace) { } + public FluentAssertions.Types.TypeSelector ThatDeriveFrom() { } + public FluentAssertions.Types.TypeSelector ThatDoNotDeriveFrom() { } + public FluentAssertions.Types.TypeSelector ThatDoNotImplement() { } + public FluentAssertions.Types.TypeSelector ThatImplement() { } + public FluentAssertions.Types.TypeSelector ThatSatisfy(System.Func predicate) { } + public System.Type[] ToArray() { } + public FluentAssertions.Types.TypeSelector UnwrapEnumerableTypes() { } + public FluentAssertions.Types.TypeSelector UnwrapTaskTypes() { } + } + public class TypeSelectorAssertions + { + public TypeSelectorAssertions(params System.Type[] types) { } + public System.Collections.Generic.IEnumerable Subject { get; } + public FluentAssertions.AndConstraint BeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeDecoratedWithOrInherit(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeDecoratedWithOrInherit(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint BeInNamespace(string @namespace, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeSealed(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeUnderNamespace(string @namespace, string because = "", params object[] becauseArgs) { } + public override bool Equals(object obj) { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWith(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWithOrInherit(string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeDecoratedWithOrInherit(System.Linq.Expressions.Expression> isMatchingAttributePredicate, string because = "", params object[] becauseArgs) + where TAttribute : System.Attribute { } + public FluentAssertions.AndConstraint NotBeInNamespace(string @namespace, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeSealed(string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeUnderNamespace(string @namespace, string because = "", params object[] becauseArgs) { } + } +} +namespace FluentAssertions.Xml +{ + public class XAttributeAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public XAttributeAssertions(System.Xml.Linq.XAttribute attribute) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(System.Xml.Linq.XAttribute expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.Xml.Linq.XAttribute unexpected, string because = "", params object[] becauseArgs) { } + } + public class XDocumentAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public XDocumentAssertions(System.Xml.Linq.XDocument document) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(System.Xml.Linq.XDocument expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Xml.Linq.XDocument expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElement(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElement(System.Xml.Linq.XName expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveRoot(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveRoot(System.Xml.Linq.XName expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.Xml.Linq.XDocument unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(System.Xml.Linq.XDocument unexpected, string because = "", params object[] becauseArgs) { } + } + public class XElementAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + { + public XElementAssertions(System.Xml.Linq.XElement xElement) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint Be(System.Xml.Linq.XElement expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Xml.Linq.XElement expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveAttribute(string expectedName, string expectedValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveAttribute(System.Xml.Linq.XName expectedName, string expectedValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElement(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElement(System.Xml.Linq.XName expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveValue(string expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBe(System.Xml.Linq.XElement unexpected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(System.Xml.Linq.XElement unexpected, string because = "", params object[] becauseArgs) { } + } + public class XmlElementAssertions : FluentAssertions.Xml.XmlNodeAssertions + { + public XmlElementAssertions(System.Xml.XmlElement xmlElement) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint HaveAttribute(string expectedName, string expectedValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveAttributeWithNamespace(string expectedName, string expectedNamespace, string expectedValue, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElement(string expectedName, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndWhichConstraint HaveElementWithNamespace(string expectedName, string expectedNamespace, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint HaveInnerText(string expected, string because = "", params object[] becauseArgs) { } + } + public class XmlNodeAssertions : FluentAssertions.Xml.XmlNodeAssertions + { + public XmlNodeAssertions(System.Xml.XmlNode xmlNode) { } + } + public class XmlNodeAssertions : FluentAssertions.Primitives.ReferenceTypeAssertions + where TSubject : System.Xml.XmlNode + where TAssertions : FluentAssertions.Xml.XmlNodeAssertions + { + public XmlNodeAssertions(TSubject xmlNode) { } + protected override string Identifier { get; } + public FluentAssertions.AndConstraint BeEquivalentTo(System.Xml.XmlNode expected, string because = "", params object[] becauseArgs) { } + public FluentAssertions.AndConstraint NotBeEquivalentTo(System.Xml.XmlNode unexpected, string because = "", params object[] becauseArgs) { } + } + public class XmlNodeFormatter : FluentAssertions.Formatting.IValueFormatter + { + public XmlNodeFormatter() { } + public bool CanHandle(object value) { } + public void Format(object value, FluentAssertions.Formatting.FormattedObjectGraph formattedGraph, FluentAssertions.Formatting.FormattingContext context, FluentAssertions.Formatting.FormatChild formatChild) { } + } +} \ No newline at end of file diff --git a/Tests/Benchmarks/BeEquivalentToWithDeeplyNestedStructures.cs b/Tests/Benchmarks/BeEquivalentToWithDeeplyNestedStructures.cs index ff0f75a2e5..5abfdf7895 100644 --- a/Tests/Benchmarks/BeEquivalentToWithDeeplyNestedStructures.cs +++ b/Tests/Benchmarks/BeEquivalentToWithDeeplyNestedStructures.cs @@ -8,7 +8,7 @@ namespace Benchmarks { [MemoryDiagnoser] [SimpleJob(RuntimeMoniker.Net472)] - [SimpleJob(RuntimeMoniker.Net50)] + [SimpleJob(RuntimeMoniker.Net60)] public class BeEquivalentToWithDeeplyNestedStructures { public class ComplexType diff --git a/Tests/Benchmarks/Benchmarks.csproj b/Tests/Benchmarks/Benchmarks.csproj index 05050a64bd..21ecd9e546 100644 --- a/Tests/Benchmarks/Benchmarks.csproj +++ b/Tests/Benchmarks/Benchmarks.csproj @@ -1,6 +1,6 @@  - net5;net472 + net6;net472 9.0 True ..\..\Src\FluentAssertions\FluentAssertions.snk diff --git a/Tests/Benchmarks/CollectionEqual.cs b/Tests/Benchmarks/CollectionEqual.cs index c249361b90..c498acf27e 100644 --- a/Tests/Benchmarks/CollectionEqual.cs +++ b/Tests/Benchmarks/CollectionEqual.cs @@ -8,7 +8,7 @@ namespace Benchmarks { [MemoryDiagnoser] [SimpleJob(RuntimeMoniker.Net472)] - [SimpleJob(RuntimeMoniker.Net50)] + [SimpleJob(RuntimeMoniker.Net60)] public class CollectionEqualBenchmarks { private IEnumerable collection1; diff --git a/Tests/Benchmarks/Issue1657.cs b/Tests/Benchmarks/Issue1657.cs index e96404bfce..f92a34bd5e 100644 --- a/Tests/Benchmarks/Issue1657.cs +++ b/Tests/Benchmarks/Issue1657.cs @@ -9,7 +9,7 @@ namespace Benchmarks { [MemoryDiagnoser] [SimpleJob(RuntimeMoniker.Net472)] - [SimpleJob(RuntimeMoniker.Net50)] + [SimpleJob(RuntimeMoniker.Net60)] public class Issue1657 { private List list; diff --git a/Tests/FluentAssertions.Equivalency.Specs/FluentAssertions.Equivalency.Specs.csproj b/Tests/FluentAssertions.Equivalency.Specs/FluentAssertions.Equivalency.Specs.csproj index d6aeaa5808..cf1263da3c 100644 --- a/Tests/FluentAssertions.Equivalency.Specs/FluentAssertions.Equivalency.Specs.csproj +++ b/Tests/FluentAssertions.Equivalency.Specs/FluentAssertions.Equivalency.Specs.csproj @@ -2,7 +2,7 @@ - net47;net5.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0 + net47;net6.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0 9.0 True ..\..\Src\FluentAssertions\FluentAssertions.snk @@ -14,7 +14,7 @@ full - + false false false @@ -42,7 +42,7 @@ - + all @@ -61,7 +61,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Tests/FluentAssertions.Specs/Common/TimeSpanExtensions.cs b/Tests/FluentAssertions.Specs/Common/TimeSpanExtensions.cs index ab67f269b2..2bd09df150 100644 --- a/Tests/FluentAssertions.Specs/Common/TimeSpanExtensions.cs +++ b/Tests/FluentAssertions.Specs/Common/TimeSpanExtensions.cs @@ -3,7 +3,7 @@ namespace FluentAssertions.Specs.Common { /// - /// Implements extensions to available in .NET Core 2, but not in .NET Framework. + /// Implements extensions to available in .NET Core 2+, but not in .NET Framework. /// public static class TimeSpanExtensions { diff --git a/Tests/FluentAssertions.Specs/FluentAssertions.Specs.csproj b/Tests/FluentAssertions.Specs/FluentAssertions.Specs.csproj index c094656ea7..15fe271f6b 100644 --- a/Tests/FluentAssertions.Specs/FluentAssertions.Specs.csproj +++ b/Tests/FluentAssertions.Specs/FluentAssertions.Specs.csproj @@ -2,7 +2,7 @@ - net47;net5.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0 + net47;net6.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0 9.0 True ..\..\Src\FluentAssertions\FluentAssertions.snk @@ -14,7 +14,7 @@ full - + false false false @@ -46,7 +46,7 @@ - + all @@ -65,7 +65,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Tests/TestFrameworks/MSTestV2.Specs/MSTestV2.Specs.csproj b/Tests/TestFrameworks/MSTestV2.Specs/MSTestV2.Specs.csproj index 99f36a7bec..8862ec11d1 100644 --- a/Tests/TestFrameworks/MSTestV2.Specs/MSTestV2.Specs.csproj +++ b/Tests/TestFrameworks/MSTestV2.Specs/MSTestV2.Specs.csproj @@ -1,6 +1,6 @@  - net5.0 + net6.0 MSTestV2.Specs MSTestV2.Specs ..\..\..\TestRules.ruleset diff --git a/Tests/TestFrameworks/MSpec.Specs/MSpec.Specs.csproj b/Tests/TestFrameworks/MSpec.Specs/MSpec.Specs.csproj index f6a6becc30..ac25038727 100644 --- a/Tests/TestFrameworks/MSpec.Specs/MSpec.Specs.csproj +++ b/Tests/TestFrameworks/MSpec.Specs/MSpec.Specs.csproj @@ -1,6 +1,6 @@  - net5.0 + net6.0 MSpec.Specs MSpec.Specs Rules.ruleset diff --git a/Tests/TestFrameworks/NUnit3.Specs/NUnit3.Specs.csproj b/Tests/TestFrameworks/NUnit3.Specs/NUnit3.Specs.csproj index deafff5c54..388e3f3d75 100644 --- a/Tests/TestFrameworks/NUnit3.Specs/NUnit3.Specs.csproj +++ b/Tests/TestFrameworks/NUnit3.Specs/NUnit3.Specs.csproj @@ -1,6 +1,6 @@  - net5.0 + net6.0 NUnit3.Specs NUnit3.Specs ..\..\..\TestRules.ruleset diff --git a/Tests/TestFrameworks/XUnit2.Specs/XUnit2.Specs.csproj b/Tests/TestFrameworks/XUnit2.Specs/XUnit2.Specs.csproj index 5675f990cb..9615ad7422 100644 --- a/Tests/TestFrameworks/XUnit2.Specs/XUnit2.Specs.csproj +++ b/Tests/TestFrameworks/XUnit2.Specs/XUnit2.Specs.csproj @@ -1,6 +1,6 @@  - net47;net5.0 + net47;net6.0 XUnit2.Specs XUnit2.Specs ..\..\..\TestRules.ruleset diff --git a/docs/_pages/about.md b/docs/_pages/about.md index 8c745b0b75..9aefef4fe2 100644 --- a/docs/_pages/about.md +++ b/docs/_pages/about.md @@ -39,7 +39,7 @@ will fail with: ## Supported Frameworks and Libraries -Fluent Assertions cross-compiles to .NET Framework 4.7, as well as .NET Core 2.1 and 3.0, .NET Standard 2.0 and 2.1. +Fluent Assertions cross-compiles to .NET Framework 4.7, as well as .NET Core 2.1 and 3.0, .NET 6, .NET Standard 2.0 and 2.1. Because of that Fluent Assertions supports the following minimum platforms. diff --git a/docs/index.html b/docs/index.html index 8c466de937..7d48fb1ec5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -28,7 +28,7 @@ [ Buy us a coffee](https://ko-fi.com/dennisdoomen){: .btn .btn--paypal}
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or - BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET Standard 2.0 and 2.1.' + BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1.' feature_row: - title: "Intention-Revealing Unit Tests" image_path: /assets/images/binoculars.svg @@ -52,7 +52,7 @@ - title: "Feature Complete" image_path: /assets/images/checklist.svg excerpt: ' -Targets .NET 4.7, .NET Core 2.1, .Net Core 3.0, .NET Standard 2.0 and 2.1. +Targets .NET 4.7, .NET Core 2.1, .Net Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports MSTest2, xUnit2, NUnit3, MSpec and NSpec3. ' - title: "Great Support" diff --git a/global.json b/global.json index b94f8d2283..f6c8b88241 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "5.0.200", + "version": "6.0.100", "rollForward": "latestMajor" } }