From 9cd3408716980c3537d02d0bd6ae849fd75f1067 Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Wed, 21 Apr 2021 15:07:35 +0700 Subject: [PATCH] BenchmarkDotNet: added NamespacePatch.cs file to define namespaces that didn't exist in old versions of Lucene.NET --- .../Util/NamespacePatch.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs diff --git a/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs b/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs new file mode 100644 index 0000000000..16b2a07dc3 --- /dev/null +++ b/src/Lucene.Net.Tests.BenchmarkDotNet/Util/NamespacePatch.cs @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Didn't exist in early versions of Lucene.NET - this is just to patch those cases so using directives will compile +namespace Lucene.Net.Documents.Extensions +{ +}