From 16a5763bed13749db839afe6f5b9aaaddb41fbd5 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Mon, 24 Jan 2022 18:48:40 +0900 Subject: [PATCH] Remove unnecessary #nullable enable directive As null checker is globally turned on in Libplanet project, each single file in the project no more needs to add a #null enable directive https://github.com/planetarium/libplanet/issues/458 --- Libplanet.Extensions.Cocona/Commands/MptCommand.cs | 1 - Libplanet.Extensions.Cocona/Commands/StatsCommand.cs | 1 - Libplanet.Extensions.Cocona/Commands/StoreCommand.cs | 1 - Libplanet.RocksDBStore/RocksDBKeyValueStore.cs | 1 - Libplanet.RocksDBStore/RocksDBUtils.cs | 1 - Libplanet/Action/AccountBalanceGetter.cs | 1 - Libplanet/Action/AccountStateDeltaExtensions.cs | 1 - Libplanet/Action/AccountStateDeltaImpl.cs | 1 - Libplanet/Action/AccountStateDeltaImplV0.cs | 2 -- Libplanet/Action/AccountStateGetter.cs | 1 - Libplanet/Action/ActionContext.cs | 1 - Libplanet/Action/ActionEvaluation.cs | 1 - Libplanet/Action/ActionEvaluator.cs | 1 - Libplanet/Action/CurrencyPermissionException.cs | 1 - Libplanet/Action/ExtractableException.cs | 1 - Libplanet/Action/IAccountStateDelta.cs | 1 - Libplanet/Action/IActionContext.cs | 1 - Libplanet/Action/IExtractableException.cs | 1 - Libplanet/Action/InsufficientBalanceException.cs | 1 - Libplanet/Action/MissingActionTypeException.cs | 1 - Libplanet/Action/NullAction.cs | 1 - Libplanet/Action/UnexpectedlyTerminatedActionException.cs | 1 - Libplanet/Address.cs | 1 - Libplanet/AddressExtensions.cs | 1 - Libplanet/Assets/Currency.cs | 1 - Libplanet/Assets/FungibleAssetValue.cs | 1 - Libplanet/Blockchain/BlockChain.TxExecution.cs | 1 - Libplanet/Blockchain/BlockLocator.cs | 1 - Libplanet/Blockchain/FungibleAssetStateCompleter.cs | 1 - Libplanet/Blockchain/FungibleAssetStateCompleters.cs | 1 - Libplanet/Blockchain/IBlockChainStates.cs | 1 - Libplanet/Blockchain/IncompleteBlockStatesException.cs | 1 - Libplanet/Blockchain/KeyConverters.cs | 1 - Libplanet/Blockchain/NullChainStates.cs | 1 - Libplanet/Blockchain/Policies/BlockPolicy.cs | 1 - Libplanet/Blockchain/Policies/DifficultyAdjustment.cs | 1 - Libplanet/Blockchain/Policies/IBlockPolicy.cs | 1 - Libplanet/Blockchain/Policies/IStagePolicy.cs | 1 - Libplanet/Blockchain/Policies/VolatileStagePolicy.cs | 1 - Libplanet/Blockchain/Renderers/AnonymousActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/AnonymousRenderer.cs | 1 - Libplanet/Blockchain/Renderers/AtomicActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/Debug/InvalidRenderException.cs | 1 - Libplanet/Blockchain/Renderers/Debug/RecordingActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/Debug/RenderRecord.cs | 1 - .../Blockchain/Renderers/Debug/ValidatingActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/DelayedActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/DelayedRenderer.cs | 1 - Libplanet/Blockchain/Renderers/IActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/IRenderer.cs | 1 - Libplanet/Blockchain/Renderers/LoggedActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/LoggedRenderer.cs | 1 - Libplanet/Blockchain/Renderers/NonblockActionRenderer.cs | 1 - Libplanet/Blockchain/Renderers/NonblockRenderer.cs | 1 - Libplanet/Blockchain/StateCompleter.cs | 1 - Libplanet/Blockchain/StateCompleters.cs | 1 - Libplanet/Blockchain/TotalDifficultyComparer.cs | 1 - Libplanet/Blocks/Block.cs | 1 - Libplanet/Blocks/BlockContent.cs | 1 - Libplanet/Blocks/BlockContentExtensions.cs | 1 - Libplanet/Blocks/BlockExcerptExtensions.cs | 2 -- Libplanet/Blocks/BlockHash.cs | 1 - Libplanet/Blocks/BlockHeader.cs | 1 - Libplanet/Blocks/BlockMarshaler.cs | 1 - Libplanet/Blocks/BlockMetadata.cs | 1 - Libplanet/Blocks/BlockMetadataExtensions.cs | 1 - Libplanet/Blocks/BlockPerception.cs | 1 - Libplanet/Blocks/BlockPolicyViolationException.cs | 1 - Libplanet/Blocks/HashAlgorithmGetter.cs | 1 - Libplanet/Blocks/IBlockContent.cs | 1 - Libplanet/Blocks/IBlockExcerpt.cs | 1 - Libplanet/Blocks/IBlockHeader.cs | 1 - Libplanet/Blocks/IBlockMetadata.cs | 1 - Libplanet/Blocks/IPreEvaluationBlock.cs | 1 - Libplanet/Blocks/IPreEvaluationBlockHeader.cs | 1 - Libplanet/Blocks/InvalidBlockBytesLengthException.cs | 1 - Libplanet/Blocks/InvalidBlockDifficultyException.cs | 1 - Libplanet/Blocks/InvalidBlockException.cs | 1 - Libplanet/Blocks/InvalidBlockHashAlgorithmTypeException.cs | 1 - Libplanet/Blocks/InvalidBlockHashException.cs | 1 - Libplanet/Blocks/InvalidBlockIndexException.cs | 1 - Libplanet/Blocks/InvalidBlockPreEvaluationHashException.cs | 1 - Libplanet/Blocks/InvalidBlockPreviousHashException.cs | 1 - Libplanet/Blocks/InvalidBlockProtocolVersionException.cs | 1 - Libplanet/Blocks/InvalidBlockPublicKeyException.cs | 1 - Libplanet/Blocks/InvalidBlockSignatureException.cs | 1 - Libplanet/Blocks/InvalidBlockStateRootHashException.cs | 1 - Libplanet/Blocks/InvalidBlockTimestampException.cs | 1 - Libplanet/Blocks/InvalidBlockTotalDifficultyException.cs | 1 - Libplanet/Blocks/InvalidBlockTxCountException.cs | 1 - Libplanet/Blocks/InvalidBlockTxCountPerSignerException.cs | 1 - Libplanet/Blocks/InvalidGenesisBlockException.cs | 1 - Libplanet/Blocks/PreEvaluationBlock.cs | 1 - Libplanet/Blocks/PreEvaluationBlockHeader.cs | 1 - Libplanet/ByteArrayExtensions.cs | 1 - Libplanet/ByteUtil.cs | 1 - Libplanet/Crypto/DefaultCryptoBackend.cs | 1 - Libplanet/Crypto/ICryptoBackend.cs | 1 - Libplanet/Crypto/InvalidCiphertextException.cs | 1 - Libplanet/Crypto/PrivateKey.cs | 1 - Libplanet/Crypto/PublicKey.cs | 1 - Libplanet/FixedSizedQueue.cs | 1 - Libplanet/HashAlgorithmType.cs | 1 - Libplanet/HashDigest.cs | 1 - Libplanet/Hashcash.cs | 1 - Libplanet/KeyStore/IKeyStore.cs | 1 - Libplanet/KeyStore/IncorrectPassphraseException.cs | 1 - Libplanet/KeyStore/InvalidKeyJsonException.cs | 1 - Libplanet/KeyStore/KeyJsonException.cs | 1 - Libplanet/KeyStore/KeyStoreException.cs | 1 - Libplanet/KeyStore/MismatchedAddressException.cs | 1 - Libplanet/KeyStore/NoKeyException.cs | 1 - Libplanet/KeyStore/UnsupportedKeyJsonException.cs | 1 - Libplanet/KeyStore/Web3KeyStore.cs | 1 - Libplanet/KeyValuePairExtensions.cs | 1 - Libplanet/Misc/ArrayEqualityComparer.cs | 1 - Libplanet/Net/ActionExecutionState.cs | 1 - Libplanet/Net/AsyncDelegate.cs | 1 - Libplanet/Net/BlockCandidateTable.cs | 1 - Libplanet/Net/BlockDemand.cs | 1 - Libplanet/Net/BlockDemandTable.cs | 1 - Libplanet/Net/BlockDownloadState.cs | 1 - Libplanet/Net/BlockVerificationState.cs | 1 - Libplanet/Net/BoundPeer.cs | 1 - Libplanet/Net/DifferentAppProtocolVersionException.cs | 1 - Libplanet/Net/IceServer.cs | 1 - Libplanet/Net/IceServerException.cs | 1 - Libplanet/Net/InvalidMessageException.cs | 1 - Libplanet/Net/InvalidStateTargetException.cs | 1 - Libplanet/Net/InvalidTimestampException.cs | 1 - Libplanet/Net/Messages/BlockHashes.cs | 1 - Libplanet/Net/Messages/BlockHeaderMessage.cs | 1 - Libplanet/Net/Messages/Blocks.cs | 1 - Libplanet/Net/Messages/ChainStatus.cs | 1 - Libplanet/Net/Messages/DifferentVersion.cs | 1 - Libplanet/Net/Messages/FindNeighbors.cs | 1 - Libplanet/Net/Messages/GetBlockHashes.cs | 1 - Libplanet/Net/Messages/GetBlocks.cs | 1 - Libplanet/Net/Messages/GetChainStatus.cs | 1 - Libplanet/Net/Messages/GetTxs.cs | 1 - Libplanet/Net/Messages/IMessageCodec.cs | 1 - Libplanet/Net/Messages/Message.cs | 1 - Libplanet/Net/Messages/Neighbors.cs | 1 - Libplanet/Net/Messages/NetMQMessageCodec.cs | 1 - Libplanet/Net/Messages/Ping.cs | 1 - Libplanet/Net/Messages/Pong.cs | 1 - Libplanet/Net/Messages/TcpMessageCodec.cs | 1 - Libplanet/Net/Messages/Tx.cs | 1 - Libplanet/Net/Messages/TxIds.cs | 1 - Libplanet/Net/NetMQFrameExtensions.cs | 1 - Libplanet/Net/NoSwarmContextException.cs | 1 - Libplanet/Net/Peer.cs | 1 - Libplanet/Net/PeerNotFoundException.cs | 1 - Libplanet/Net/PeerState.cs | 1 - Libplanet/Net/PreloadState.cs | 1 - Libplanet/Net/Protocols/IProtocol.cs | 1 - Libplanet/Net/Protocols/KBucket.cs | 1 - Libplanet/Net/Protocols/Kademlia.cs | 1 - Libplanet/Net/Protocols/KademliaProtocol.cs | 1 - Libplanet/Net/Protocols/PeerDiscoveryException.cs | 1 - Libplanet/Net/Protocols/PingTimeoutException.cs | 1 - Libplanet/Net/Protocols/RoutingTable.cs | 1 - Libplanet/Net/StateDownloadState.cs | 1 - Libplanet/Net/SwarmException.cs | 1 - Libplanet/Net/Transports/TcpTransport.cs | 1 - Libplanet/Net/Transports/TransportException.cs | 1 - Libplanet/Net/TxCompletion.cs | 1 - Libplanet/Nonce.cs | 1 - Libplanet/Store/BlockDigest.cs | 1 - Libplanet/Store/BlockSet.cs | 1 - Libplanet/Store/ChainIdNotFoundException.cs | 1 - Libplanet/Store/IStateStore.cs | 1 - Libplanet/Store/StateStoreExtensions.cs | 1 - Libplanet/Store/Trie/CacheableKeyValueStore.cs | 1 - Libplanet/Store/Trie/DefaultKeyValueStore.cs | 1 - Libplanet/Store/Trie/IKeyValueStore.cs | 1 - Libplanet/Store/Trie/ITrie.cs | 1 - Libplanet/Store/Trie/ITrieExtensions.cs | 1 - Libplanet/Store/Trie/InvalidTrieNodeException.cs | 1 - Libplanet/Store/Trie/KeyBytes.cs | 1 - Libplanet/Store/Trie/MemoryKeyValueStore.cs | 1 - Libplanet/Store/Trie/MerkleTrie.Path.cs | 1 - Libplanet/Store/Trie/MerkleTrie.cs | 1 - Libplanet/Store/Trie/MerkleTrieExtensions.cs | 1 - Libplanet/Store/Trie/Nodes/BaseNode.cs | 1 - Libplanet/Store/Trie/Nodes/FullNode.cs | 1 - Libplanet/Store/Trie/Nodes/HashNode.cs | 1 - Libplanet/Store/Trie/Nodes/INode.cs | 1 - Libplanet/Store/Trie/Nodes/INodeExtensions.cs | 1 - Libplanet/Store/Trie/Nodes/NodeDecoder.cs | 1 - Libplanet/Store/Trie/Nodes/ShortNode.cs | 1 - Libplanet/Store/Trie/Nodes/ValueNode.cs | 1 - Libplanet/Store/TrieStateStore.cs | 1 - Libplanet/TimeSpanExtensions.cs | 1 - Libplanet/Tx/InvalidTxException.cs | 1 - Libplanet/Tx/InvalidTxGenesisHashException.cs | 1 - Libplanet/Tx/InvalidTxIdException.cs | 1 - Libplanet/Tx/InvalidTxNonceException.cs | 1 - Libplanet/Tx/InvalidTxPublicKeyException.cs | 1 - Libplanet/Tx/InvalidTxSignatureException.cs | 1 - Libplanet/Tx/TxExecution.cs | 1 - Libplanet/Tx/TxFailure.cs | 1 - Libplanet/Tx/TxPolicyViolationException.cs | 1 - Libplanet/Tx/TxSuccess.cs | 1 - 204 files changed, 206 deletions(-) diff --git a/Libplanet.Extensions.Cocona/Commands/MptCommand.cs b/Libplanet.Extensions.Cocona/Commands/MptCommand.cs index 5b87e9e36ca..bd523b3b858 100644 --- a/Libplanet.Extensions.Cocona/Commands/MptCommand.cs +++ b/Libplanet.Extensions.Cocona/Commands/MptCommand.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet.Extensions.Cocona/Commands/StatsCommand.cs b/Libplanet.Extensions.Cocona/Commands/StatsCommand.cs index cc82fa2da90..5e0bdb20206 100644 --- a/Libplanet.Extensions.Cocona/Commands/StatsCommand.cs +++ b/Libplanet.Extensions.Cocona/Commands/StatsCommand.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet.Extensions.Cocona/Commands/StoreCommand.cs b/Libplanet.Extensions.Cocona/Commands/StoreCommand.cs index 11795dee9bc..e989371cf31 100644 --- a/Libplanet.Extensions.Cocona/Commands/StoreCommand.cs +++ b/Libplanet.Extensions.Cocona/Commands/StoreCommand.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet.RocksDBStore/RocksDBKeyValueStore.cs b/Libplanet.RocksDBStore/RocksDBKeyValueStore.cs index cc527b62dfa..3eb7812e3b8 100644 --- a/Libplanet.RocksDBStore/RocksDBKeyValueStore.cs +++ b/Libplanet.RocksDBStore/RocksDBKeyValueStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/Libplanet.RocksDBStore/RocksDBUtils.cs b/Libplanet.RocksDBStore/RocksDBUtils.cs index 98ee8811601..2c0e72ab31f 100644 --- a/Libplanet.RocksDBStore/RocksDBUtils.cs +++ b/Libplanet.RocksDBStore/RocksDBUtils.cs @@ -1,4 +1,3 @@ -#nullable enable using System.IO; using RocksDbSharp; diff --git a/Libplanet/Action/AccountBalanceGetter.cs b/Libplanet/Action/AccountBalanceGetter.cs index 579ff3f7997..0f602fd99d9 100644 --- a/Libplanet/Action/AccountBalanceGetter.cs +++ b/Libplanet/Action/AccountBalanceGetter.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Assets; namespace Libplanet.Action diff --git a/Libplanet/Action/AccountStateDeltaExtensions.cs b/Libplanet/Action/AccountStateDeltaExtensions.cs index 191f0afad67..b3436a49056 100644 --- a/Libplanet/Action/AccountStateDeltaExtensions.cs +++ b/Libplanet/Action/AccountStateDeltaExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/Libplanet/Action/AccountStateDeltaImpl.cs b/Libplanet/Action/AccountStateDeltaImpl.cs index 1f5c8b9aa1a..01b376883a3 100644 --- a/Libplanet/Action/AccountStateDeltaImpl.cs +++ b/Libplanet/Action/AccountStateDeltaImpl.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Action/AccountStateDeltaImplV0.cs b/Libplanet/Action/AccountStateDeltaImplV0.cs index 3917c627f25..68f2ab11aec 100644 --- a/Libplanet/Action/AccountStateDeltaImplV0.cs +++ b/Libplanet/Action/AccountStateDeltaImplV0.cs @@ -5,8 +5,6 @@ using Bencodex.Types; using Libplanet.Assets; -#nullable enable - namespace Libplanet.Action { /// diff --git a/Libplanet/Action/AccountStateGetter.cs b/Libplanet/Action/AccountStateGetter.cs index 2a35100a5fd..4282e8434bf 100644 --- a/Libplanet/Action/AccountStateGetter.cs +++ b/Libplanet/Action/AccountStateGetter.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Bencodex.Types; diff --git a/Libplanet/Action/ActionContext.cs b/Libplanet/Action/ActionContext.cs index 10f97ff31ac..55f0b188753 100644 --- a/Libplanet/Action/ActionContext.cs +++ b/Libplanet/Action/ActionContext.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Diagnostics.Contracts; using System.Security.Cryptography; using Libplanet.Store.Trie; diff --git a/Libplanet/Action/ActionEvaluation.cs b/Libplanet/Action/ActionEvaluation.cs index 3240e30645f..53ab5d26d0b 100644 --- a/Libplanet/Action/ActionEvaluation.cs +++ b/Libplanet/Action/ActionEvaluation.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Action diff --git a/Libplanet/Action/ActionEvaluator.cs b/Libplanet/Action/ActionEvaluator.cs index 26fa63642df..3cbbc3ad296 100644 --- a/Libplanet/Action/ActionEvaluator.cs +++ b/Libplanet/Action/ActionEvaluator.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Action/CurrencyPermissionException.cs b/Libplanet/Action/CurrencyPermissionException.cs index 961ef48ee02..1eb3a65f2f6 100644 --- a/Libplanet/Action/CurrencyPermissionException.cs +++ b/Libplanet/Action/CurrencyPermissionException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Assets; diff --git a/Libplanet/Action/ExtractableException.cs b/Libplanet/Action/ExtractableException.cs index 345f2a27bc3..0c18e703c9e 100644 --- a/Libplanet/Action/ExtractableException.cs +++ b/Libplanet/Action/ExtractableException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using Bencodex.Types; diff --git a/Libplanet/Action/IAccountStateDelta.cs b/Libplanet/Action/IAccountStateDelta.cs index d2186a0b910..963892981a3 100644 --- a/Libplanet/Action/IAccountStateDelta.cs +++ b/Libplanet/Action/IAccountStateDelta.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Action/IActionContext.cs b/Libplanet/Action/IActionContext.cs index fa84f150211..f8ebfcd0981 100644 --- a/Libplanet/Action/IActionContext.cs +++ b/Libplanet/Action/IActionContext.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Diagnostics.Contracts; using System.Security.Cryptography; using Libplanet.Blocks; diff --git a/Libplanet/Action/IExtractableException.cs b/Libplanet/Action/IExtractableException.cs index 839393797c2..03093cd495b 100644 --- a/Libplanet/Action/IExtractableException.cs +++ b/Libplanet/Action/IExtractableException.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Diagnostics.Contracts; using Bencodex.Types; using Libplanet.Tx; diff --git a/Libplanet/Action/InsufficientBalanceException.cs b/Libplanet/Action/InsufficientBalanceException.cs index 7f71cf89bb5..6da93de26dc 100644 --- a/Libplanet/Action/InsufficientBalanceException.cs +++ b/Libplanet/Action/InsufficientBalanceException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Assets; diff --git a/Libplanet/Action/MissingActionTypeException.cs b/Libplanet/Action/MissingActionTypeException.cs index 7bb18ace2a7..b6a71e17ab4 100644 --- a/Libplanet/Action/MissingActionTypeException.cs +++ b/Libplanet/Action/MissingActionTypeException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Action diff --git a/Libplanet/Action/NullAction.cs b/Libplanet/Action/NullAction.cs index 677b20cf7c1..e658d6aec24 100644 --- a/Libplanet/Action/NullAction.cs +++ b/Libplanet/Action/NullAction.cs @@ -1,4 +1,3 @@ -#nullable enable using Bencodex.Types; namespace Libplanet.Action diff --git a/Libplanet/Action/UnexpectedlyTerminatedActionException.cs b/Libplanet/Action/UnexpectedlyTerminatedActionException.cs index fe6c723a319..5d2f11a854c 100644 --- a/Libplanet/Action/UnexpectedlyTerminatedActionException.cs +++ b/Libplanet/Action/UnexpectedlyTerminatedActionException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Runtime.Serialization; diff --git a/Libplanet/Address.cs b/Libplanet/Address.cs index 985427f128c..d5528950a23 100644 --- a/Libplanet/Address.cs +++ b/Libplanet/Address.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.Contracts; diff --git a/Libplanet/AddressExtensions.cs b/Libplanet/AddressExtensions.cs index 1e4acccdbdb..c6c73785eaa 100644 --- a/Libplanet/AddressExtensions.cs +++ b/Libplanet/AddressExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Crypto; namespace Libplanet diff --git a/Libplanet/Assets/Currency.cs b/Libplanet/Assets/Currency.cs index 17b4254ee2f..ac742480dc7 100644 --- a/Libplanet/Assets/Currency.cs +++ b/Libplanet/Assets/Currency.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Assets/FungibleAssetValue.cs b/Libplanet/Assets/FungibleAssetValue.cs index 75275e848dc..44185ee3dcd 100644 --- a/Libplanet/Assets/FungibleAssetValue.cs +++ b/Libplanet/Assets/FungibleAssetValue.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Globalization; diff --git a/Libplanet/Blockchain/BlockChain.TxExecution.cs b/Libplanet/Blockchain/BlockChain.TxExecution.cs index 4db48d002f4..be1c0eb15dd 100644 --- a/Libplanet/Blockchain/BlockChain.TxExecution.cs +++ b/Libplanet/Blockchain/BlockChain.TxExecution.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; diff --git a/Libplanet/Blockchain/BlockLocator.cs b/Libplanet/Blockchain/BlockLocator.cs index 9f8bebf440b..05d4b24ce07 100644 --- a/Libplanet/Blockchain/BlockLocator.cs +++ b/Libplanet/Blockchain/BlockLocator.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections; using System.Collections.Generic; diff --git a/Libplanet/Blockchain/FungibleAssetStateCompleter.cs b/Libplanet/Blockchain/FungibleAssetStateCompleter.cs index 57d65b00122..6c04f729c4c 100644 --- a/Libplanet/Blockchain/FungibleAssetStateCompleter.cs +++ b/Libplanet/Blockchain/FungibleAssetStateCompleter.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Action; using Libplanet.Assets; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/FungibleAssetStateCompleters.cs b/Libplanet/Blockchain/FungibleAssetStateCompleters.cs index 1f22ceb4a5b..0efbce5d9be 100644 --- a/Libplanet/Blockchain/FungibleAssetStateCompleters.cs +++ b/Libplanet/Blockchain/FungibleAssetStateCompleters.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Bencodex.Types; using Libplanet.Action; diff --git a/Libplanet/Blockchain/IBlockChainStates.cs b/Libplanet/Blockchain/IBlockChainStates.cs index c4d390ea9c5..33617671ec5 100644 --- a/Libplanet/Blockchain/IBlockChainStates.cs +++ b/Libplanet/Blockchain/IBlockChainStates.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Bencodex.Types; using Libplanet.Action; diff --git a/Libplanet/Blockchain/IncompleteBlockStatesException.cs b/Libplanet/Blockchain/IncompleteBlockStatesException.cs index 32a0c8ead5f..d0e53e090e5 100644 --- a/Libplanet/Blockchain/IncompleteBlockStatesException.cs +++ b/Libplanet/Blockchain/IncompleteBlockStatesException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/KeyConverters.cs b/Libplanet/Blockchain/KeyConverters.cs index 8a7ea2a1942..dac7957283f 100644 --- a/Libplanet/Blockchain/KeyConverters.cs +++ b/Libplanet/Blockchain/KeyConverters.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Assets; namespace Libplanet.Blockchain diff --git a/Libplanet/Blockchain/NullChainStates.cs b/Libplanet/Blockchain/NullChainStates.cs index 2360fa99fad..7901dbc9323 100644 --- a/Libplanet/Blockchain/NullChainStates.cs +++ b/Libplanet/Blockchain/NullChainStates.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Bencodex.Types; using Libplanet.Action; diff --git a/Libplanet/Blockchain/Policies/BlockPolicy.cs b/Libplanet/Blockchain/Policies/BlockPolicy.cs index 96f0eec1ee7..95e91b4e5c7 100644 --- a/Libplanet/Blockchain/Policies/BlockPolicy.cs +++ b/Libplanet/Blockchain/Policies/BlockPolicy.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Diagnostics.Contracts; diff --git a/Libplanet/Blockchain/Policies/DifficultyAdjustment.cs b/Libplanet/Blockchain/Policies/DifficultyAdjustment.cs index 6c1f2f08e18..e7944d396c5 100644 --- a/Libplanet/Blockchain/Policies/DifficultyAdjustment.cs +++ b/Libplanet/Blockchain/Policies/DifficultyAdjustment.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Policies/IBlockPolicy.cs b/Libplanet/Blockchain/Policies/IBlockPolicy.cs index a9655640fb0..63087738665 100644 --- a/Libplanet/Blockchain/Policies/IBlockPolicy.cs +++ b/Libplanet/Blockchain/Policies/IBlockPolicy.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Diagnostics.Contracts; using Libplanet.Action; diff --git a/Libplanet/Blockchain/Policies/IStagePolicy.cs b/Libplanet/Blockchain/Policies/IStagePolicy.cs index c1a1b16c7bc..afca4fe30ce 100644 --- a/Libplanet/Blockchain/Policies/IStagePolicy.cs +++ b/Libplanet/Blockchain/Policies/IStagePolicy.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Libplanet.Action; using Libplanet.Tx; diff --git a/Libplanet/Blockchain/Policies/VolatileStagePolicy.cs b/Libplanet/Blockchain/Policies/VolatileStagePolicy.cs index 4266322e9c6..1fe5f3b6a23 100644 --- a/Libplanet/Blockchain/Policies/VolatileStagePolicy.cs +++ b/Libplanet/Blockchain/Policies/VolatileStagePolicy.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Blockchain/Renderers/AnonymousActionRenderer.cs b/Libplanet/Blockchain/Renderers/AnonymousActionRenderer.cs index c3b8899b1e1..8463d78692a 100644 --- a/Libplanet/Blockchain/Renderers/AnonymousActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/AnonymousActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/AnonymousRenderer.cs b/Libplanet/Blockchain/Renderers/AnonymousRenderer.cs index a7db93e07fc..fc18b3393bf 100644 --- a/Libplanet/Blockchain/Renderers/AnonymousRenderer.cs +++ b/Libplanet/Blockchain/Renderers/AnonymousRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/AtomicActionRenderer.cs b/Libplanet/Blockchain/Renderers/AtomicActionRenderer.cs index be04fd1a2c1..8996430cc88 100644 --- a/Libplanet/Blockchain/Renderers/AtomicActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/AtomicActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using Libplanet.Action; diff --git a/Libplanet/Blockchain/Renderers/Debug/InvalidRenderException.cs b/Libplanet/Blockchain/Renderers/Debug/InvalidRenderException.cs index 7005a91a04f..b48e6fa7665 100644 --- a/Libplanet/Blockchain/Renderers/Debug/InvalidRenderException.cs +++ b/Libplanet/Blockchain/Renderers/Debug/InvalidRenderException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Blockchain/Renderers/Debug/RecordingActionRenderer.cs b/Libplanet/Blockchain/Renderers/Debug/RecordingActionRenderer.cs index e8fafad2c97..5852996e20e 100644 --- a/Libplanet/Blockchain/Renderers/Debug/RecordingActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/Debug/RecordingActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blockchain/Renderers/Debug/RenderRecord.cs b/Libplanet/Blockchain/Renderers/Debug/RenderRecord.cs index 155d91830ce..b2d19391f28 100644 --- a/Libplanet/Blockchain/Renderers/Debug/RenderRecord.cs +++ b/Libplanet/Blockchain/Renderers/Debug/RenderRecord.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/Debug/ValidatingActionRenderer.cs b/Libplanet/Blockchain/Renderers/Debug/ValidatingActionRenderer.cs index c968563ac58..06f89bc6823 100644 --- a/Libplanet/Blockchain/Renderers/Debug/ValidatingActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/Debug/ValidatingActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Blockchain/Renderers/DelayedActionRenderer.cs b/Libplanet/Blockchain/Renderers/DelayedActionRenderer.cs index ff3241a7f5e..694c06b1f3f 100644 --- a/Libplanet/Blockchain/Renderers/DelayedActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/DelayedActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Blockchain/Renderers/DelayedRenderer.cs b/Libplanet/Blockchain/Renderers/DelayedRenderer.cs index be3a9325513..a7340887fef 100644 --- a/Libplanet/Blockchain/Renderers/DelayedRenderer.cs +++ b/Libplanet/Blockchain/Renderers/DelayedRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Blockchain/Renderers/IActionRenderer.cs b/Libplanet/Blockchain/Renderers/IActionRenderer.cs index 30e553aa912..a0b5d322ae8 100644 --- a/Libplanet/Blockchain/Renderers/IActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/IActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/IRenderer.cs b/Libplanet/Blockchain/Renderers/IRenderer.cs index 3d7263202b0..161c056e30a 100644 --- a/Libplanet/Blockchain/Renderers/IRenderer.cs +++ b/Libplanet/Blockchain/Renderers/IRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/LoggedActionRenderer.cs b/Libplanet/Blockchain/Renderers/LoggedActionRenderer.cs index 3f7eb8bc2d8..e6a9498a08d 100644 --- a/Libplanet/Blockchain/Renderers/LoggedActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/LoggedActionRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/LoggedRenderer.cs b/Libplanet/Blockchain/Renderers/LoggedRenderer.cs index eeb69f78a7a..81070dfcc94 100644 --- a/Libplanet/Blockchain/Renderers/LoggedRenderer.cs +++ b/Libplanet/Blockchain/Renderers/LoggedRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Action; using Libplanet.Blocks; diff --git a/Libplanet/Blockchain/Renderers/NonblockActionRenderer.cs b/Libplanet/Blockchain/Renderers/NonblockActionRenderer.cs index 4d48561ee8a..95f34528f82 100644 --- a/Libplanet/Blockchain/Renderers/NonblockActionRenderer.cs +++ b/Libplanet/Blockchain/Renderers/NonblockActionRenderer.cs @@ -2,7 +2,6 @@ using Libplanet.Action; using Libplanet.Blocks; -#nullable enable namespace Libplanet.Blockchain.Renderers { diff --git a/Libplanet/Blockchain/Renderers/NonblockRenderer.cs b/Libplanet/Blockchain/Renderers/NonblockRenderer.cs index 0ee40ec9866..04796dfb8cc 100644 --- a/Libplanet/Blockchain/Renderers/NonblockRenderer.cs +++ b/Libplanet/Blockchain/Renderers/NonblockRenderer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.CodeAnalysis; using System.Threading; diff --git a/Libplanet/Blockchain/StateCompleter.cs b/Libplanet/Blockchain/StateCompleter.cs index dd870950ccb..d7f6b174cc9 100644 --- a/Libplanet/Blockchain/StateCompleter.cs +++ b/Libplanet/Blockchain/StateCompleter.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Bencodex.Types; using Libplanet.Action; diff --git a/Libplanet/Blockchain/StateCompleters.cs b/Libplanet/Blockchain/StateCompleters.cs index a7494ba4c08..4c29fdcb5cf 100644 --- a/Libplanet/Blockchain/StateCompleters.cs +++ b/Libplanet/Blockchain/StateCompleters.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using Bencodex.Types; diff --git a/Libplanet/Blockchain/TotalDifficultyComparer.cs b/Libplanet/Blockchain/TotalDifficultyComparer.cs index 101cc211443..3e1fa193335 100644 --- a/Libplanet/Blockchain/TotalDifficultyComparer.cs +++ b/Libplanet/Blockchain/TotalDifficultyComparer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/Block.cs b/Libplanet/Blocks/Block.cs index 8d2429e93e7..d10076f8915 100644 --- a/Libplanet/Blocks/Block.cs +++ b/Libplanet/Blocks/Block.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/BlockContent.cs b/Libplanet/Blocks/BlockContent.cs index a438793f56e..79159413b5e 100644 --- a/Libplanet/Blocks/BlockContent.cs +++ b/Libplanet/Blocks/BlockContent.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/BlockContentExtensions.cs b/Libplanet/Blocks/BlockContentExtensions.cs index 15299d5a280..02b2022b71e 100644 --- a/Libplanet/Blocks/BlockContentExtensions.cs +++ b/Libplanet/Blocks/BlockContentExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Action; using Libplanet.Tx; diff --git a/Libplanet/Blocks/BlockExcerptExtensions.cs b/Libplanet/Blocks/BlockExcerptExtensions.cs index a6c3c334f02..4a7a0639e57 100644 --- a/Libplanet/Blocks/BlockExcerptExtensions.cs +++ b/Libplanet/Blocks/BlockExcerptExtensions.cs @@ -1,5 +1,3 @@ -#nullable enable - namespace Libplanet.Blocks { /// diff --git a/Libplanet/Blocks/BlockHash.cs b/Libplanet/Blocks/BlockHash.cs index c5569ccba06..abd6f0d428b 100644 --- a/Libplanet/Blocks/BlockHash.cs +++ b/Libplanet/Blocks/BlockHash.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/BlockHeader.cs b/Libplanet/Blocks/BlockHeader.cs index 5609870fd62..25b421ae688 100644 --- a/Libplanet/Blocks/BlockHeader.cs +++ b/Libplanet/Blocks/BlockHeader.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Numerics; diff --git a/Libplanet/Blocks/BlockMarshaler.cs b/Libplanet/Blocks/BlockMarshaler.cs index 4996d782a52..95295d436b9 100644 --- a/Libplanet/Blocks/BlockMarshaler.cs +++ b/Libplanet/Blocks/BlockMarshaler.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/BlockMetadata.cs b/Libplanet/Blocks/BlockMetadata.cs index 3b036e31dcc..713536bb375 100644 --- a/Libplanet/Blocks/BlockMetadata.cs +++ b/Libplanet/Blocks/BlockMetadata.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/BlockMetadataExtensions.cs b/Libplanet/Blocks/BlockMetadataExtensions.cs index 52b2a6953ec..1c9b5657a92 100644 --- a/Libplanet/Blocks/BlockMetadataExtensions.cs +++ b/Libplanet/Blocks/BlockMetadataExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/BlockPerception.cs b/Libplanet/Blocks/BlockPerception.cs index c6b9201cc6e..262ba2a7dc7 100644 --- a/Libplanet/Blocks/BlockPerception.cs +++ b/Libplanet/Blocks/BlockPerception.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Numerics; diff --git a/Libplanet/Blocks/BlockPolicyViolationException.cs b/Libplanet/Blocks/BlockPolicyViolationException.cs index 276fee829a7..39b41153fad 100644 --- a/Libplanet/Blocks/BlockPolicyViolationException.cs +++ b/Libplanet/Blocks/BlockPolicyViolationException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/HashAlgorithmGetter.cs b/Libplanet/Blocks/HashAlgorithmGetter.cs index 15c517600e2..d6d68c6ee70 100644 --- a/Libplanet/Blocks/HashAlgorithmGetter.cs +++ b/Libplanet/Blocks/HashAlgorithmGetter.cs @@ -1,4 +1,3 @@ -#nullable enable namespace Libplanet.Blocks { /// diff --git a/Libplanet/Blocks/IBlockContent.cs b/Libplanet/Blocks/IBlockContent.cs index 2f516610972..09c62246105 100644 --- a/Libplanet/Blocks/IBlockContent.cs +++ b/Libplanet/Blocks/IBlockContent.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Libplanet.Action; using Libplanet.Tx; diff --git a/Libplanet/Blocks/IBlockExcerpt.cs b/Libplanet/Blocks/IBlockExcerpt.cs index f274fbc3b45..60844577d32 100644 --- a/Libplanet/Blocks/IBlockExcerpt.cs +++ b/Libplanet/Blocks/IBlockExcerpt.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Numerics; using Libplanet.Blockchain; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/IBlockHeader.cs b/Libplanet/Blocks/IBlockHeader.cs index f76e3118608..e9785c287a4 100644 --- a/Libplanet/Blocks/IBlockHeader.cs +++ b/Libplanet/Blocks/IBlockHeader.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Immutable; using System.Security.Cryptography; using Libplanet.Crypto; diff --git a/Libplanet/Blocks/IBlockMetadata.cs b/Libplanet/Blocks/IBlockMetadata.cs index cd0e6d474e5..43dba5e1fbc 100644 --- a/Libplanet/Blocks/IBlockMetadata.cs +++ b/Libplanet/Blocks/IBlockMetadata.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Numerics; using System.Security.Cryptography; diff --git a/Libplanet/Blocks/IPreEvaluationBlock.cs b/Libplanet/Blocks/IPreEvaluationBlock.cs index 29ee3b1fc2d..a953417db4a 100644 --- a/Libplanet/Blocks/IPreEvaluationBlock.cs +++ b/Libplanet/Blocks/IPreEvaluationBlock.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Action; using Libplanet.Tx; diff --git a/Libplanet/Blocks/IPreEvaluationBlockHeader.cs b/Libplanet/Blocks/IPreEvaluationBlockHeader.cs index 8505768b5bc..4f9a2ae2904 100644 --- a/Libplanet/Blocks/IPreEvaluationBlockHeader.cs +++ b/Libplanet/Blocks/IPreEvaluationBlockHeader.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Immutable; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockBytesLengthException.cs b/Libplanet/Blocks/InvalidBlockBytesLengthException.cs index 2122eecb881..036d3d0636a 100644 --- a/Libplanet/Blocks/InvalidBlockBytesLengthException.cs +++ b/Libplanet/Blocks/InvalidBlockBytesLengthException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/InvalidBlockDifficultyException.cs b/Libplanet/Blocks/InvalidBlockDifficultyException.cs index 7a170968e3a..8e5deea8219 100644 --- a/Libplanet/Blocks/InvalidBlockDifficultyException.cs +++ b/Libplanet/Blocks/InvalidBlockDifficultyException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockException.cs b/Libplanet/Blocks/InvalidBlockException.cs index 5497ba1f112..cd9974853c2 100644 --- a/Libplanet/Blocks/InvalidBlockException.cs +++ b/Libplanet/Blocks/InvalidBlockException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Blocks/InvalidBlockHashAlgorithmTypeException.cs b/Libplanet/Blocks/InvalidBlockHashAlgorithmTypeException.cs index bcb0368e3c2..ecbd0156d71 100644 --- a/Libplanet/Blocks/InvalidBlockHashAlgorithmTypeException.cs +++ b/Libplanet/Blocks/InvalidBlockHashAlgorithmTypeException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/InvalidBlockHashException.cs b/Libplanet/Blocks/InvalidBlockHashException.cs index f0d966273d7..fcec6ab6961 100644 --- a/Libplanet/Blocks/InvalidBlockHashException.cs +++ b/Libplanet/Blocks/InvalidBlockHashException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockIndexException.cs b/Libplanet/Blocks/InvalidBlockIndexException.cs index e046076c6ac..4e734c22e3d 100644 --- a/Libplanet/Blocks/InvalidBlockIndexException.cs +++ b/Libplanet/Blocks/InvalidBlockIndexException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockPreEvaluationHashException.cs b/Libplanet/Blocks/InvalidBlockPreEvaluationHashException.cs index af83aa5fb1e..e3a1244333b 100644 --- a/Libplanet/Blocks/InvalidBlockPreEvaluationHashException.cs +++ b/Libplanet/Blocks/InvalidBlockPreEvaluationHashException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.Contracts; diff --git a/Libplanet/Blocks/InvalidBlockPreviousHashException.cs b/Libplanet/Blocks/InvalidBlockPreviousHashException.cs index f75db5e42d2..3cec0fba49e 100644 --- a/Libplanet/Blocks/InvalidBlockPreviousHashException.cs +++ b/Libplanet/Blocks/InvalidBlockPreviousHashException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockProtocolVersionException.cs b/Libplanet/Blocks/InvalidBlockProtocolVersionException.cs index aaf88fddd29..90d80088bf1 100644 --- a/Libplanet/Blocks/InvalidBlockProtocolVersionException.cs +++ b/Libplanet/Blocks/InvalidBlockProtocolVersionException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Blocks/InvalidBlockPublicKeyException.cs b/Libplanet/Blocks/InvalidBlockPublicKeyException.cs index f64a1ca4b97..cf48e2d8f91 100644 --- a/Libplanet/Blocks/InvalidBlockPublicKeyException.cs +++ b/Libplanet/Blocks/InvalidBlockPublicKeyException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Runtime.Serialization; diff --git a/Libplanet/Blocks/InvalidBlockSignatureException.cs b/Libplanet/Blocks/InvalidBlockSignatureException.cs index 41f07546bd0..b806630a606 100644 --- a/Libplanet/Blocks/InvalidBlockSignatureException.cs +++ b/Libplanet/Blocks/InvalidBlockSignatureException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.Contracts; diff --git a/Libplanet/Blocks/InvalidBlockStateRootHashException.cs b/Libplanet/Blocks/InvalidBlockStateRootHashException.cs index 98e3244462e..be8fa464e11 100644 --- a/Libplanet/Blocks/InvalidBlockStateRootHashException.cs +++ b/Libplanet/Blocks/InvalidBlockStateRootHashException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Runtime.Serialization; diff --git a/Libplanet/Blocks/InvalidBlockTimestampException.cs b/Libplanet/Blocks/InvalidBlockTimestampException.cs index 617313ec187..f3342ccb233 100644 --- a/Libplanet/Blocks/InvalidBlockTimestampException.cs +++ b/Libplanet/Blocks/InvalidBlockTimestampException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Blocks diff --git a/Libplanet/Blocks/InvalidBlockTotalDifficultyException.cs b/Libplanet/Blocks/InvalidBlockTotalDifficultyException.cs index f70455edbc9..ee7557b9151 100644 --- a/Libplanet/Blocks/InvalidBlockTotalDifficultyException.cs +++ b/Libplanet/Blocks/InvalidBlockTotalDifficultyException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Numerics; diff --git a/Libplanet/Blocks/InvalidBlockTxCountException.cs b/Libplanet/Blocks/InvalidBlockTxCountException.cs index a20af595678..69e14ecb932 100644 --- a/Libplanet/Blocks/InvalidBlockTxCountException.cs +++ b/Libplanet/Blocks/InvalidBlockTxCountException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/InvalidBlockTxCountPerSignerException.cs b/Libplanet/Blocks/InvalidBlockTxCountPerSignerException.cs index 3084ada5b12..0dcb044d34b 100644 --- a/Libplanet/Blocks/InvalidBlockTxCountPerSignerException.cs +++ b/Libplanet/Blocks/InvalidBlockTxCountPerSignerException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Blocks/InvalidGenesisBlockException.cs b/Libplanet/Blocks/InvalidGenesisBlockException.cs index 3b2207f212c..52959621602 100644 --- a/Libplanet/Blocks/InvalidGenesisBlockException.cs +++ b/Libplanet/Blocks/InvalidGenesisBlockException.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Diagnostics.Contracts; using Libplanet.Blockchain; using Libplanet.Store; diff --git a/Libplanet/Blocks/PreEvaluationBlock.cs b/Libplanet/Blocks/PreEvaluationBlock.cs index 050ee9c5d8e..a1f21a735bd 100644 --- a/Libplanet/Blocks/PreEvaluationBlock.cs +++ b/Libplanet/Blocks/PreEvaluationBlock.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Blocks/PreEvaluationBlockHeader.cs b/Libplanet/Blocks/PreEvaluationBlockHeader.cs index 6adf13de9aa..f600dd75f28 100644 --- a/Libplanet/Blocks/PreEvaluationBlockHeader.cs +++ b/Libplanet/Blocks/PreEvaluationBlockHeader.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Numerics; diff --git a/Libplanet/ByteArrayExtensions.cs b/Libplanet/ByteArrayExtensions.cs index 2a047a16ff3..cf334c8667c 100644 --- a/Libplanet/ByteArrayExtensions.cs +++ b/Libplanet/ByteArrayExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; diff --git a/Libplanet/ByteUtil.cs b/Libplanet/ByteUtil.cs index a43eb424d8d..5d1725e8729 100644 --- a/Libplanet/ByteUtil.cs +++ b/Libplanet/ByteUtil.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Crypto/DefaultCryptoBackend.cs b/Libplanet/Crypto/DefaultCryptoBackend.cs index da4519699a6..c5d1bbafe26 100644 --- a/Libplanet/Crypto/DefaultCryptoBackend.cs +++ b/Libplanet/Crypto/DefaultCryptoBackend.cs @@ -1,4 +1,3 @@ -#nullable enable using System.IO; using System.Security.Cryptography; using Org.BouncyCastle.Asn1; diff --git a/Libplanet/Crypto/ICryptoBackend.cs b/Libplanet/Crypto/ICryptoBackend.cs index f4016857877..5d95a3a137b 100644 --- a/Libplanet/Crypto/ICryptoBackend.cs +++ b/Libplanet/Crypto/ICryptoBackend.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Security.Cryptography; diff --git a/Libplanet/Crypto/InvalidCiphertextException.cs b/Libplanet/Crypto/InvalidCiphertextException.cs index 8594d8fd0ab..651ecbaf209 100644 --- a/Libplanet/Crypto/InvalidCiphertextException.cs +++ b/Libplanet/Crypto/InvalidCiphertextException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Crypto/PrivateKey.cs b/Libplanet/Crypto/PrivateKey.cs index 52feed95db0..967fac4175f 100644 --- a/Libplanet/Crypto/PrivateKey.cs +++ b/Libplanet/Crypto/PrivateKey.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Crypto/PublicKey.cs b/Libplanet/Crypto/PublicKey.cs index 393ed5a6d3e..eb3ea32bdc1 100644 --- a/Libplanet/Crypto/PublicKey.cs +++ b/Libplanet/Crypto/PublicKey.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/FixedSizedQueue.cs b/Libplanet/FixedSizedQueue.cs index ff2943f4ae5..30f6baf6ea0 100644 --- a/Libplanet/FixedSizedQueue.cs +++ b/Libplanet/FixedSizedQueue.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Concurrent; namespace Libplanet diff --git a/Libplanet/HashAlgorithmType.cs b/Libplanet/HashAlgorithmType.cs index 5150074aa5f..8f59946037e 100644 --- a/Libplanet/HashAlgorithmType.cs +++ b/Libplanet/HashAlgorithmType.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/HashDigest.cs b/Libplanet/HashDigest.cs index 2648e35b8eb..7a723b9ca97 100644 --- a/Libplanet/HashDigest.cs +++ b/Libplanet/HashDigest.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; diff --git a/Libplanet/Hashcash.cs b/Libplanet/Hashcash.cs index 4439e218df7..85b1d98c652 100644 --- a/Libplanet/Hashcash.cs +++ b/Libplanet/Hashcash.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/KeyStore/IKeyStore.cs b/Libplanet/KeyStore/IKeyStore.cs index e197f634365..1fbe5a859d7 100644 --- a/Libplanet/KeyStore/IKeyStore.cs +++ b/Libplanet/KeyStore/IKeyStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; diff --git a/Libplanet/KeyStore/IncorrectPassphraseException.cs b/Libplanet/KeyStore/IncorrectPassphraseException.cs index 9dd43cda5be..307f53410f0 100644 --- a/Libplanet/KeyStore/IncorrectPassphraseException.cs +++ b/Libplanet/KeyStore/IncorrectPassphraseException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; diff --git a/Libplanet/KeyStore/InvalidKeyJsonException.cs b/Libplanet/KeyStore/InvalidKeyJsonException.cs index 5759d45d420..0db125af8d6 100644 --- a/Libplanet/KeyStore/InvalidKeyJsonException.cs +++ b/Libplanet/KeyStore/InvalidKeyJsonException.cs @@ -1,4 +1,3 @@ -#nullable enable namespace Libplanet.KeyStore { /// diff --git a/Libplanet/KeyStore/KeyJsonException.cs b/Libplanet/KeyStore/KeyJsonException.cs index a18ed1a7ff6..90b6d67df90 100644 --- a/Libplanet/KeyStore/KeyJsonException.cs +++ b/Libplanet/KeyStore/KeyJsonException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.KeyStore diff --git a/Libplanet/KeyStore/KeyStoreException.cs b/Libplanet/KeyStore/KeyStoreException.cs index 8a88718cb2d..f6d1c0a333e 100644 --- a/Libplanet/KeyStore/KeyStoreException.cs +++ b/Libplanet/KeyStore/KeyStoreException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.KeyStore diff --git a/Libplanet/KeyStore/MismatchedAddressException.cs b/Libplanet/KeyStore/MismatchedAddressException.cs index 14f738694ac..cf184f9e466 100644 --- a/Libplanet/KeyStore/MismatchedAddressException.cs +++ b/Libplanet/KeyStore/MismatchedAddressException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.KeyStore diff --git a/Libplanet/KeyStore/NoKeyException.cs b/Libplanet/KeyStore/NoKeyException.cs index 5da821f00e4..50f865a7dba 100644 --- a/Libplanet/KeyStore/NoKeyException.cs +++ b/Libplanet/KeyStore/NoKeyException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.KeyStore diff --git a/Libplanet/KeyStore/UnsupportedKeyJsonException.cs b/Libplanet/KeyStore/UnsupportedKeyJsonException.cs index b8854158334..6deea3a622e 100644 --- a/Libplanet/KeyStore/UnsupportedKeyJsonException.cs +++ b/Libplanet/KeyStore/UnsupportedKeyJsonException.cs @@ -1,4 +1,3 @@ -#nullable enable namespace Libplanet.KeyStore { /// diff --git a/Libplanet/KeyStore/Web3KeyStore.cs b/Libplanet/KeyStore/Web3KeyStore.cs index f74bbfe827d..f6236926a15 100644 --- a/Libplanet/KeyStore/Web3KeyStore.cs +++ b/Libplanet/KeyStore/Web3KeyStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Globalization; diff --git a/Libplanet/KeyValuePairExtensions.cs b/Libplanet/KeyValuePairExtensions.cs index 7ed60de8834..6e40b4136c0 100644 --- a/Libplanet/KeyValuePairExtensions.cs +++ b/Libplanet/KeyValuePairExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Diagnostics.Contracts; diff --git a/Libplanet/Misc/ArrayEqualityComparer.cs b/Libplanet/Misc/ArrayEqualityComparer.cs index e0673e65143..6d051f7b73e 100644 --- a/Libplanet/Misc/ArrayEqualityComparer.cs +++ b/Libplanet/Misc/ArrayEqualityComparer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; diff --git a/Libplanet/Net/ActionExecutionState.cs b/Libplanet/Net/ActionExecutionState.cs index 8e33dc33cc0..7a06bfa00a1 100644 --- a/Libplanet/Net/ActionExecutionState.cs +++ b/Libplanet/Net/ActionExecutionState.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Blocks; namespace Libplanet.Net diff --git a/Libplanet/Net/AsyncDelegate.cs b/Libplanet/Net/AsyncDelegate.cs index 44b8a9427d8..8ee869a40d4 100644 --- a/Libplanet/Net/AsyncDelegate.cs +++ b/Libplanet/Net/AsyncDelegate.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/BlockCandidateTable.cs b/Libplanet/Net/BlockCandidateTable.cs index 2c955cd17a1..e24bf9c6452 100644 --- a/Libplanet/Net/BlockCandidateTable.cs +++ b/Libplanet/Net/BlockCandidateTable.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Net/BlockDemand.cs b/Libplanet/Net/BlockDemand.cs index e6d2d494023..5b51e5e16e7 100644 --- a/Libplanet/Net/BlockDemand.cs +++ b/Libplanet/Net/BlockDemand.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Numerics; using Libplanet.Blocks; diff --git a/Libplanet/Net/BlockDemandTable.cs b/Libplanet/Net/BlockDemandTable.cs index 650b771c73f..0616b8d2b0b 100644 --- a/Libplanet/Net/BlockDemandTable.cs +++ b/Libplanet/Net/BlockDemandTable.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Net/BlockDownloadState.cs b/Libplanet/Net/BlockDownloadState.cs index 2fa0c638d05..c717381b809 100644 --- a/Libplanet/Net/BlockDownloadState.cs +++ b/Libplanet/Net/BlockDownloadState.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Blocks; namespace Libplanet.Net diff --git a/Libplanet/Net/BlockVerificationState.cs b/Libplanet/Net/BlockVerificationState.cs index 9647c22d292..9777ed7c0fd 100644 --- a/Libplanet/Net/BlockVerificationState.cs +++ b/Libplanet/Net/BlockVerificationState.cs @@ -1,4 +1,3 @@ -#nullable enable using Libplanet.Blocks; namespace Libplanet.Net diff --git a/Libplanet/Net/BoundPeer.cs b/Libplanet/Net/BoundPeer.cs index 4b0a6293b1f..159543243fa 100644 --- a/Libplanet/Net/BoundPeer.cs +++ b/Libplanet/Net/BoundPeer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Globalization; diff --git a/Libplanet/Net/DifferentAppProtocolVersionException.cs b/Libplanet/Net/DifferentAppProtocolVersionException.cs index 7ab96b2e524..857cf81bd4c 100644 --- a/Libplanet/Net/DifferentAppProtocolVersionException.cs +++ b/Libplanet/Net/DifferentAppProtocolVersionException.cs @@ -1,4 +1,3 @@ -#nullable enable #pragma warning disable S3871 using System; using Libplanet.Net.Messages; diff --git a/Libplanet/Net/IceServer.cs b/Libplanet/Net/IceServer.cs index 8f39edf2adc..955614c3bf7 100644 --- a/Libplanet/Net/IceServer.cs +++ b/Libplanet/Net/IceServer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/IceServerException.cs b/Libplanet/Net/IceServerException.cs index 29969802d14..7b3b4600dc4 100644 --- a/Libplanet/Net/IceServerException.cs +++ b/Libplanet/Net/IceServerException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Net diff --git a/Libplanet/Net/InvalidMessageException.cs b/Libplanet/Net/InvalidMessageException.cs index ab20a812b5e..7f18c07300a 100644 --- a/Libplanet/Net/InvalidMessageException.cs +++ b/Libplanet/Net/InvalidMessageException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Net.Messages; diff --git a/Libplanet/Net/InvalidStateTargetException.cs b/Libplanet/Net/InvalidStateTargetException.cs index fd94fda23b4..e216764a117 100644 --- a/Libplanet/Net/InvalidStateTargetException.cs +++ b/Libplanet/Net/InvalidStateTargetException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/InvalidTimestampException.cs b/Libplanet/Net/InvalidTimestampException.cs index 2b0066fe0f1..75da214df75 100644 --- a/Libplanet/Net/InvalidTimestampException.cs +++ b/Libplanet/Net/InvalidTimestampException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; using Libplanet.Serialization; diff --git a/Libplanet/Net/Messages/BlockHashes.cs b/Libplanet/Net/Messages/BlockHashes.cs index 072f680e2dd..1e79e7147f9 100644 --- a/Libplanet/Net/Messages/BlockHashes.cs +++ b/Libplanet/Net/Messages/BlockHashes.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/Messages/BlockHeaderMessage.cs b/Libplanet/Net/Messages/BlockHeaderMessage.cs index 4feecd2ac34..a208f6c959d 100644 --- a/Libplanet/Net/Messages/BlockHeaderMessage.cs +++ b/Libplanet/Net/Messages/BlockHeaderMessage.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using Bencodex; using Libplanet.Blocks; diff --git a/Libplanet/Net/Messages/Blocks.cs b/Libplanet/Net/Messages/Blocks.cs index d78104c61c3..94843dd716f 100644 --- a/Libplanet/Net/Messages/Blocks.cs +++ b/Libplanet/Net/Messages/Blocks.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/Messages/ChainStatus.cs b/Libplanet/Net/Messages/ChainStatus.cs index ece0556f17e..866c4cc8e27 100644 --- a/Libplanet/Net/Messages/ChainStatus.cs +++ b/Libplanet/Net/Messages/ChainStatus.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Numerics; diff --git a/Libplanet/Net/Messages/DifferentVersion.cs b/Libplanet/Net/Messages/DifferentVersion.cs index 106bb168831..9feed3237e2 100644 --- a/Libplanet/Net/Messages/DifferentVersion.cs +++ b/Libplanet/Net/Messages/DifferentVersion.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/FindNeighbors.cs b/Libplanet/Net/Messages/FindNeighbors.cs index 2232634a140..16618c4972d 100644 --- a/Libplanet/Net/Messages/FindNeighbors.cs +++ b/Libplanet/Net/Messages/FindNeighbors.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/GetBlockHashes.cs b/Libplanet/Net/Messages/GetBlockHashes.cs index 75d6f2b9a27..1a5b7220dcb 100644 --- a/Libplanet/Net/Messages/GetBlockHashes.cs +++ b/Libplanet/Net/Messages/GetBlockHashes.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/Messages/GetBlocks.cs b/Libplanet/Net/Messages/GetBlocks.cs index 4040de6e2b0..0b71e95290c 100644 --- a/Libplanet/Net/Messages/GetBlocks.cs +++ b/Libplanet/Net/Messages/GetBlocks.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/Messages/GetChainStatus.cs b/Libplanet/Net/Messages/GetChainStatus.cs index cd8c5d74788..19670d77f9b 100644 --- a/Libplanet/Net/Messages/GetChainStatus.cs +++ b/Libplanet/Net/Messages/GetChainStatus.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/GetTxs.cs b/Libplanet/Net/Messages/GetTxs.cs index 7cc4d52ad4b..683726ef063 100644 --- a/Libplanet/Net/Messages/GetTxs.cs +++ b/Libplanet/Net/Messages/GetTxs.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/Messages/IMessageCodec.cs b/Libplanet/Net/Messages/IMessageCodec.cs index 88a89773331..7a45e6816dc 100644 --- a/Libplanet/Net/Messages/IMessageCodec.cs +++ b/Libplanet/Net/Messages/IMessageCodec.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Crypto; using Libplanet.Net.Transports; diff --git a/Libplanet/Net/Messages/Message.cs b/Libplanet/Net/Messages/Message.cs index 278f522f2fc..4d276295f34 100644 --- a/Libplanet/Net/Messages/Message.cs +++ b/Libplanet/Net/Messages/Message.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using Destructurama.Attributed; diff --git a/Libplanet/Net/Messages/Neighbors.cs b/Libplanet/Net/Messages/Neighbors.cs index 3a53fcff824..8dc58942ca5 100644 --- a/Libplanet/Net/Messages/Neighbors.cs +++ b/Libplanet/Net/Messages/Neighbors.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Net/Messages/NetMQMessageCodec.cs b/Libplanet/Net/Messages/NetMQMessageCodec.cs index d1b6ef4c45c..1e9ef675cfe 100644 --- a/Libplanet/Net/Messages/NetMQMessageCodec.cs +++ b/Libplanet/Net/Messages/NetMQMessageCodec.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Globalization; diff --git a/Libplanet/Net/Messages/Ping.cs b/Libplanet/Net/Messages/Ping.cs index 06db576b808..807c728096b 100644 --- a/Libplanet/Net/Messages/Ping.cs +++ b/Libplanet/Net/Messages/Ping.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/Pong.cs b/Libplanet/Net/Messages/Pong.cs index 4146e14c488..c833f086cc3 100644 --- a/Libplanet/Net/Messages/Pong.cs +++ b/Libplanet/Net/Messages/Pong.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/TcpMessageCodec.cs b/Libplanet/Net/Messages/TcpMessageCodec.cs index fc460b4e20f..c3ac61bdf58 100644 --- a/Libplanet/Net/Messages/TcpMessageCodec.cs +++ b/Libplanet/Net/Messages/TcpMessageCodec.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Globalization; diff --git a/Libplanet/Net/Messages/Tx.cs b/Libplanet/Net/Messages/Tx.cs index be997877cd9..91133f4c698 100644 --- a/Libplanet/Net/Messages/Tx.cs +++ b/Libplanet/Net/Messages/Tx.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; namespace Libplanet.Net.Messages diff --git a/Libplanet/Net/Messages/TxIds.cs b/Libplanet/Net/Messages/TxIds.cs index c3879f942a4..f321c911eed 100644 --- a/Libplanet/Net/Messages/TxIds.cs +++ b/Libplanet/Net/Messages/TxIds.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Net/NetMQFrameExtensions.cs b/Libplanet/Net/NetMQFrameExtensions.cs index 832f6a802f9..feb4c275b19 100644 --- a/Libplanet/Net/NetMQFrameExtensions.cs +++ b/Libplanet/Net/NetMQFrameExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.IO; using System.Security.Cryptography; diff --git a/Libplanet/Net/NoSwarmContextException.cs b/Libplanet/Net/NoSwarmContextException.cs index 13edf33c9c6..df75c9168eb 100644 --- a/Libplanet/Net/NoSwarmContextException.cs +++ b/Libplanet/Net/NoSwarmContextException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/Peer.cs b/Libplanet/Net/Peer.cs index 1135b2df129..a07285ad961 100644 --- a/Libplanet/Net/Peer.cs +++ b/Libplanet/Net/Peer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Net; diff --git a/Libplanet/Net/PeerNotFoundException.cs b/Libplanet/Net/PeerNotFoundException.cs index 04a5f3b65e4..fd01d2e3d4b 100644 --- a/Libplanet/Net/PeerNotFoundException.cs +++ b/Libplanet/Net/PeerNotFoundException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/PeerState.cs b/Libplanet/Net/PeerState.cs index dd4001de297..7a0d41b1887 100644 --- a/Libplanet/Net/PeerState.cs +++ b/Libplanet/Net/PeerState.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Net diff --git a/Libplanet/Net/PreloadState.cs b/Libplanet/Net/PreloadState.cs index 36a0cc229d3..2364446e1dd 100644 --- a/Libplanet/Net/PreloadState.cs +++ b/Libplanet/Net/PreloadState.cs @@ -1,4 +1,3 @@ -#nullable enable namespace Libplanet.Net { // diff --git a/Libplanet/Net/Protocols/IProtocol.cs b/Libplanet/Net/Protocols/IProtocol.cs index 0c7a8b4a253..bf0c045443d 100644 --- a/Libplanet/Net/Protocols/IProtocol.cs +++ b/Libplanet/Net/Protocols/IProtocol.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Threading; diff --git a/Libplanet/Net/Protocols/KBucket.cs b/Libplanet/Net/Protocols/KBucket.cs index 13f9c1af969..605d0877bd6 100644 --- a/Libplanet/Net/Protocols/KBucket.cs +++ b/Libplanet/Net/Protocols/KBucket.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Net/Protocols/Kademlia.cs b/Libplanet/Net/Protocols/Kademlia.cs index 5453adb0b87..7071dce3154 100644 --- a/Libplanet/Net/Protocols/Kademlia.cs +++ b/Libplanet/Net/Protocols/Kademlia.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/Libplanet/Net/Protocols/KademliaProtocol.cs b/Libplanet/Net/Protocols/KademliaProtocol.cs index 78a76513eb9..783ab1abc8c 100644 --- a/Libplanet/Net/Protocols/KademliaProtocol.cs +++ b/Libplanet/Net/Protocols/KademliaProtocol.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Net/Protocols/PeerDiscoveryException.cs b/Libplanet/Net/Protocols/PeerDiscoveryException.cs index 9f3ca187a9b..9e5fc27fe1a 100644 --- a/Libplanet/Net/Protocols/PeerDiscoveryException.cs +++ b/Libplanet/Net/Protocols/PeerDiscoveryException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/Protocols/PingTimeoutException.cs b/Libplanet/Net/Protocols/PingTimeoutException.cs index 88972ed51a5..707588b6091 100644 --- a/Libplanet/Net/Protocols/PingTimeoutException.cs +++ b/Libplanet/Net/Protocols/PingTimeoutException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/Protocols/RoutingTable.cs b/Libplanet/Net/Protocols/RoutingTable.cs index d4c41b7e463..82bb7962b89 100644 --- a/Libplanet/Net/Protocols/RoutingTable.cs +++ b/Libplanet/Net/Protocols/RoutingTable.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Net/StateDownloadState.cs b/Libplanet/Net/StateDownloadState.cs index f32dd965094..6e41b967790 100644 --- a/Libplanet/Net/StateDownloadState.cs +++ b/Libplanet/Net/StateDownloadState.cs @@ -1,4 +1,3 @@ -#nullable enable namespace Libplanet.Net { /// diff --git a/Libplanet/Net/SwarmException.cs b/Libplanet/Net/SwarmException.cs index e161c2a0d23..cb2d6e84b82 100644 --- a/Libplanet/Net/SwarmException.cs +++ b/Libplanet/Net/SwarmException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/Transports/TcpTransport.cs b/Libplanet/Net/Transports/TcpTransport.cs index 59e5883ae70..2e6d8ca072f 100644 --- a/Libplanet/Net/Transports/TcpTransport.cs +++ b/Libplanet/Net/Transports/TcpTransport.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Net/Transports/TransportException.cs b/Libplanet/Net/Transports/TransportException.cs index 9d6e74d4416..3f7fced7f7a 100644 --- a/Libplanet/Net/Transports/TransportException.cs +++ b/Libplanet/Net/Transports/TransportException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Net/TxCompletion.cs b/Libplanet/Net/TxCompletion.cs index 713a5ccbc84..a48fe5d3f42 100644 --- a/Libplanet/Net/TxCompletion.cs +++ b/Libplanet/Net/TxCompletion.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/Libplanet/Nonce.cs b/Libplanet/Nonce.cs index 3053d67e3b4..d2ed34d8dc3 100644 --- a/Libplanet/Nonce.cs +++ b/Libplanet/Nonce.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.Contracts; diff --git a/Libplanet/Store/BlockDigest.cs b/Libplanet/Store/BlockDigest.cs index 3e0b95ab878..c1eb919a726 100644 --- a/Libplanet/Store/BlockDigest.cs +++ b/Libplanet/Store/BlockDigest.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Immutable; using System.Linq; using System.Numerics; diff --git a/Libplanet/Store/BlockSet.cs b/Libplanet/Store/BlockSet.cs index e57b93e579a..a968f7eff42 100644 --- a/Libplanet/Store/BlockSet.cs +++ b/Libplanet/Store/BlockSet.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Store/ChainIdNotFoundException.cs b/Libplanet/Store/ChainIdNotFoundException.cs index 672eb589ccd..0a1ccc68f76 100644 --- a/Libplanet/Store/ChainIdNotFoundException.cs +++ b/Libplanet/Store/ChainIdNotFoundException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Store diff --git a/Libplanet/Store/IStateStore.cs b/Libplanet/Store/IStateStore.cs index ec5fdabfa4d..61a6cbc0f52 100644 --- a/Libplanet/Store/IStateStore.cs +++ b/Libplanet/Store/IStateStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Security.Cryptography; diff --git a/Libplanet/Store/StateStoreExtensions.cs b/Libplanet/Store/StateStoreExtensions.cs index 963747d0c9f..21a98fc0660 100644 --- a/Libplanet/Store/StateStoreExtensions.cs +++ b/Libplanet/Store/StateStoreExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/Libplanet/Store/Trie/CacheableKeyValueStore.cs b/Libplanet/Store/Trie/CacheableKeyValueStore.cs index e089d6a2331..41b609001fc 100644 --- a/Libplanet/Store/Trie/CacheableKeyValueStore.cs +++ b/Libplanet/Store/Trie/CacheableKeyValueStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Store/Trie/DefaultKeyValueStore.cs b/Libplanet/Store/Trie/DefaultKeyValueStore.cs index 4e17829b703..a8304628311 100644 --- a/Libplanet/Store/Trie/DefaultKeyValueStore.cs +++ b/Libplanet/Store/Trie/DefaultKeyValueStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.IO; diff --git a/Libplanet/Store/Trie/IKeyValueStore.cs b/Libplanet/Store/Trie/IKeyValueStore.cs index a34b31711b0..1e8d33f179e 100644 --- a/Libplanet/Store/Trie/IKeyValueStore.cs +++ b/Libplanet/Store/Trie/IKeyValueStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; diff --git a/Libplanet/Store/Trie/ITrie.cs b/Libplanet/Store/Trie/ITrie.cs index 7842d651464..10d08a546ce 100644 --- a/Libplanet/Store/Trie/ITrie.cs +++ b/Libplanet/Store/Trie/ITrie.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Security.Cryptography; using Bencodex.Types; diff --git a/Libplanet/Store/Trie/ITrieExtensions.cs b/Libplanet/Store/Trie/ITrieExtensions.cs index 5c763fa2211..a654a1a55cf 100644 --- a/Libplanet/Store/Trie/ITrieExtensions.cs +++ b/Libplanet/Store/Trie/ITrieExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Linq; diff --git a/Libplanet/Store/Trie/InvalidTrieNodeException.cs b/Libplanet/Store/Trie/InvalidTrieNodeException.cs index fc871a2a94e..9d618108608 100644 --- a/Libplanet/Store/Trie/InvalidTrieNodeException.cs +++ b/Libplanet/Store/Trie/InvalidTrieNodeException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Runtime.Serialization; diff --git a/Libplanet/Store/Trie/KeyBytes.cs b/Libplanet/Store/Trie/KeyBytes.cs index 213d6b1a4a1..d4b5d6c0298 100644 --- a/Libplanet/Store/Trie/KeyBytes.cs +++ b/Libplanet/Store/Trie/KeyBytes.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Runtime.CompilerServices; diff --git a/Libplanet/Store/Trie/MemoryKeyValueStore.cs b/Libplanet/Store/Trie/MemoryKeyValueStore.cs index 4e4abaab4b9..52f5ab7c461 100644 --- a/Libplanet/Store/Trie/MemoryKeyValueStore.cs +++ b/Libplanet/Store/Trie/MemoryKeyValueStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Store/Trie/MerkleTrie.Path.cs b/Libplanet/Store/Trie/MerkleTrie.Path.cs index 0ee87a13e1b..844ad13f738 100644 --- a/Libplanet/Store/Trie/MerkleTrie.Path.cs +++ b/Libplanet/Store/Trie/MerkleTrie.Path.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.Contracts; diff --git a/Libplanet/Store/Trie/MerkleTrie.cs b/Libplanet/Store/Trie/MerkleTrie.cs index 07d04f086a3..f80c6900755 100644 --- a/Libplanet/Store/Trie/MerkleTrie.cs +++ b/Libplanet/Store/Trie/MerkleTrie.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/Libplanet/Store/Trie/MerkleTrieExtensions.cs b/Libplanet/Store/Trie/MerkleTrieExtensions.cs index 7848b3f17b8..5c0099fdd82 100644 --- a/Libplanet/Store/Trie/MerkleTrieExtensions.cs +++ b/Libplanet/Store/Trie/MerkleTrieExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/Libplanet/Store/Trie/Nodes/BaseNode.cs b/Libplanet/Store/Trie/Nodes/BaseNode.cs index d6cd31c4d1c..00ecff831c4 100644 --- a/Libplanet/Store/Trie/Nodes/BaseNode.cs +++ b/Libplanet/Store/Trie/Nodes/BaseNode.cs @@ -1,4 +1,3 @@ -#nullable enable using Bencodex.Types; namespace Libplanet.Store.Trie.Nodes diff --git a/Libplanet/Store/Trie/Nodes/FullNode.cs b/Libplanet/Store/Trie/Nodes/FullNode.cs index 29242b2ca22..dbde269ecd2 100644 --- a/Libplanet/Store/Trie/Nodes/FullNode.cs +++ b/Libplanet/Store/Trie/Nodes/FullNode.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using System.Linq; diff --git a/Libplanet/Store/Trie/Nodes/HashNode.cs b/Libplanet/Store/Trie/Nodes/HashNode.cs index 37a72b08c79..d5ae8240d97 100644 --- a/Libplanet/Store/Trie/Nodes/HashNode.cs +++ b/Libplanet/Store/Trie/Nodes/HashNode.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Security.Cryptography; using Bencodex.Types; diff --git a/Libplanet/Store/Trie/Nodes/INode.cs b/Libplanet/Store/Trie/Nodes/INode.cs index 5972985842f..15583b8cb72 100644 --- a/Libplanet/Store/Trie/Nodes/INode.cs +++ b/Libplanet/Store/Trie/Nodes/INode.cs @@ -1,4 +1,3 @@ -#nullable enable using Bencodex.Types; namespace Libplanet.Store.Trie.Nodes diff --git a/Libplanet/Store/Trie/Nodes/INodeExtensions.cs b/Libplanet/Store/Trie/Nodes/INodeExtensions.cs index a7057d70073..21d0b5739a7 100644 --- a/Libplanet/Store/Trie/Nodes/INodeExtensions.cs +++ b/Libplanet/Store/Trie/Nodes/INodeExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Security.Cryptography; using Bencodex; diff --git a/Libplanet/Store/Trie/Nodes/NodeDecoder.cs b/Libplanet/Store/Trie/Nodes/NodeDecoder.cs index 2a8b8349c07..6206c4b63cd 100644 --- a/Libplanet/Store/Trie/Nodes/NodeDecoder.cs +++ b/Libplanet/Store/Trie/Nodes/NodeDecoder.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Immutable; using System.Linq; using System.Security.Cryptography; diff --git a/Libplanet/Store/Trie/Nodes/ShortNode.cs b/Libplanet/Store/Trie/Nodes/ShortNode.cs index c4118915998..69190ae0e89 100644 --- a/Libplanet/Store/Trie/Nodes/ShortNode.cs +++ b/Libplanet/Store/Trie/Nodes/ShortNode.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Immutable; using Bencodex.Types; diff --git a/Libplanet/Store/Trie/Nodes/ValueNode.cs b/Libplanet/Store/Trie/Nodes/ValueNode.cs index 3bf9248725e..889afb1bb2a 100644 --- a/Libplanet/Store/Trie/Nodes/ValueNode.cs +++ b/Libplanet/Store/Trie/Nodes/ValueNode.cs @@ -1,4 +1,3 @@ -#nullable enable using Bencodex.Types; namespace Libplanet.Store.Trie.Nodes diff --git a/Libplanet/Store/TrieStateStore.cs b/Libplanet/Store/TrieStateStore.cs index 3c53e8cdae9..570aedfb34b 100644 --- a/Libplanet/Store/TrieStateStore.cs +++ b/Libplanet/Store/TrieStateStore.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; diff --git a/Libplanet/TimeSpanExtensions.cs b/Libplanet/TimeSpanExtensions.cs index b5bd5a721e8..f53892dafb7 100644 --- a/Libplanet/TimeSpanExtensions.cs +++ b/Libplanet/TimeSpanExtensions.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet diff --git a/Libplanet/Tx/InvalidTxException.cs b/Libplanet/Tx/InvalidTxException.cs index 8a10c21f4c5..91e6ebe2fbf 100644 --- a/Libplanet/Tx/InvalidTxException.cs +++ b/Libplanet/Tx/InvalidTxException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Tx diff --git a/Libplanet/Tx/InvalidTxGenesisHashException.cs b/Libplanet/Tx/InvalidTxGenesisHashException.cs index 739693568f2..e1e4414aee2 100644 --- a/Libplanet/Tx/InvalidTxGenesisHashException.cs +++ b/Libplanet/Tx/InvalidTxGenesisHashException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.CodeAnalysis; using Libplanet.Blockchain; diff --git a/Libplanet/Tx/InvalidTxIdException.cs b/Libplanet/Tx/InvalidTxIdException.cs index 5076deb28ed..21eba3132a6 100644 --- a/Libplanet/Tx/InvalidTxIdException.cs +++ b/Libplanet/Tx/InvalidTxIdException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Tx diff --git a/Libplanet/Tx/InvalidTxNonceException.cs b/Libplanet/Tx/InvalidTxNonceException.cs index 133fce9155b..cedc2326934 100644 --- a/Libplanet/Tx/InvalidTxNonceException.cs +++ b/Libplanet/Tx/InvalidTxNonceException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.CodeAnalysis; using Libplanet.Blockchain; diff --git a/Libplanet/Tx/InvalidTxPublicKeyException.cs b/Libplanet/Tx/InvalidTxPublicKeyException.cs index f2aca953e1d..d0ae271fa0e 100644 --- a/Libplanet/Tx/InvalidTxPublicKeyException.cs +++ b/Libplanet/Tx/InvalidTxPublicKeyException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Tx diff --git a/Libplanet/Tx/InvalidTxSignatureException.cs b/Libplanet/Tx/InvalidTxSignatureException.cs index 01f84007e1e..0d4a763078e 100644 --- a/Libplanet/Tx/InvalidTxSignatureException.cs +++ b/Libplanet/Tx/InvalidTxSignatureException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; namespace Libplanet.Tx diff --git a/Libplanet/Tx/TxExecution.cs b/Libplanet/Tx/TxExecution.cs index 96233837553..3b2f30702ab 100644 --- a/Libplanet/Tx/TxExecution.cs +++ b/Libplanet/Tx/TxExecution.cs @@ -1,4 +1,3 @@ -#nullable enable using System.Diagnostics.Contracts; using System.Runtime.Serialization; using Bencodex; diff --git a/Libplanet/Tx/TxFailure.cs b/Libplanet/Tx/TxFailure.cs index c61d80146b3..c3b8328ef90 100644 --- a/Libplanet/Tx/TxFailure.cs +++ b/Libplanet/Tx/TxFailure.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Diagnostics.Contracts; using System.Runtime.Serialization; diff --git a/Libplanet/Tx/TxPolicyViolationException.cs b/Libplanet/Tx/TxPolicyViolationException.cs index 4b005ec03bd..7a48f7da2bf 100644 --- a/Libplanet/Tx/TxPolicyViolationException.cs +++ b/Libplanet/Tx/TxPolicyViolationException.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using Libplanet.Blockchain.Policies; diff --git a/Libplanet/Tx/TxSuccess.cs b/Libplanet/Tx/TxSuccess.cs index ad449ce5b0e..6e4a7454cf5 100644 --- a/Libplanet/Tx/TxSuccess.cs +++ b/Libplanet/Tx/TxSuccess.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable;