Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
zilf
zilf
Commits
8dd09742841f
Commit
80b47690
authored
Oct 13, 2020
by
Jesse McGrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress some warnings about supposedly unused classes.
(They're actually instantiated with late binding.)
parent
f3f852241325
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
src/Zilf/Interpreter/Values/ZilSplice.cs
src/Zilf/Interpreter/Values/ZilSplice.cs
+2
-2
src/Zilf/ZModel/Vocab/AdjSynonym.cs
src/Zilf/ZModel/Vocab/AdjSynonym.cs
+1
-0
src/Zilf/ZModel/Vocab/DirSynonym.cs
src/Zilf/ZModel/Vocab/DirSynonym.cs
+1
-0
src/Zilf/ZModel/Vocab/PrepSynonym.cs
src/Zilf/ZModel/Vocab/PrepSynonym.cs
+1
-0
src/Zilf/ZModel/Vocab/VerbSynonym.cs
src/Zilf/ZModel/Vocab/VerbSynonym.cs
+1
-1
No files found.
src/Zilf/Interpreter/Values/ZilSplice.cs
View file @
8dd09742
...
...
@@ -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
;
...
...
src/Zilf/ZModel/Vocab/AdjSynonym.cs
View file @
8dd09742
...
...
@@ -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
)
...
...
src/Zilf/ZModel/Vocab/DirSynonym.cs
View file @
8dd09742
...
...
@@ -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
)
...
...
src/Zilf/ZModel/Vocab/PrepSynonym.cs
View file @
8dd09742
...
...
@@ -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
)
...
...
src/Zilf/ZModel/Vocab/VerbSynonym.cs
View file @
8dd09742
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment