You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/02/02 12:42:38 UTC

[07/14] lucenenet git commit: Lucene.Net.Core.Util.Constants: Added using statement for System.Runtime.InteropServices because it is required for .NET core

Lucene.Net.Core.Util.Constants: Added using statement for System.Runtime.InteropServices because it is required for .NET core


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/fd6282ea
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/fd6282ea
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/fd6282ea

Branch: refs/heads/api-work
Commit: fd6282ead34b4c56cf997813f40bdef5b23998ca
Parents: 9525d45
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Feb 2 12:52:29 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Feb 2 18:30:32 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/Constants.cs | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/fd6282ea/src/Lucene.Net.Core/Util/Constants.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Constants.cs b/src/Lucene.Net.Core/Util/Constants.cs
index 00fbabe..01800e7 100644
--- a/src/Lucene.Net.Core/Util/Constants.cs
+++ b/src/Lucene.Net.Core/Util/Constants.cs
@@ -1,6 +1,9 @@
 using Lucene.Net.Support;
 using System;
 using System.Reflection;
+#if NETSTANDARD
+using System.Runtime.InteropServices;
+#endif
 using System.Text.RegularExpressions;
 
 namespace Lucene.Net.Util