From 51e65fc8a090996b0bb2f0f4697376135b233654 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 27 Dec 2018 02:40:57 -0500 Subject: enable latest C# features --- src/SMAPI.Web/StardewModdingAPI.Web.csproj | 1 + 1 file changed, 1 insertion(+) (limited to 'src/SMAPI.Web') diff --git a/src/SMAPI.Web/StardewModdingAPI.Web.csproj b/src/SMAPI.Web/StardewModdingAPI.Web.csproj index 9d1990d9..32fdf135 100644 --- a/src/SMAPI.Web/StardewModdingAPI.Web.csproj +++ b/src/SMAPI.Web/StardewModdingAPI.Web.csproj @@ -3,6 +3,7 @@ netcoreapp2.0 false + latest -- cgit From c4a82418ac8b09a6965052f5c9173928457fba52 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Thu, 27 Dec 2018 12:39:10 -0500 Subject: tweak comment header convention --- src/SMAPI.Installer/InteractiveInstaller.cs | 2 +- src/SMAPI.Installer/Program.cs | 2 +- src/SMAPI.Internal/ConsoleWriting/ColorfulConsoleWriter.cs | 2 +- src/SMAPI.Internal/EnvironmentUtility.cs | 2 +- src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs | 2 +- .../ObsoleteFieldAnalyzerTests.cs | 2 +- src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs | 2 +- src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs | 2 +- src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs | 2 +- src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ArgumentParser.cs | 2 +- .../Framework/Commands/Player/AddCommand.cs | 2 +- .../Framework/Commands/Player/ListItemTypesCommand.cs | 2 +- .../Framework/Commands/Player/ListItemsCommand.cs | 2 +- .../Framework/Commands/Player/SetHealthCommand.cs | 2 +- .../Framework/Commands/Player/SetMoneyCommand.cs | 2 +- .../Framework/Commands/Player/SetStaminaCommand.cs | 2 +- .../Framework/Commands/World/ClearCommand.cs | 2 +- .../Framework/Commands/World/FreezeTimeCommand.cs | 2 +- .../Framework/Commands/World/SetSeasonCommand.cs | 2 +- src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs | 2 +- src/SMAPI.Mods.ConsoleCommands/ModEntry.cs | 2 +- src/SMAPI.Mods.SaveBackup/ModEntry.cs | 2 +- src/SMAPI.Tests/Sample.cs | 6 +++--- src/SMAPI.Tests/Utilities/SDateTests.cs | 2 +- src/SMAPI.Web/Controllers/IndexController.cs | 2 +- src/SMAPI.Web/Controllers/LogParserController.cs | 2 +- src/SMAPI.Web/Controllers/ModsApiController.cs | 2 +- src/SMAPI.Web/Controllers/ModsController.cs | 2 +- src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs | 2 +- src/SMAPI.Web/Framework/BeanstalkEnvPropsConfigProvider.cs | 2 +- src/SMAPI.Web/Framework/Clients/Chucklefish/ChucklefishClient.cs | 2 +- src/SMAPI.Web/Framework/Clients/GitHub/GitHubClient.cs | 2 +- src/SMAPI.Web/Framework/Clients/ModDrop/ModDropClient.cs | 2 +- src/SMAPI.Web/Framework/Clients/Nexus/NexusWebScrapeClient.cs | 2 +- src/SMAPI.Web/Framework/Clients/Pastebin/PastebinClient.cs | 2 +- src/SMAPI.Web/Framework/LogParsing/LogParser.cs | 2 +- src/SMAPI.Web/Framework/ModRepositories/ChucklefishRepository.cs | 2 +- src/SMAPI.Web/Framework/ModRepositories/GitHubRepository.cs | 2 +- src/SMAPI.Web/Framework/ModRepositories/ModDropRepository.cs | 2 +- src/SMAPI.Web/Framework/ModRepositories/NexusRepository.cs | 2 +- .../Framework/RewriteRules/ConditionalRedirectToHttpsRule.cs | 2 +- src/SMAPI.Web/Framework/RewriteRules/RedirectToUrlRule.cs | 2 +- src/SMAPI.Web/ViewModels/LogParserModel.cs | 2 +- src/SMAPI/Constants.cs | 2 +- src/SMAPI/Events/ButtonPressedEventArgs.cs | 2 +- src/SMAPI/Events/ButtonReleasedEventArgs.cs | 2 +- src/SMAPI/Events/ContentEvents.cs | 2 +- src/SMAPI/Events/ControlEvents.cs | 2 +- src/SMAPI/Events/EventArgsInput.cs | 2 +- src/SMAPI/Events/GameEvents.cs | 2 +- src/SMAPI/Events/GraphicsEvents.cs | 2 +- src/SMAPI/Events/InputEvents.cs | 2 +- src/SMAPI/Events/LocationEvents.cs | 2 +- src/SMAPI/Events/MenuEvents.cs | 2 +- src/SMAPI/Events/MineEvents.cs | 2 +- src/SMAPI/Events/ModMessageReceivedEventArgs.cs | 2 +- src/SMAPI/Events/MultiplayerEvents.cs | 2 +- src/SMAPI/Events/PlayerEvents.cs | 2 +- src/SMAPI/Events/SaveEvents.cs | 2 +- src/SMAPI/Events/SpecialisedEvents.cs | 2 +- src/SMAPI/Events/TimeEvents.cs | 2 +- src/SMAPI/Framework/CommandManager.cs | 2 +- src/SMAPI/Framework/Content/AssetData.cs | 2 +- src/SMAPI/Framework/Content/AssetDataForImage.cs | 2 +- src/SMAPI/Framework/Content/AssetInfo.cs | 2 +- src/SMAPI/Framework/Content/ContentCache.cs | 2 +- src/SMAPI/Framework/ContentCoordinator.cs | 2 +- src/SMAPI/Framework/ContentManagers/BaseContentManager.cs | 2 +- src/SMAPI/Framework/ContentManagers/GameContentManager.cs | 2 +- src/SMAPI/Framework/ContentManagers/ModContentManager.cs | 2 +- src/SMAPI/Framework/ContentPack.cs | 2 +- src/SMAPI/Framework/DeprecationManager.cs | 2 +- src/SMAPI/Framework/Events/ManagedEvent.cs | 4 ++-- src/SMAPI/Framework/Events/ManagedEventBase.cs | 2 +- src/SMAPI/Framework/Events/ModEventsBase.cs | 2 +- src/SMAPI/Framework/Input/GamePadStateBuilder.cs | 2 +- src/SMAPI/Framework/Logging/ConsoleInterceptionManager.cs | 2 +- src/SMAPI/Framework/Logging/LogFileManager.cs | 2 +- src/SMAPI/Framework/ModHelpers/CommandHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/ContentHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/ContentPackHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/DataHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/MultiplayerHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs | 2 +- src/SMAPI/Framework/ModHelpers/TranslationHelper.cs | 2 +- src/SMAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs | 2 +- src/SMAPI/Framework/ModLoading/AssemblyLoader.cs | 2 +- src/SMAPI/Framework/ModLoading/Finders/EventFinder.cs | 2 +- src/SMAPI/Framework/ModLoading/Finders/FieldFinder.cs | 2 +- src/SMAPI/Framework/ModLoading/Finders/MethodFinder.cs | 2 +- src/SMAPI/Framework/ModLoading/Finders/PropertyFinder.cs | 2 +- .../ModLoading/Finders/ReferenceToMemberWithUnexpectedTypeFinder.cs | 2 +- .../Framework/ModLoading/Finders/ReferenceToMissingMemberFinder.cs | 2 +- src/SMAPI/Framework/ModLoading/RewriteHelper.cs | 2 +- src/SMAPI/Framework/ModLoading/Rewriters/FieldReplaceRewriter.cs | 2 +- src/SMAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs | 2 +- src/SMAPI/Framework/ModLoading/Rewriters/MethodParentRewriter.cs | 2 +- .../Framework/ModLoading/Rewriters/StaticFieldToConstantRewriter.cs | 2 +- src/SMAPI/Framework/ModLoading/Rewriters/TypeReferenceRewriter.cs | 2 +- src/SMAPI/Framework/ModRegistry.cs | 2 +- src/SMAPI/Framework/Monitor.cs | 2 +- src/SMAPI/Framework/Networking/MultiplayerPeer.cs | 2 +- src/SMAPI/Framework/Networking/SGalaxyNetClient.cs | 2 +- src/SMAPI/Framework/Networking/SGalaxyNetServer.cs | 2 +- src/SMAPI/Framework/Networking/SLidgrenClient.cs | 2 +- src/SMAPI/Framework/Networking/SLidgrenServer.cs | 2 +- src/SMAPI/Framework/Patching/GamePatcher.cs | 2 +- src/SMAPI/Framework/Reflection/InterfaceProxyBuilder.cs | 2 +- src/SMAPI/Framework/Reflection/InterfaceProxyFactory.cs | 2 +- src/SMAPI/Framework/Reflection/ReflectedField.cs | 2 +- src/SMAPI/Framework/Reflection/ReflectedMethod.cs | 2 +- src/SMAPI/Framework/Reflection/ReflectedProperty.cs | 2 +- src/SMAPI/Framework/Reflection/Reflector.cs | 2 +- src/SMAPI/Framework/SCore.cs | 2 +- src/SMAPI/Framework/SGame.cs | 2 +- src/SMAPI/Framework/SModHooks.cs | 2 +- src/SMAPI/Framework/SMultiplayer.cs | 2 +- .../Framework/StateTracking/FieldWatchers/BaseDisposableWatcher.cs | 2 +- .../Framework/StateTracking/FieldWatchers/ComparableListWatcher.cs | 2 +- .../Framework/StateTracking/FieldWatchers/ComparableWatcher.cs | 2 +- .../Framework/StateTracking/FieldWatchers/NetCollectionWatcher.cs | 2 +- .../Framework/StateTracking/FieldWatchers/NetDictionaryWatcher.cs | 2 +- src/SMAPI/Framework/StateTracking/FieldWatchers/NetValueWatcher.cs | 2 +- .../StateTracking/FieldWatchers/ObservableCollectionWatcher.cs | 2 +- src/SMAPI/Framework/StateTracking/LocationTracker.cs | 2 +- src/SMAPI/Framework/StateTracking/PlayerTracker.cs | 2 +- src/SMAPI/Framework/StateTracking/WorldLocationsTracker.cs | 2 +- src/SMAPI/Framework/WatcherCore.cs | 2 +- src/SMAPI/Metadata/CoreAssetPropagator.cs | 2 +- src/SMAPI/Metadata/InstructionMetadata.cs | 2 +- src/SMAPI/Program.cs | 2 +- src/SMAPI/SemanticVersion.cs | 2 +- src/SMAPI/Translation.cs | 2 +- src/SMAPI/Utilities/SDate.cs | 2 +- .../Framework/Clients/WebApi/WebApiClient.cs | 2 +- src/StardewModdingAPI.Toolkit/Framework/Clients/Wiki/WikiClient.cs | 2 +- src/StardewModdingAPI.Toolkit/Framework/ModData/ModDatabase.cs | 2 +- src/StardewModdingAPI.Toolkit/Framework/ModScanning/ModScanner.cs | 2 +- src/StardewModdingAPI.Toolkit/ModToolkit.cs | 2 +- src/StardewModdingAPI.Toolkit/SemanticVersion.cs | 2 +- src/StardewModdingAPI.Toolkit/Utilities/PathUtilities.cs | 2 +- 142 files changed, 145 insertions(+), 145 deletions(-) (limited to 'src/SMAPI.Web') diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index 95aed4ca..7148b1d9 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -22,7 +22,7 @@ namespace StardewModdingApi.Installer internal class InteractiveInstaller { /********* - ** Properties + ** Fields *********/ /// The absolute path to the directory containing the files to copy into the game folder. private readonly string BundlePath; diff --git a/src/SMAPI.Installer/Program.cs b/src/SMAPI.Installer/Program.cs index 0ca5aea0..3c4d8593 100644 --- a/src/SMAPI.Installer/Program.cs +++ b/src/SMAPI.Installer/Program.cs @@ -12,7 +12,7 @@ namespace StardewModdingApi.Installer internal class Program { /********* - ** Properties + ** Fields *********/ /// The absolute path of the installer folder. [SuppressMessage("ReSharper", "AssignNullToNotNullAttribute", Justification = "The assembly location is never null in this context.")] diff --git a/src/SMAPI.Internal/ConsoleWriting/ColorfulConsoleWriter.cs b/src/SMAPI.Internal/ConsoleWriting/ColorfulConsoleWriter.cs index c04cf0e7..cdc729e2 100644 --- a/src/SMAPI.Internal/ConsoleWriting/ColorfulConsoleWriter.cs +++ b/src/SMAPI.Internal/ConsoleWriting/ColorfulConsoleWriter.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Internal.ConsoleWriting internal class ColorfulConsoleWriter { /********* - ** Properties + ** Fields *********/ /// The console text color for each log level. private readonly IDictionary Colors; diff --git a/src/SMAPI.Internal/EnvironmentUtility.cs b/src/SMAPI.Internal/EnvironmentUtility.cs index a3581898..c4e4678a 100644 --- a/src/SMAPI.Internal/EnvironmentUtility.cs +++ b/src/SMAPI.Internal/EnvironmentUtility.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.Internal internal static class EnvironmentUtility { /********* - ** Properties + ** Fields *********/ /// Get the OS name from the system uname command. /// The buffer to fill with the resulting string. diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs index 6f8c8b9b..85a77d15 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs @@ -11,7 +11,7 @@ namespace SMAPI.ModBuildConfig.Analyzer.Tests public class NetFieldAnalyzerTests : DiagnosticVerifier { /********* - ** Properties + ** Fields *********/ /// Sample C# mod code, with a {{test-code}} placeholder for the code in the Entry method to test. const string SampleProgram = @" diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs index 102a80d1..fa9235a3 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs @@ -11,7 +11,7 @@ namespace SMAPI.ModBuildConfig.Analyzer.Tests public class ObsoleteFieldAnalyzerTests : DiagnosticVerifier { /********* - ** Properties + ** Fields *********/ /// Sample C# mod code, with a {{test-code}} placeholder for the code in the Entry method to test. const string SampleProgram = @" diff --git a/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs b/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs index e6766e61..f2608348 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs @@ -14,7 +14,7 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer public class NetFieldAnalyzer : DiagnosticAnalyzer { /********* - ** Properties + ** Fields *********/ /// The namespace for Stardew Valley's Netcode types. private const string NetcodeNamespace = "Netcode"; diff --git a/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs b/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs index 3d353e52..f1a3ef75 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer/ObsoleteFieldAnalyzer.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer public class ObsoleteFieldAnalyzer : DiagnosticAnalyzer { /********* - ** Properties + ** Fields *********/ /// Maps obsolete fields/properties to their non-obsolete equivalent. private readonly IDictionary ReplacedFields = new Dictionary diff --git a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs index 7ff66695..e03683d0 100644 --- a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs +++ b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.ModBuildConfig.Framework internal class ModFileManager { /********* - ** Properties + ** Fields *********/ /// The name of the manifest file. private readonly string ManifestFileName = "manifest.json"; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ArgumentParser.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ArgumentParser.cs index 3ad1e168..10007b42 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ArgumentParser.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/ArgumentParser.cs @@ -9,7 +9,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands internal class ArgumentParser : IReadOnlyList { /********* - ** Properties + ** Fields *********/ /// The command name for errors. private readonly string CommandName; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs index 37f4719e..263e126c 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/AddCommand.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class AddCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Provides methods for searching and constructing items. private readonly ItemRepository Items = new ItemRepository(); diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemTypesCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemTypesCommand.cs index 34f1760c..a835455e 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemTypesCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemTypesCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class ListItemTypesCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Provides methods for searching and constructing items. private readonly ItemRepository Items = new ItemRepository(); diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemsCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemsCommand.cs index 942a50b8..5b52e9a2 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemsCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/ListItemsCommand.cs @@ -9,7 +9,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class ListItemsCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Provides methods for searching and constructing items. private readonly ItemRepository Items = new ItemRepository(); diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetHealthCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetHealthCommand.cs index 2e8f6630..1abb82b5 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetHealthCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetHealthCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class SetHealthCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Whether to keep the player's health at its maximum. private bool InfiniteHealth; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs index 3fc504b1..ad11cc66 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class SetMoneyCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Whether to keep the player's money at a set value. private bool InfiniteMoney; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetStaminaCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetStaminaCommand.cs index 866c3d22..009cb1de 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetStaminaCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetStaminaCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player internal class SetStaminaCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// Whether to keep the player's stamina at its maximum. private bool InfiniteStamina; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs index 9b5f07de..c769b622 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/ClearCommand.cs @@ -13,7 +13,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World internal class ClearCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// The valid types that can be cleared. private readonly string[] ValidTypes = { "debris", "fruit-trees", "grass", "trees", "everything" }; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/FreezeTimeCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/FreezeTimeCommand.cs index 2627b714..6a7ab162 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/FreezeTimeCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/FreezeTimeCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World internal class FreezeTimeCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// The time of day at which to freeze time. internal static int FrozenTime; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs index b5db9c0d..0615afe7 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/World/SetSeasonCommand.cs @@ -7,7 +7,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.World internal class SetSeasonCommand : TrainerCommand { /********* - ** Properties + ** Fields *********/ /// The valid season names. private readonly string[] ValidSeasons = { "winter", "spring", "summer", "fall" }; diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs index f4a38403..fc631826 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework internal class ItemRepository { /********* - ** Properties + ** Fields *********/ /// The custom ID offset for items don't have a unique ID in the game. private readonly int CustomIDOffset = 1000; diff --git a/src/SMAPI.Mods.ConsoleCommands/ModEntry.cs b/src/SMAPI.Mods.ConsoleCommands/ModEntry.cs index 30951064..77dace26 100644 --- a/src/SMAPI.Mods.ConsoleCommands/ModEntry.cs +++ b/src/SMAPI.Mods.ConsoleCommands/ModEntry.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands public class ModEntry : Mod { /********* - ** Properties + ** Fields *********/ /// The commands to handle. private ITrainerCommand[] Commands; diff --git a/src/SMAPI.Mods.SaveBackup/ModEntry.cs b/src/SMAPI.Mods.SaveBackup/ModEntry.cs index 4d56789a..56a86cd9 100644 --- a/src/SMAPI.Mods.SaveBackup/ModEntry.cs +++ b/src/SMAPI.Mods.SaveBackup/ModEntry.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.Mods.SaveBackup public class ModEntry : Mod { /********* - ** Properties + ** Fields *********/ /// The number of backups to keep. private readonly int BackupsToKeep = 10; diff --git a/src/SMAPI.Tests/Sample.cs b/src/SMAPI.Tests/Sample.cs index 99835d92..6cd27707 100644 --- a/src/SMAPI.Tests/Sample.cs +++ b/src/SMAPI.Tests/Sample.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace StardewModdingAPI.Tests { @@ -6,14 +6,14 @@ namespace StardewModdingAPI.Tests internal static class Sample { /********* - ** Properties + ** Fields *********/ /// A random number generator. private static readonly Random Random = new Random(); /********* - ** Properties + ** Accessors *********/ /// Get a sample string. public static string String() diff --git a/src/SMAPI.Tests/Utilities/SDateTests.cs b/src/SMAPI.Tests/Utilities/SDateTests.cs index b89d8857..1f31168e 100644 --- a/src/SMAPI.Tests/Utilities/SDateTests.cs +++ b/src/SMAPI.Tests/Utilities/SDateTests.cs @@ -13,7 +13,7 @@ namespace StardewModdingAPI.Tests.Utilities internal class SDateTests { /********* - ** Properties + ** Fields *********/ /// All valid seasons. private static readonly string[] ValidSeasons = { "spring", "summer", "fall", "winter" }; diff --git a/src/SMAPI.Web/Controllers/IndexController.cs b/src/SMAPI.Web/Controllers/IndexController.cs index d7be664d..7b3b3e80 100644 --- a/src/SMAPI.Web/Controllers/IndexController.cs +++ b/src/SMAPI.Web/Controllers/IndexController.cs @@ -20,7 +20,7 @@ namespace StardewModdingAPI.Web.Controllers internal class IndexController : Controller { /********* - ** Properties + ** Fields *********/ /// The site config settings. private readonly SiteConfig SiteConfig; diff --git a/src/SMAPI.Web/Controllers/LogParserController.cs b/src/SMAPI.Web/Controllers/LogParserController.cs index 17f8d3aa..21e4a56f 100644 --- a/src/SMAPI.Web/Controllers/LogParserController.cs +++ b/src/SMAPI.Web/Controllers/LogParserController.cs @@ -19,7 +19,7 @@ namespace StardewModdingAPI.Web.Controllers internal class LogParserController : Controller { /********* - ** Properties + ** Fields *********/ /// The site config settings. private readonly SiteConfig Config; diff --git a/src/SMAPI.Web/Controllers/ModsApiController.cs b/src/SMAPI.Web/Controllers/ModsApiController.cs index 12d349e0..7e6f592c 100644 --- a/src/SMAPI.Web/Controllers/ModsApiController.cs +++ b/src/SMAPI.Web/Controllers/ModsApiController.cs @@ -28,7 +28,7 @@ namespace StardewModdingAPI.Web.Controllers internal class ModsApiController : Controller { /********* - ** Properties + ** Fields *********/ /// The mod repositories which provide mod metadata. private readonly IDictionary Repositories; diff --git a/src/SMAPI.Web/Controllers/ModsController.cs b/src/SMAPI.Web/Controllers/ModsController.cs index 57aa9da9..1ac0aff2 100644 --- a/src/SMAPI.Web/Controllers/ModsController.cs +++ b/src/SMAPI.Web/Controllers/ModsController.cs @@ -16,7 +16,7 @@ namespace StardewModdingAPI.Web.Controllers internal class ModsController : Controller { /********* - ** Properties + ** Fields *********/ /// The cache in which to store mod metadata. private readonly IMemoryCache Cache; diff --git a/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs b/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs index 68ead3c2..5dc0feb6 100644 --- a/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs +++ b/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Web.Framework public class AllowLargePostsAttribute : Attribute, IAuthorizationFilter, IOrderedFilter { /********* - ** Properties + ** Fields *********/ /// The underlying form options. private readonly FormOptions FormOptions; diff --git a/src/SMAPI.Web/Framework/BeanstalkEnvPropsConfigProvider.cs b/src/SMAPI.Web/Framework/BeanstalkEnvPropsConfigProvider.cs index b39a3b61..fe27fe2f 100644 --- a/src/SMAPI.Web/Framework/BeanstalkEnvPropsConfigProvider.cs +++ b/src/SMAPI.Web/Framework/BeanstalkEnvPropsConfigProvider.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.Web.Framework internal class BeanstalkEnvPropsConfigProvider : ConfigurationProvider, IConfigurationSource { /********* - ** Properties + ** Fields *********/ /// The absolute path to the container configuration file on an Amazon EC2 instance. private const string ContainerConfigPath = @"C:\Program Files\Amazon\ElasticBeanstalk\config\containerconfiguration"; diff --git a/src/SMAPI.Web/Framework/Clients/Chucklefish/ChucklefishClient.cs b/src/SMAPI.Web/Framework/Clients/Chucklefish/ChucklefishClient.cs index 029553ce..2753e33a 100644 --- a/src/SMAPI.Web/Framework/Clients/Chucklefish/ChucklefishClient.cs +++ b/src/SMAPI.Web/Framework/Clients/Chucklefish/ChucklefishClient.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.Chucklefish internal class ChucklefishClient : IChucklefishClient { /********* - ** Properties + ** Fields *********/ /// The URL for a mod page excluding the base URL, where {0} is the mod ID. private readonly string ModPageUrlFormat; diff --git a/src/SMAPI.Web/Framework/Clients/GitHub/GitHubClient.cs b/src/SMAPI.Web/Framework/Clients/GitHub/GitHubClient.cs index 2cfc6903..22950db9 100644 --- a/src/SMAPI.Web/Framework/Clients/GitHub/GitHubClient.cs +++ b/src/SMAPI.Web/Framework/Clients/GitHub/GitHubClient.cs @@ -10,7 +10,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.GitHub internal class GitHubClient : IGitHubClient { /********* - ** Properties + ** Fields *********/ /// The URL for a GitHub API query for the latest stable release, excluding the base URL, where {0} is the organisation and project name. private readonly string StableReleaseUrlFormat; diff --git a/src/SMAPI.Web/Framework/Clients/ModDrop/ModDropClient.cs b/src/SMAPI.Web/Framework/Clients/ModDrop/ModDropClient.cs index 19b0b24d..5ad2d2f8 100644 --- a/src/SMAPI.Web/Framework/Clients/ModDrop/ModDropClient.cs +++ b/src/SMAPI.Web/Framework/Clients/ModDrop/ModDropClient.cs @@ -9,7 +9,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.ModDrop internal class ModDropClient : IModDropClient { /********* - ** Properties + ** Fields *********/ /// The underlying HTTP client. private readonly IClient Client; diff --git a/src/SMAPI.Web/Framework/Clients/Nexus/NexusWebScrapeClient.cs b/src/SMAPI.Web/Framework/Clients/Nexus/NexusWebScrapeClient.cs index 1b3fa195..e83a6041 100644 --- a/src/SMAPI.Web/Framework/Clients/Nexus/NexusWebScrapeClient.cs +++ b/src/SMAPI.Web/Framework/Clients/Nexus/NexusWebScrapeClient.cs @@ -13,7 +13,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.Nexus internal class NexusWebScrapeClient : INexusClient { /********* - ** Properties + ** Fields *********/ /// The URL for a Nexus mod page for the user, excluding the base URL, where {0} is the mod ID. private readonly string ModUrlFormat; diff --git a/src/SMAPI.Web/Framework/Clients/Pastebin/PastebinClient.cs b/src/SMAPI.Web/Framework/Clients/Pastebin/PastebinClient.cs index ef83a91e..12c3e83f 100644 --- a/src/SMAPI.Web/Framework/Clients/Pastebin/PastebinClient.cs +++ b/src/SMAPI.Web/Framework/Clients/Pastebin/PastebinClient.cs @@ -14,7 +14,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.Pastebin internal class PastebinClient : IPastebinClient { /********* - ** Properties + ** Fields *********/ /// The underlying HTTP client. private readonly IClient Client; diff --git a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs index f9b5ba76..6f848469 100644 --- a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs +++ b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs @@ -12,7 +12,7 @@ namespace StardewModdingAPI.Web.Framework.LogParsing public class LogParser { /********* - ** Properties + ** Fields *********/ /// A regex pattern matching the start of a SMAPI message. private readonly Regex MessageHeaderPattern = new Regex(@"^\[(?