Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Harter <steveharter@users.noreply.github.com>2016-10-06 18:35:29 +0300
committerGitHub <noreply@github.com>2016-10-06 18:35:29 +0300
commita8b4cb2fa68b2c3e1703f176b8819b99f4ead67f (patch)
tree24bebb49ea03b667f514d0a86c9468043630f194 /src/System.Security.Cryptography.Encoding/tests/Oid.cs
parentf88851644dde16929040b54f23fee4752ef7e9ec (diff)
S.S.C.Algorithms and .Encoding ns2.0 misc additions (#12410)
Diffstat (limited to 'src/System.Security.Cryptography.Encoding/tests/Oid.cs')
-rw-r--r--src/System.Security.Cryptography.Encoding/tests/Oid.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/System.Security.Cryptography.Encoding/tests/Oid.cs b/src/System.Security.Cryptography.Encoding/tests/Oid.cs
index d5211e5645..a0b85ce295 100644
--- a/src/System.Security.Cryptography.Encoding/tests/Oid.cs
+++ b/src/System.Security.Cryptography.Encoding/tests/Oid.cs
@@ -15,6 +15,12 @@ namespace System.Security.Cryptography.Encoding.Tests
Oid oid = new Oid("");
Assert.Equal("", oid.Value);
Assert.Null(oid.FriendlyName);
+
+#if netstandard17
+ oid = new Oid();
+ Assert.Null(oid.Value);
+ Assert.Null(oid.FriendlyName);
+#endif
}
[Theory]