-Marked BSON classes as obsolete
This commit is contained in:
@@ -50,6 +50,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
}
|
||||
#endregion
|
||||
|
||||
#pragma warning disable 618
|
||||
[Test]
|
||||
public void Example()
|
||||
{
|
||||
@@ -67,6 +68,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
// Movie Premiere
|
||||
}
|
||||
#endregion
|
||||
#pragma warning restore 618
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,6 +50,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
}
|
||||
#endregion
|
||||
|
||||
#pragma warning disable 618
|
||||
[Test]
|
||||
public void Example()
|
||||
{
|
||||
@@ -73,6 +74,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
// Easter
|
||||
}
|
||||
#endregion
|
||||
#pragma warning restore 618
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
}
|
||||
#endregion
|
||||
|
||||
#pragma warning disable 618
|
||||
[Test]
|
||||
public void Example()
|
||||
{
|
||||
@@ -76,5 +77,6 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Bson
|
||||
|
||||
Assert.AreEqual("MQAAAAJOYW1lAA8AAABNb3ZpZSBQcmVtaWVyZQAJU3RhcnREYXRlAED982M8AQAAAA==", data);
|
||||
}
|
||||
#pragma warning restore 618
|
||||
}
|
||||
}
|
||||
@@ -43,6 +43,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
|
||||
[TestFixture]
|
||||
public class ReadJTokenFromBson : TestFixtureBase
|
||||
{
|
||||
#pragma warning disable 618
|
||||
[Test]
|
||||
public void Example()
|
||||
{
|
||||
@@ -64,5 +65,6 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
|
||||
|
||||
Assert.AreEqual("value1", value);
|
||||
}
|
||||
#pragma warning restore 618
|
||||
}
|
||||
}
|
||||
@@ -43,6 +43,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
|
||||
[TestFixture]
|
||||
public class WriteJTokenToBson : TestFixtureBase
|
||||
{
|
||||
#pragma warning disable 618
|
||||
[Test]
|
||||
public void Example()
|
||||
{
|
||||
@@ -67,5 +68,6 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
|
||||
|
||||
Assert.AreEqual("KQAAAAJuYW1lMQAHAAAAdmFsdWUxAAJuYW1lMgAHAAAAdmFsdWUyAAA=", data);
|
||||
}
|
||||
#pragma warning restore 618
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user