This instance will be upgraded to Heptapod 0.17.2 on 2020-12-03 at 14:00 UTC+1 (a few minutes of down time)

Commit 80b47690 authored by Jesse McGrew's avatar Jesse McGrew

Suppress some warnings about supposedly unused classes.

(They're actually instantiated with late binding.)
parent f3f852241325
......@@ -17,13 +17,13 @@
*/
using System.Collections.Generic;
using JetBrains.Annotations;
using Zilf.Language;
namespace Zilf.Interpreter.Values
{
[BuiltinType(StdAtom.SPLICE, PrimType.LIST)]
class ZilSplice : ZilListBase, IMayExpandAfterEvaluation
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Late bound")]
sealed class ZilSplice : ZilListBase, IMayExpandAfterEvaluation
{
bool spliceable;
......
......@@ -21,6 +21,7 @@ using Zilf.Interpreter;
namespace Zilf.ZModel.Vocab
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Late bound")]
class AdjSynonym : Synonym
{
public AdjSynonym(IWord original, IWord synonym)
......
......@@ -21,6 +21,7 @@ using Zilf.Interpreter;
namespace Zilf.ZModel.Vocab
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Late bound")]
class DirSynonym : Synonym
{
public DirSynonym(IWord original, IWord synonym)
......
......@@ -21,6 +21,7 @@ using Zilf.Interpreter;
namespace Zilf.ZModel.Vocab
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Late bound")]
class PrepSynonym : Synonym
{
public PrepSynonym(IWord original, IWord synonym)
......
......@@ -16,11 +16,11 @@
* along with ZILF. If not, see <http://www.gnu.org/licenses/>.
*/
using JetBrains.Annotations;
using Zilf.Interpreter;
namespace Zilf.ZModel.Vocab
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Late bound")]
class VerbSynonym : Synonym
{
public VerbSynonym(IWord original, IWord synonym)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment