{ "$schema": "http://json.schemastore.org/sarif-1.0.0", "version": "1.0.0", "runs": [ { "tool": { "name": "Microsoft (R) Visual C# Compiler", "version": "4.2.0.0", "fileVersion": "4.2.0-4.22220.5 (432d17a8)", "semanticVersion": "4.2.0", "language": "en-US" }, "results": [ { "ruleId": "CS0649", "level": "warning", "message": "Field 'QuestionCard.frosting' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 25, "startColumn": 34, "endLine": 25, "endColumn": 42 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameInfoScript.GameIdText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 25, "startColumn": 27, "endLine": 25, "endColumn": 37 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'InformationPanelScript.BackButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 16, "startColumn": 29, "endLine": 16, "endColumn": 39 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'selectCategoriesPanelController.SelectCategoriesDialog' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 11, "startColumn": 33, "endLine": 11, "endColumn": 55 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'StatsScript.answerLineInfo' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 21, "startColumn": 33, "endLine": 21, "endColumn": 47 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'InvitePanelScript.findRandomPlayerButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 21, "startColumn": 29, "endLine": 21, "endColumn": 51 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameInfoScript.DaysToStartRoundValueText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 23, "startColumn": 27, "endLine": 23, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.answerLine' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 15, "startColumn": 42, "endLine": 15, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'QuestionCard.frontCategoryPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 27, "startColumn": 33, "endLine": 27, "endColumn": 51 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.doneButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 10, "startColumn": 29, "endLine": 10, "endColumn": 39 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameInfoScript.questionsToWinValueText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 22, "startColumn": 27, "endLine": 22, "endColumn": 50 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'ScrollViewScript.middleDropZone' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 73, "startColumn": 29, "endLine": 73, "endColumn": 43 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.closeButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 11, "startColumn": 29, "endLine": 11, "endColumn": 40 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'ScrollViewScript.leftDropZone' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 71, "startColumn": 29, "endLine": 71, "endColumn": 41 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'ScrollViewScript.rightDropZone' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 72, "startColumn": 29, "endLine": 72, "endColumn": 42 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.prevPlayerButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 11, "startColumn": 38, "endLine": 11, "endColumn": 54 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameManagerScript.DropZonePrefab' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 25, "startColumn": 34, "endLine": 25, "endColumn": 48 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'StatsScript.gameManager' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 19, "startColumn": 33, "endLine": 19, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'QuestionCard.frontCategoryText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 28, "startColumn": 27, "endLine": 28, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameManagerScript.AnswerLineQuestionCard' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 24, "startColumn": 34, "endLine": 24, "endColumn": 56 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'CategoryPanel.gameManager' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 19, "startColumn": 33, "endLine": 19, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'invitePanelController.invitedPlayersText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 9, "startColumn": 27, "endLine": 9, "endColumn": 45 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewQuestionsPanel.FrontQuestionCategoryText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 18, "startColumn": 27, "endLine": 18, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.nextPlayerButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 10, "startColumn": 38, "endLine": 10, "endColumn": 54 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'CategorySelection.CategoryNameText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 9, "startColumn": 36, "endLine": 9, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewQuestionsPanel.gameManager' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 24, "startColumn": 33, "endLine": 24, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SettingsScript.LangaugeSelectBox' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs", "region": { "startLine": 11, "startColumn": 33, "endLine": 11, "endColumn": 50 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.ContentPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 16, "startColumn": 33, "endLine": 16, "endColumn": 45 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'Login.firebaseController' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 32, "startColumn": 33, "endLine": 32, "endColumn": 51 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.SelectCategoryPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 14, "startColumn": 33, "endLine": 14, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'CategorySelection.selectionToggle' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 10, "startColumn": 38, "endLine": 10, "endColumn": 53 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'Register.firebaseController' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 31, "startColumn": 33, "endLine": 31, "endColumn": 51 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.unlockedQuestionsText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 13, "startColumn": 36, "endLine": 13, "endColumn": 57 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameInfoScript.answerTimeValueText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 21, "startColumn": 27, "endLine": 21, "endColumn": 46 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewStartLocalGameScript.playersPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 14, "startColumn": 33, "endLine": 14, "endColumn": 45 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameManagerScript.TimerPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 26, "startColumn": 34, "endLine": 26, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.CategoryToSelectPrefab' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 12, "startColumn": 33, "endLine": 12, "endColumn": 55 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'selectCategoriesPanelController.SelectCategoriesText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 12, "startColumn": 27, "endLine": 12, "endColumn": 47 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewQuestionsPanel.FrontQuestionCategoryImage' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 17, "startColumn": 28, "endLine": 17, "endColumn": 54 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'TimerScript.dialogTimer' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 23, "startColumn": 33, "endLine": 23, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.gameManager' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 18, "startColumn": 42, "endLine": 18, "endColumn": 53 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewQuestionCardController.startParent' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 19, "startColumn": 33, "endLine": 19, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'StartOnlineGameButton.SelectCategoriesPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 18, "startColumn": 33, "endLine": 18, "endColumn": 54 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameManagerScript.NewQuestionCard' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 22, "startColumn": 34, "endLine": 22, "endColumn": 49 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewOnlineGameScript.StartButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 16, "startColumn": 29, "endLine": 16, "endColumn": 40 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'StatsScript.answerLine' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 20, "startColumn": 33, "endLine": 20, "endColumn": 43 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'selectCategoriesPanelController.OpenDialogButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 10, "startColumn": 29, "endLine": 10, "endColumn": 45 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.scrollView' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 14, "startColumn": 42, "endLine": 14, "endColumn": 52 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.newQuestion' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 16, "startColumn": 42, "endLine": 16, "endColumn": 53 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'SelectCategoryScript.TotalsText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 17, "startColumn": 27, "endLine": 17, "endColumn": 37 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewQuestionCardController.gameManager' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 20, "startColumn": 33, "endLine": 20, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewGamesButtonPanelScript.informationPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 15, "startColumn": 33, "endLine": 15, "endColumn": 49 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'GameManagerScript.AnswerLine' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 23, "startColumn": 34, "endLine": 23, "endColumn": 44 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'AnswerLineInfoScript.lockedQuestionsText' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 12, "startColumn": 36, "endLine": 12, "endColumn": 55 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'StartOnlineGameButton.CategoriesButton' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 17, "startColumn": 29, "endLine": 17, "endColumn": 45 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0649", "level": "warning", "message": "Field 'NewOnlineGameScript.categoryPanel' is never assigned to, and will always have its default value null", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 17, "startColumn": 33, "endLine": 17, "endColumn": 46 } } } ], "properties": { "warningLevel": 4 } }, { "ruleId": "CS0414", "level": "warning", "message": "The field 'OnlineGameScript.FINISHED_TITLE' is assigned but its value is never used", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 67, "startColumn": 20, "endLine": 67, "endColumn": 34 } } } ], "properties": { "warningLevel": 3 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 107, "startColumn": 9, "endLine": 107, "endColumn": 78 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 136, "startColumn": 9, "endLine": 136, "endColumn": 48 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 95, "startColumn": 12, "endLine": 95, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 97, "startColumn": 12, "endLine": 97, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 34, "startColumn": 13, "endLine": 34, "endColumn": 97 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 31, "startColumn": 9, "endLine": 31, "endColumn": 67 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 154, "startColumn": 9, "endLine": 154, "endColumn": 63 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 50, "startColumn": 9, "endLine": 50, "endColumn": 162 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 45, "startColumn": 12, "endLine": 45, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs", "region": { "startLine": 32, "startColumn": 1, "endLine": 32, "endColumn": 61 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 44, "startColumn": 9, "endLine": 44, "endColumn": 80 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 40, "startColumn": 13, "endLine": 40, "endColumn": 72 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 232, "startColumn": 9, "endLine": 232, "endColumn": 69 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 249, "startColumn": 9, "endLine": 249, "endColumn": 68 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 796, "startColumn": 5, "endLine": 796, "endColumn": 66 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 19, "startColumn": 5, "endLine": 19, "endColumn": 49 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 48, "startColumn": 1, "endLine": 48, "endColumn": 74 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 624, "startColumn": 13, "endLine": 624, "endColumn": 123 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 288, "startColumn": 3, "endLine": 288, "endColumn": 7 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 388, "startColumn": 78, "endLine": 388, "endColumn": 82 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 522, "startColumn": 81, "endLine": 522, "endColumn": 85 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 24, "startColumn": 9, "endLine": 24, "endColumn": 61 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S125", "level": "warning", "message": "Remove this commented out code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 45, "startColumn": 9, "endLine": 45, "endColumn": 49 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1135", "level": "warning", "message": "Complete the task associated to this 'TODO' comment.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 37, "startColumn": 12, "endLine": 37, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'EventSliderDetails' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 12, "startColumn": 14, "endLine": 12, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'EventButtonDetails' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'ModalPanelDetails' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 16, "startColumn": 14, "endLine": 16, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 7, "startColumn": 19, "endLine": 7, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 8, "startColumn": 19, "endLine": 8, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 9, "startColumn": 24, "endLine": 9, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 18, "startColumn": 19, "endLine": 18, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 19, "startColumn": 19, "endLine": 19, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 17, "startColumn": 19, "endLine": 17, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 20, "startColumn": 19, "endLine": 20, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 21, "startColumn": 31, "endLine": 21, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 22, "startColumn": 31, "endLine": 22, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 25, "startColumn": 31, "endLine": 25, "endColumn": 44 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 23, "startColumn": 31, "endLine": 23, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 24, "startColumn": 31, "endLine": 24, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'PrivacyPolicy' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'ModalPanel' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 29, "startColumn": 14, "endLine": 29, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'ButtonLocalization' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs", "region": { "startLine": 8, "startColumn": 19, "endLine": 8, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 31, "startColumn": 17, "endLine": 31, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 32, "startColumn": 18, "endLine": 32, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'GameInfoScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'StatsLine' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 23 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4144", "level": "warning", "message": "Update this method so that its implementation is not identical to 'Start'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs", "region": { "startLine": 18, "startColumn": 19, "endLine": 18, "endColumn": 29 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs", "region": { "startLine": 10, "startColumn": 10, "endLine": 10, "endColumn": 15 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'pp' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs", "region": { "startLine": 8, "startColumn": 12, "endLine": 8, "endColumn": 14 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 13, "startColumn": 23, "endLine": 13, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 33, "startColumn": 19, "endLine": 33, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 15, "startColumn": 22, "endLine": 15, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 34, "startColumn": 19, "endLine": 34, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 16, "startColumn": 22, "endLine": 16, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 35, "startColumn": 19, "endLine": 35, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 37, "startColumn": 17, "endLine": 37, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S5332", "level": "warning", "message": "Using http protocol is insecure. Use https instead.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs", "region": { "startLine": 9, "startColumn": 49, "endLine": 9, "endColumn": 97 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 38, "startColumn": 17, "endLine": 38, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 39, "startColumn": 17, "endLine": 39, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs", "region": { "startLine": 41, "startColumn": 23, "endLine": 41, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'AnswerLineQuestionCard' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/AnswerLineQuestionCard.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewStartOnlineGameScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs", "region": { "startLine": 5, "startColumn": 14, "endLine": 5, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'ScrollViewScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 9, "startColumn": 14, "endLine": 9, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'statusColors' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'PENDING_TITLE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 63, "startColumn": 20, "endLine": 63, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'ACTIVE_TITLE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 64, "startColumn": 20, "endLine": 64, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'DECLINED_TITLE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 65, "startColumn": 20, "endLine": 65, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'INVITED_TITLE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 66, "startColumn": 20, "endLine": 66, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'FINISHED_TITLE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 67, "startColumn": 20, "endLine": 67, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'PENDING' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 69, "startColumn": 20, "endLine": 69, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'DECLINED' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 70, "startColumn": 20, "endLine": 70, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'ACTIVE' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 71, "startColumn": 20, "endLine": 71, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'INVITED' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 72, "startColumn": 20, "endLine": 72, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'OTHERS_TURN' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 74, "startColumn": 20, "endLine": 74, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'YOUR_TURN' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 75, "startColumn": 20, "endLine": 75, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 7, "startColumn": 19, "endLine": 7, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs", "region": { "startLine": 9, "startColumn": 19, "endLine": 9, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 8, "startColumn": 23, "endLine": 8, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S101", "level": "warning", "message": "Rename class 'backToMainMenu' to match pascal case naming rules, consider using 'BackToMainMenu'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S101", "level": "warning", "message": "Rename class 'invitePanelController' to match pascal case naming rules, consider using 'InvitePanelController'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'backToMainMenu' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'invitePanelController' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'OnlineGameScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewStartLocalGameScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 12, "startColumn": 22, "endLine": 12, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 13, "startColumn": 22, "endLine": 13, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4136", "level": "warning", "message": "All 'SetId' method overloads should be adjacent.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 39, "startColumn": 17, "endLine": 39, "endColumn": 22 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 179, "startColumn": 17, "endLine": 179, "endColumn": 22 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "Non-adjacent overload" } } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 28, "startColumn": 19, "endLine": 28, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 17, "startColumn": 21, "endLine": 17, "endColumn": 23 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 18, "startColumn": 27, "endLine": 18, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewQuestionData' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionData.cs", "region": { "startLine": 4, "startColumn": 14, "endLine": 4, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'GameManagerScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'gameInfoButton' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 81, "startColumn": 20, "endLine": 81, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'SettingsScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 27, "startColumn": 19, "endLine": 27, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 30, "startColumn": 16, "endLine": 30, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 31, "startColumn": 16, "endLine": 31, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 32, "startColumn": 19, "endLine": 32, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 9, "startColumn": 17, "endLine": 9, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 13, "startColumn": 23, "endLine": 13, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 22, "startColumn": 20, "endLine": 22, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 23, "startColumn": 20, "endLine": 23, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 8, "startColumn": 23, "endLine": 8, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 9, "startColumn": 23, "endLine": 9, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'AnswerLineInfoScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S101", "level": "warning", "message": "Rename class 'selectCategoriesPanelController' to match pascal case naming rules, consider using 'SelectCategoriesPanelController'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'selectCategoriesPanelController' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'QuestionCard' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'statLines' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 13, "startColumn": 29, "endLine": 13, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 30, "startColumn": 18, "endLine": 30, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 31, "startColumn": 16, "endLine": 31, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 32, "startColumn": 16, "endLine": 32, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'StatsScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 33, "startColumn": 17, "endLine": 33, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 54, "startColumn": 19, "endLine": 54, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs", "region": { "startLine": 34, "startColumn": 19, "endLine": 34, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'Language' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 52, "startColumn": 14, "endLine": 52, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 55, "startColumn": 16, "endLine": 55, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 56, "startColumn": 31, "endLine": 56, "endColumn": 74 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs", "region": { "startLine": 18, "startColumn": 16, "endLine": 18, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'TextKeyValue' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 60, "startColumn": 14, "endLine": 60, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 62, "startColumn": 19, "endLine": 62, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'loginUrl' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 28, "startColumn": 20, "endLine": 28, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'Login' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 14, "startColumn": 14, "endLine": 14, "endColumn": 19 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 63, "startColumn": 19, "endLine": 63, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 16, "startColumn": 23, "endLine": 16, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 17, "startColumn": 23, "endLine": 17, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 21, "startColumn": 19, "endLine": 21, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 22, "startColumn": 19, "endLine": 22, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 24, "startColumn": 17, "endLine": 24, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S5332", "level": "warning", "message": "Using http protocol is insecure. Use https instead.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 28, "startColumn": 31, "endLine": 28, "endColumn": 78 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1075", "level": "warning", "message": "Refactor your code not to use hardcoded absolute paths or URIs.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 28, "startColumn": 31, "endLine": 28, "endColumn": 78 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 36, "startColumn": 23, "endLine": 36, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 37, "startColumn": 23, "endLine": 37, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 38, "startColumn": 23, "endLine": 38, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 42 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewOnlineGame' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 15, "startColumn": 23, "endLine": 15, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs", "region": { "startLine": 16, "startColumn": 23, "endLine": 16, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'TimerScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 15, "startColumn": 17, "endLine": 15, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'OnlineGameSettings' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs", "region": { "startLine": 5, "startColumn": 14, "endLine": 5, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 8, "startColumn": 19, "endLine": 8, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'BasicDialog' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 9, "startColumn": 19, "endLine": 9, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'InformationPanelScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 13, "startColumn": 19, "endLine": 13, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs", "region": { "startLine": 15, "startColumn": 19, "endLine": 15, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'PlayerInfo' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs", "region": { "startLine": 9, "startColumn": 17, "endLine": 9, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'GenericDialog' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'FirebaseStart' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/FirebaseStart.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'circleColor' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs", "region": { "startLine": 10, "startColumn": 11, "endLine": 10, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 9, "startColumn": 17, "endLine": 9, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 23 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/FirebaseStart.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs", "region": { "startLine": 9, "startColumn": 17, "endLine": 9, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'LANG' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs", "region": { "startLine": 12, "startColumn": 33, "endLine": 12, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs", "region": { "startLine": 10, "startColumn": 23, "endLine": 10, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'PlayerSetting' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewGamesButtonPanelScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 13, "startColumn": 23, "endLine": 13, "endColumn": 46 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs", "region": { "startLine": 7, "startColumn": 19, "endLine": 7, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'TextLocalization' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 10, "startColumn": 22, "endLine": 10, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4144", "level": "warning", "message": "Update this method so that its implementation is not identical to 'Start'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs", "region": { "startLine": 23, "startColumn": 17, "endLine": 23, "endColumn": 27 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs", "region": { "startLine": 10, "startColumn": 10, "endLine": 10, "endColumn": 15 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'LANG' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 31, "startColumn": 33, "endLine": 31, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 13, "startColumn": 19, "endLine": 13, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 14, "startColumn": 19, "endLine": 14, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'LocalGameScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewOnlineGameScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 9, "startColumn": 14, "endLine": 9, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 13, "startColumn": 19, "endLine": 13, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 16, "startColumn": 17, "endLine": 16, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 17, "startColumn": 17, "endLine": 17, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 18, "startColumn": 17, "endLine": 18, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'InviteSearchResult' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs", "region": { "startLine": 9, "startColumn": 17, "endLine": 9, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 33, "startColumn": 19, "endLine": 33, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 34, "startColumn": 19, "endLine": 34, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 36, "startColumn": 16, "endLine": 36, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 38, "startColumn": 19, "endLine": 38, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 39, "startColumn": 16, "endLine": 39, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 41, "startColumn": 19, "endLine": 41, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 42, "startColumn": 19, "endLine": 42, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 43, "startColumn": 19, "endLine": 43, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs", "region": { "startLine": 8, "startColumn": 23, "endLine": 8, "endColumn": 42 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 45, "startColumn": 44, "endLine": 45, "endColumn": 51 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'PlayersScrollPanelScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 13, "startColumn": 22, "endLine": 13, "endColumn": 42 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 14, "startColumn": 22, "endLine": 14, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 16, "startColumn": 23, "endLine": 16, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 17, "startColumn": 23, "endLine": 17, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 18, "startColumn": 23, "endLine": 18, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 18, "startColumn": 17, "endLine": 18, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 19, "startColumn": 17, "endLine": 19, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'MainMenu' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 9, "startColumn": 14, "endLine": 9, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 43, "startColumn": 16, "endLine": 43, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 45, "startColumn": 16, "endLine": 45, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 44, "startColumn": 16, "endLine": 44, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 48, "startColumn": 19, "endLine": 48, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 46, "startColumn": 19, "endLine": 46, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 49, "startColumn": 19, "endLine": 49, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 50, "startColumn": 19, "endLine": 50, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 47, "startColumn": 16, "endLine": 47, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 60, "startColumn": 47, "endLine": 60, "endColumn": 58 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 109, "startColumn": 19, "endLine": 109, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 13, "startColumn": 23, "endLine": 13, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 15, "startColumn": 17, "endLine": 15, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs", "region": { "startLine": 61, "startColumn": 25, "endLine": 61, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 17, "startColumn": 19, "endLine": 17, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S5332", "level": "warning", "message": "Using http protocol is insecure. Use https instead.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 25, "startColumn": 38, "endLine": 25, "endColumn": 88 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs", "region": { "startLine": 11, "startColumn": 19, "endLine": 11, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1075", "level": "warning", "message": "Refactor your code not to use hardcoded absolute paths or URIs.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 25, "startColumn": 38, "endLine": 25, "endColumn": 88 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'registerUserUrl' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 25, "startColumn": 20, "endLine": 25, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs", "region": { "startLine": 9, "startColumn": 19, "endLine": 9, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs", "region": { "startLine": 10, "startColumn": 18, "endLine": 10, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 12, "startColumn": 19, "endLine": 12, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 13, "startColumn": 19, "endLine": 13, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'AnswerLineInfoPlayerButton' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs", "region": { "startLine": 5, "startColumn": 14, "endLine": 5, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 14, "startColumn": 19, "endLine": 14, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'Register' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 11, "startColumn": 14, "endLine": 11, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'AnswerTimeSlider' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 15, "startColumn": 23, "endLine": 15, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'SelectCategoryScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'StartOnlineGameButton' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 10, "startColumn": 14, "endLine": 10, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewGameSlider' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 10, "startColumn": 23, "endLine": 10, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'CategoryPanel' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 13, "startColumn": 20, "endLine": 13, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 14, "startColumn": 24, "endLine": 14, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs", "region": { "startLine": 16, "startColumn": 20, "endLine": 16, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'CategorySelection' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 15, "startColumn": 16, "endLine": 15, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 16, "startColumn": 17, "endLine": 16, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'InvitePanelScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 8, "startColumn": 19, "endLine": 8, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 9, "startColumn": 19, "endLine": 9, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 16, "startColumn": 23, "endLine": 16, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 19, "startColumn": 23, "endLine": 19, "endColumn": 46 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 18, "startColumn": 23, "endLine": 18, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'OnlineGamesPanelUI' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs", "region": { "startLine": 7, "startColumn": 17, "endLine": 7, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs", "region": { "startLine": 8, "startColumn": 18, "endLine": 8, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs", "region": { "startLine": 9, "startColumn": 18, "endLine": 9, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'DisplayManager' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs", "region": { "startLine": 5, "startColumn": 14, "endLine": 5, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs", "region": { "startLine": 8, "startColumn": 19, "endLine": 8, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'EventManager' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/EventManager.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'InputFieldLocalization' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4144", "level": "warning", "message": "Update this method so that its implementation is not identical to 'Start'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs", "region": { "startLine": 18, "startColumn": 19, "endLine": 18, "endColumn": 29 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs", "region": { "startLine": 10, "startColumn": 10, "endLine": 10, "endColumn": 15 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 18, "startColumn": 23, "endLine": 18, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'parents' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs", "region": { "startLine": 9, "startColumn": 29, "endLine": 9, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'OnlineGamesPanelRectTransform' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs", "region": { "startLine": 10, "startColumn": 27, "endLine": 10, "endColumn": 56 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1450", "level": "warning", "message": "Remove the field 'titleRect' and declare it as a local variable in the relevant methods.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs", "region": { "startLine": 11, "startColumn": 27, "endLine": 11, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 176, "startColumn": 19, "endLine": 176, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 518, "startColumn": 19, "endLine": 518, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 519, "startColumn": 19, "endLine": 519, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 70, "startColumn": 23, "endLine": 70, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 520, "startColumn": 19, "endLine": 520, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 71, "startColumn": 23, "endLine": 71, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 73, "startColumn": 23, "endLine": 73, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 72, "startColumn": 23, "endLine": 72, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 17, "startColumn": 23, "endLine": 17, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 216, "startColumn": 19, "endLine": 216, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 546, "startColumn": 19, "endLine": 546, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 578, "startColumn": 28, "endLine": 578, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 547, "startColumn": 19, "endLine": 547, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 548, "startColumn": 19, "endLine": 548, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 88, "startColumn": 23, "endLine": 88, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 89, "startColumn": 23, "endLine": 89, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 90, "startColumn": 23, "endLine": 90, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 78, "startColumn": 31, "endLine": 78, "endColumn": 67 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 91, "startColumn": 23, "endLine": 91, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 92, "startColumn": 23, "endLine": 92, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 93, "startColumn": 20, "endLine": 93, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 94, "startColumn": 20, "endLine": 94, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 96, "startColumn": 20, "endLine": 96, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 95, "startColumn": 20, "endLine": 95, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 83, "startColumn": 23, "endLine": 83, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 84, "startColumn": 23, "endLine": 84, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'Database' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 10, "startColumn": 14, "endLine": 10, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'OnlineDatabase' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 11, "startColumn": 14, "endLine": 11, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 106, "startColumn": 23, "endLine": 106, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 107, "startColumn": 23, "endLine": 107, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 108, "startColumn": 20, "endLine": 108, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 101, "startColumn": 31, "endLine": 101, "endColumn": 67 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 89, "startColumn": 33, "endLine": 89, "endColumn": 72 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 113, "startColumn": 33, "endLine": 113, "endColumn": 72 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 94, "startColumn": 20, "endLine": 94, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 95, "startColumn": 20, "endLine": 95, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 96, "startColumn": 20, "endLine": 96, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 97, "startColumn": 20, "endLine": 97, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 98, "startColumn": 20, "endLine": 98, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 99, "startColumn": 23, "endLine": 99, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 118, "startColumn": 23, "endLine": 118, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 119, "startColumn": 23, "endLine": 119, "endColumn": 42 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 120, "startColumn": 23, "endLine": 120, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 132, "startColumn": 20, "endLine": 132, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 133, "startColumn": 20, "endLine": 133, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 134, "startColumn": 20, "endLine": 134, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 135, "startColumn": 20, "endLine": 135, "endColumn": 21 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 136, "startColumn": 20, "endLine": 136, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 137, "startColumn": 23, "endLine": 137, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 138, "startColumn": 20, "endLine": 138, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 125, "startColumn": 37, "endLine": 125, "endColumn": 84 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 109, "startColumn": 23, "endLine": 109, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 110, "startColumn": 23, "endLine": 110, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 111, "startColumn": 23, "endLine": 111, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 112, "startColumn": 23, "endLine": 112, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 104, "startColumn": 31, "endLine": 104, "endColumn": 66 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 113, "startColumn": 23, "endLine": 113, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 114, "startColumn": 23, "endLine": 114, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 115, "startColumn": 23, "endLine": 115, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 116, "startColumn": 23, "endLine": 116, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 117, "startColumn": 23, "endLine": 117, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 118, "startColumn": 23, "endLine": 118, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 148, "startColumn": 23, "endLine": 148, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 149, "startColumn": 23, "endLine": 149, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 143, "startColumn": 31, "endLine": 143, "endColumn": 66 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 150, "startColumn": 23, "endLine": 150, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 152, "startColumn": 23, "endLine": 152, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 151, "startColumn": 23, "endLine": 151, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 153, "startColumn": 23, "endLine": 153, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 154, "startColumn": 23, "endLine": 154, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 155, "startColumn": 23, "endLine": 155, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 156, "startColumn": 23, "endLine": 156, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 157, "startColumn": 23, "endLine": 157, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 158, "startColumn": 23, "endLine": 158, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 159, "startColumn": 23, "endLine": 159, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 160, "startColumn": 23, "endLine": 160, "endColumn": 42 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 161, "startColumn": 23, "endLine": 161, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 162, "startColumn": 23, "endLine": 162, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 172, "startColumn": 23, "endLine": 172, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 128, "startColumn": 23, "endLine": 128, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 173, "startColumn": 23, "endLine": 173, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 129, "startColumn": 23, "endLine": 129, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 123, "startColumn": 33, "endLine": 123, "endColumn": 73 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 167, "startColumn": 33, "endLine": 167, "endColumn": 73 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'Constants' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Constants.cs", "region": { "startLine": 5, "startColumn": 21, "endLine": 5, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 178, "startColumn": 31, "endLine": 178, "endColumn": 67 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 134, "startColumn": 31, "endLine": 134, "endColumn": 67 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 10, "startColumn": 17, "endLine": 10, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 11, "startColumn": 17, "endLine": 11, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 13, "startColumn": 19, "endLine": 13, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 14, "startColumn": 19, "endLine": 14, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 16, "startColumn": 22, "endLine": 16, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 17, "startColumn": 22, "endLine": 17, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'PENDING' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 21, "startColumn": 20, "endLine": 21, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 25, "startColumn": 16, "endLine": 25, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'ACCEPTED' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 22, "startColumn": 20, "endLine": 22, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 9, "startColumn": 19, "endLine": 9, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'DECLINED' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 23, "startColumn": 20, "endLine": 23, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 10, "startColumn": 19, "endLine": 10, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 13, "startColumn": 23, "endLine": 13, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 15, "startColumn": 23, "endLine": 15, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs", "region": { "startLine": 12, "startColumn": 17, "endLine": 12, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'OnlinePlayerInfoScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs", "region": { "startLine": 13, "startColumn": 17, "endLine": 13, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 22, "startColumn": 17, "endLine": 22, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs", "region": { "startLine": 14, "startColumn": 23, "endLine": 14, "endColumn": 51 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewQuestionCardController' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs", "region": { "startLine": 9, "startColumn": 14, "endLine": 9, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'GamesScrollController' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 7, "startColumn": 14, "endLine": 7, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 9, "startColumn": 16, "endLine": 9, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 10, "startColumn": 30, "endLine": 10, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2223", "level": "warning", "message": "Change the visibility of 'itemBeeingDragged' or make it 'const' or 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 10, "startColumn": 30, "endLine": 10, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 11, "startColumn": 23, "endLine": 11, "endColumn": 34 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 12, "startColumn": 23, "endLine": 12, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewDropZoneScript' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs", "region": { "startLine": 10, "startColumn": 14, "endLine": 10, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'LocalizationManager' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 6, "startColumn": 14, "endLine": 6, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewQuestionDragController' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 11, "startColumn": 28, "endLine": 11, "endColumn": 65 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 12, "startColumn": 27, "endLine": 12, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 10, "startColumn": 23, "endLine": 10, "endColumn": 41 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 12, "startColumn": 17, "endLine": 12, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'NewQuestionsPanel' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 8, "startColumn": 14, "endLine": 8, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 13, "startColumn": 17, "endLine": 13, "endColumn": 29 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 14, "startColumn": 17, "endLine": 14, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1104", "level": "warning", "message": "Make this field 'private' and encapsulate it in a 'public' property.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 15, "startColumn": 23, "endLine": 15, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2292", "level": "warning", "message": "Make this an auto-implemented property and remove its backing field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs", "region": { "startLine": 22, "startColumn": 28, "endLine": 22, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3903", "level": "warning", "message": "Move 'BringToFront' into a named namespace.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/BringToFront.cs", "region": { "startLine": 4, "startColumn": 14, "endLine": 4, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 34, "startColumn": 10, "endLine": 34, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 36, "startColumn": 10, "endLine": 36, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs", "region": { "startLine": 40, "startColumn": 10, "endLine": 40, "endColumn": 23 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 18, "startColumn": 100, "endLine": 18, "endColumn": 112 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 19, "startColumn": 96, "endLine": 19, "endColumn": 108 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 20, "startColumn": 98, "endLine": 20, "endColumn": 110 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 17, "startColumn": 17, "endLine": 17, "endColumn": 27 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 18, "startColumn": 98, "endLine": 18, "endColumn": 99 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 19, "startColumn": 94, "endLine": 19, "endColumn": 95 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 20, "startColumn": 96, "endLine": 20, "endColumn": 97 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 23, "startColumn": 9, "endLine": 23, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 24, "startColumn": 9, "endLine": 24, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 25, "startColumn": 9, "endLine": 25, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 28, "startColumn": 9, "endLine": 28, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 29, "startColumn": 13, "endLine": 29, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 31, "startColumn": 15, "endLine": 31, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 36, "startColumn": 11, "endLine": 36, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 37, "startColumn": 13, "endLine": 37, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 39, "startColumn": 15, "endLine": 39, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 44, "startColumn": 11, "endLine": 44, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 45, "startColumn": 13, "endLine": 45, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 47, "startColumn": 15, "endLine": 47, "endColumn": 19 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+1", "10": "+2 (incl 1 for nesting)", "11": "+1", "12": "+1", "13": "+2 (incl 1 for nesting)", "14": "+1", "2": "+1", "3": "+1", "4": "+1", "5": "+1", "6": "+1", "7": "+2 (incl 1 for nesting)", "8": "+1", "9": "+1" } } }, { "ruleId": "S1854", "level": "warning", "message": "Remove this useless assignment to local variable 'numberExpanded'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 25, "startColumn": 31, "endLine": 25, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1116", "level": "warning", "message": "Remove this empty statement.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 23, "startColumn": 50, "endLine": 23, "endColumn": 51 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1116", "level": "warning", "message": "Remove this empty statement.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 24, "startColumn": 49, "endLine": 24, "endColumn": 50 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1116", "level": "warning", "message": "Remove this empty statement.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs", "region": { "startLine": 25, "startColumn": 50, "endLine": 25, "endColumn": 51 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 69, "startColumn": 13, "endLine": 69, "endColumn": 28 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 34, "startColumn": 19, "endLine": 34, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 18, "startColumn": 13, "endLine": 18, "endColumn": 23 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs", "region": { "startLine": 14, "startColumn": 40, "endLine": 14, "endColumn": 48 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs", "region": { "startLine": 59, "startColumn": 95, "endLine": 59, "endColumn": 108 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs", "region": { "startLine": 49, "startColumn": 100, "endLine": 49, "endColumn": 113 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs", "region": { "startLine": 28, "startColumn": 10, "endLine": 28, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance property 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 16, "startColumn": 56, "endLine": 16, "endColumn": 68 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 13, "startColumn": 25, "endLine": 13, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Remove this set, which updates a 'static' field from an instance method.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 39, "startColumn": 9, "endLine": 39, "endColumn": 28 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 10, "startColumn": 30, "endLine": 10, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Remove this set, which updates a 'static' field from an instance method.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 26, "startColumn": 9, "endLine": 26, "endColumn": 28 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs", "region": { "startLine": 10, "startColumn": 30, "endLine": 10, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'salt' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 101, "startColumn": 16, "endLine": 101, "endColumn": 20 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'password' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 102, "startColumn": 16, "endLine": 102, "endColumn": 24 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'result'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 125, "startColumn": 20, "endLine": 125, "endColumn": 26 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs", "region": { "startLine": 23, "startColumn": 10, "endLine": 23, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'inviteUsers'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs", "region": { "startLine": 49, "startColumn": 34, "endLine": 49, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 19, "startColumn": 10, "endLine": 19, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4790", "level": "warning", "message": "Make sure this weak hash algorithm is not used in a sensitive context here.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs", "region": { "startLine": 144, "startColumn": 42, "endLine": 144, "endColumn": 73 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 42, "startColumn": 45, "endLine": 42, "endColumn": 57 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 43, "startColumn": 47, "endLine": 43, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'localGameSettings'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 25, "startColumn": 21, "endLine": 25, "endColumn": 38 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'onlineGameSettings'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs", "region": { "startLine": 26, "startColumn": 21, "endLine": 26, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs", "region": { "startLine": 28, "startColumn": 13, "endLine": 28, "endColumn": 28 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3267", "level": "warning", "message": "Loops should be simplified with \"LINQ\" expressions", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 43, "startColumn": 44, "endLine": 43, "endColumn": 51 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 44, "startColumn": 17, "endLine": 44, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs", "region": { "startLine": 8, "startColumn": 10, "endLine": 8, "endColumn": 15 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs", "region": { "startLine": 14, "startColumn": 10, "endLine": 14, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3267", "level": "warning", "message": "Loops should be simplified with \"LINQ\" expressions", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 64, "startColumn": 43, "endLine": 64, "endColumn": 93 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 65, "startColumn": 17, "endLine": 65, "endColumn": 35 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 75, "startColumn": 26, "endLine": 75, "endColumn": 36 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'step'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 210, "startColumn": 19, "endLine": 210, "endColumn": 23 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 230, "startColumn": 17, "endLine": 230, "endColumn": 44 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 48, "startColumn": 17, "endLine": 48, "endColumn": 39 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 54, "startColumn": 9, "endLine": 54, "endColumn": 16 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 61, "startColumn": 9, "endLine": 61, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 63, "startColumn": 13, "endLine": 63, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 64, "startColumn": 17, "endLine": 64, "endColumn": 24 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 66, "startColumn": 21, "endLine": 66, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 66, "startColumn": 50, "endLine": 66, "endColumn": 52 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 69, "startColumn": 21, "endLine": 69, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 72, "startColumn": 23, "endLine": 72, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 78, "startColumn": 11, "endLine": 78, "endColumn": 15 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+1", "2": "+2 (incl 1 for nesting)", "3": "+3 (incl 2 for nesting)", "4": "+4 (incl 3 for nesting)", "5": "+1", "6": "+4 (incl 3 for nesting)", "7": "+1", "8": "+1" } } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 89, "startColumn": 14, "endLine": 89, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1854", "level": "warning", "message": "Remove this useless assignment to local variable 'resCount'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 120, "startColumn": 47, "endLine": 120, "endColumn": 57 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3267", "level": "warning", "message": "Loops should be simplified with \"LINQ\" expressions", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 107, "startColumn": 53, "endLine": 107, "endColumn": 58 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 108, "startColumn": 21, "endLine": 108, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs", "region": { "startLine": 115, "startColumn": 121, "endLine": 115, "endColumn": 134 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 76, "startColumn": 95, "endLine": 76, "endColumn": 108 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2589", "level": "warning", "message": "Change this condition so that it does not always evaluate to 'false'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 66, "startColumn": 25, "endLine": 66, "endColumn": 49 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 252, "startColumn": 18, "endLine": 252, "endColumn": 28 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 254, "startColumn": 9, "endLine": 254, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 258, "startColumn": 9, "endLine": 258, "endColumn": 12 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 259, "startColumn": 13, "endLine": 259, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 260, "startColumn": 17, "endLine": 260, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 263, "startColumn": 19, "endLine": 263, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 265, "startColumn": 21, "endLine": 265, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 280, "startColumn": 13, "endLine": 280, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 282, "startColumn": 15, "endLine": 282, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 294, "startColumn": 13, "endLine": 294, "endColumn": 15 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+1", "2": "+2 (incl 1 for nesting)", "3": "+3 (incl 2 for nesting)", "4": "+1", "5": "+4 (incl 3 for nesting)", "6": "+2 (incl 1 for nesting)", "7": "+1", "8": "+2 (incl 1 for nesting)" } } }, { "ruleId": "S1854", "level": "warning", "message": "Remove this useless assignment to local variable 'questions'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 279, "startColumn": 35, "endLine": 279, "endColumn": 74 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'players' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 45, "startColumn": 41, "endLine": 45, "endColumn": 48 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S5332", "level": "warning", "message": "Using http protocol is insecure. Use https instead.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 122, "startColumn": 51, "endLine": 122, "endColumn": 70 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2589", "level": "warning", "message": "Change this condition so that it does not always evaluate to 'false'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 104, "startColumn": 17, "endLine": 104, "endColumn": 40 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'loggedInUser'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 85, "startColumn": 35, "endLine": 85, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 141, "startColumn": 43, "endLine": 141, "endColumn": 53 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1125", "level": "warning", "message": "Remove the unnecessary Boolean literal(s).", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 142, "startColumn": 47, "endLine": 142, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1075", "level": "warning", "message": "Refactor your code not to use hardcoded absolute paths or URIs.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs", "region": { "startLine": 122, "startColumn": 51, "endLine": 122, "endColumn": 70 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3267", "level": "warning", "message": "Loops should be simplified with \"LINQ\" expressions", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 97, "startColumn": 34, "endLine": 97, "endColumn": 43 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 98, "startColumn": 17, "endLine": 98, "endColumn": 47 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3400", "level": "warning", "message": "Remove this method and declare a constant for this value.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 311, "startColumn": 19, "endLine": 311, "endColumn": 30 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 261, "startColumn": 21, "endLine": 261, "endColumn": 36 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 34, "startColumn": 19, "endLine": 34, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'ips'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs", "region": { "startLine": 292, "startColumn": 36, "endLine": 292, "endColumn": 39 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3267", "level": "warning", "message": "Loops should be simplified with \"LINQ\" expressions", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 119, "startColumn": 34, "endLine": 119, "endColumn": 43 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs", "region": { "startLine": 120, "startColumn": 17, "endLine": 120, "endColumn": 48 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 56 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 63, "startColumn": 17, "endLine": 63, "endColumn": 34 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 64, "startColumn": 9, "endLine": 64, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 68, "startColumn": 9, "endLine": 68, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 71, "startColumn": 11, "endLine": 71, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 75, "startColumn": 13, "endLine": 75, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 75, "startColumn": 69, "endLine": 75, "endColumn": 71 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 77, "startColumn": 15, "endLine": 77, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 77, "startColumn": 75, "endLine": 77, "endColumn": 77 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 82, "startColumn": 13, "endLine": 82, "endColumn": 16 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 83, "startColumn": 17, "endLine": 83, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 84, "startColumn": 21, "endLine": 84, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 85, "startColumn": 25, "endLine": 85, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 87, "startColumn": 27, "endLine": 87, "endColumn": 31 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 91, "startColumn": 25, "endLine": 91, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 92, "startColumn": 29, "endLine": 92, "endColumn": 31 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 94, "startColumn": 31, "endLine": 94, "endColumn": 35 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 97, "startColumn": 27, "endLine": 97, "endColumn": 31 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 98, "startColumn": 29, "endLine": 98, "endColumn": 31 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 100, "startColumn": 31, "endLine": 100, "endColumn": 35 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 106, "startColumn": 23, "endLine": 106, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 107, "startColumn": 25, "endLine": 107, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 109, "startColumn": 27, "endLine": 109, "endColumn": 31 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 114, "startColumn": 25, "endLine": 114, "endColumn": 27 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs", "region": { "startLine": 116, "startColumn": 27, "endLine": 116, "endColumn": 31 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+1", "10": "+5 (incl 4 for nesting)", "11": "+1", "12": "+5 (incl 4 for nesting)", "13": "+6 (incl 5 for nesting)", "14": "+1", "15": "+1", "16": "+6 (incl 5 for nesting)", "17": "+1", "18": "+1", "19": "+5 (incl 4 for nesting)", "2": "+1", "20": "+1", "21": "+5 (incl 4 for nesting)", "22": "+1", "3": "+2 (incl 1 for nesting)", "4": "+1", "5": "+1", "6": "+1", "7": "+2 (incl 1 for nesting)", "8": "+3 (incl 2 for nesting)", "9": "+4 (incl 3 for nesting)" } } }, { "ruleId": "S3267", "level": "warning", "message": "Loop should be simplified by calling Select(ps => ps.nameInput))", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 24, "startColumn": 38, "endLine": 24, "endColumn": 52 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S108", "level": "warning", "message": "Either remove or fill this block of code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 138, "startColumn": 48, "endLine": 140, "endColumn": 10 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs", "region": { "startLine": 28, "startColumn": 10, "endLine": 28, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1116", "level": "warning", "message": "Remove this empty statement.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs", "region": { "startLine": 159, "startColumn": 118, "endLine": 159, "endColumn": 119 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs", "region": { "startLine": 8, "startColumn": 10, "endLine": 8, "endColumn": 15 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs", "region": { "startLine": 14, "startColumn": 10, "endLine": 14, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2589", "level": "warning", "message": "Change this condition so that it does not always evaluate to 'true'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs", "region": { "startLine": 58, "startColumn": 13, "endLine": 58, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 184, "startColumn": 36, "endLine": 184, "endColumn": 58 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 181, "startColumn": 13, "endLine": 181, "endColumn": 23 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 20, "startColumn": 29, "endLine": 20, "endColumn": 37 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2971", "level": "warning", "message": "Drop 'Where' and move the condition into the 'First'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs", "region": { "startLine": 39, "startColumn": 110, "endLine": 39, "endColumn": 115 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 24, "startColumn": 13, "endLine": 24, "endColumn": 23 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 19, "startColumn": 35, "endLine": 19, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs", "region": { "startLine": 17, "startColumn": 10, "endLine": 17, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S4790", "level": "warning", "message": "Make sure this weak hash algorithm is not used in a sensitive context here.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 138, "startColumn": 46, "endLine": 138, "endColumn": 77 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 300, "startColumn": 89, "endLine": 300, "endColumn": 102 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 132, "startColumn": 14, "endLine": 132, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'sb'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs", "region": { "startLine": 119, "startColumn": 23, "endLine": 119, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S108", "level": "warning", "message": "Either remove or fill this block of code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 190, "startColumn": 33, "endLine": 191, "endColumn": 14 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 339, "startColumn": 27, "endLine": 339, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2259", "level": "warning", "message": "'lgs' is null on at least one execution path.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 321, "startColumn": 17, "endLine": 321, "endColumn": 20 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 287, "startColumn": 23, "endLine": 287, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 72, "startColumn": 13, "endLine": 72, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S108", "level": "warning", "message": "Either remove or fill this block of code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 204, "startColumn": 33, "endLine": 205, "endColumn": 14 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 355, "startColumn": 23, "endLine": 355, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1186", "level": "warning", "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs", "region": { "startLine": 18, "startColumn": 10, "endLine": 18, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 370, "startColumn": 23, "endLine": 370, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2696", "level": "warning", "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 240, "startColumn": 13, "endLine": 240, "endColumn": 23 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 19, "startColumn": 35, "endLine": 19, "endColumn": 43 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 251, "startColumn": 14, "endLine": 251, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs", "region": { "startLine": 27, "startColumn": 106, "endLine": 27, "endColumn": 119 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 411, "startColumn": 27, "endLine": 411, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 389, "startColumn": 23, "endLine": 389, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 424, "startColumn": 23, "endLine": 424, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 289, "startColumn": 37, "endLine": 289, "endColumn": 51 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 299, "startColumn": 9, "endLine": 299, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 299, "startColumn": 56, "endLine": 299, "endColumn": 58 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 315, "startColumn": 9, "endLine": 315, "endColumn": 16 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 317, "startColumn": 13, "endLine": 317, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 318, "startColumn": 17, "endLine": 318, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 320, "startColumn": 21, "endLine": 320, "endColumn": 23 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 320, "startColumn": 48, "endLine": 320, "endColumn": 50 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 329, "startColumn": 17, "endLine": 329, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 334, "startColumn": 15, "endLine": 334, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 337, "startColumn": 17, "endLine": 337, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 347, "startColumn": 9, "endLine": 347, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 347, "startColumn": 36, "endLine": 347, "endColumn": 38 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+1", "10": "+1", "11": "+1", "2": "+1", "3": "+2 (incl 1 for nesting)", "4": "+3 (incl 2 for nesting)", "5": "+4 (incl 3 for nesting)", "6": "+1", "7": "+3 (incl 2 for nesting)", "8": "+1", "9": "+3 (incl 2 for nesting)" } } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 283, "startColumn": 14, "endLine": 283, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 462, "startColumn": 27, "endLine": 462, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 446, "startColumn": 27, "endLine": 446, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3776", "level": "warning", "message": "Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 355, "startColumn": 18, "endLine": 355, "endColumn": 31 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 356, "startColumn": 9, "endLine": 356, "endColumn": 11 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 357, "startColumn": 13, "endLine": 357, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 359, "startColumn": 15, "endLine": 359, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 360, "startColumn": 17, "endLine": 360, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 360, "startColumn": 69, "endLine": 360, "endColumn": 71 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 364, "startColumn": 11, "endLine": 364, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 365, "startColumn": 13, "endLine": 365, "endColumn": 15 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 366, "startColumn": 17, "endLine": 366, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 370, "startColumn": 15, "endLine": 370, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 371, "startColumn": 17, "endLine": 371, "endColumn": 19 } } }, { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 371, "startColumn": 69, "endLine": 371, "endColumn": 71 } } } ], "properties": { "warningLevel": 1, "customProperties": { "0": "+1", "1": "+2 (incl 1 for nesting)", "10": "+1", "2": "+1", "3": "+3 (incl 2 for nesting)", "4": "+1", "5": "+1", "6": "+2 (incl 1 for nesting)", "7": "+3 (incl 2 for nesting)", "8": "+1", "9": "+3 (incl 2 for nesting)" } } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 480, "startColumn": 27, "endLine": 480, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S108", "level": "warning", "message": "Either remove or fill this block of code.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 532, "startColumn": 42, "endLine": 532, "endColumn": 45 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1066", "level": "warning", "message": "Merge this if statement with the enclosing one.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 360, "startColumn": 17, "endLine": 360, "endColumn": 19 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 359, "startColumn": 20, "endLine": 359, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1066", "level": "warning", "message": "Merge this if statement with the enclosing one.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 371, "startColumn": 17, "endLine": 371, "endColumn": 19 } } } ], "relatedLocations": [ { "physicalLocation": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 370, "startColumn": 20, "endLine": 370, "endColumn": 22 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1905", "level": "warning", "message": "Remove this unnecessary cast to 'GameObject'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 325, "startColumn": 96, "endLine": 325, "endColumn": 109 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 502, "startColumn": 23, "endLine": 502, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1168", "level": "warning", "message": "Return an empty collection instead of null.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 300, "startColumn": 13, "endLine": 300, "endColumn": 25 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1172", "level": "warning", "message": "Remove this unused method parameter 'userName'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 378, "startColumn": 36, "endLine": 378, "endColumn": 51 } } } ], "properties": { "warningLevel": 1, "customProperties": { "IsRemovable": "True" } } }, { "ruleId": "S1172", "level": "warning", "message": "Remove this unused method parameter 'gameId'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 378, "startColumn": 75, "endLine": 378, "endColumn": 85 } } } ], "properties": { "warningLevel": 1, "customProperties": { "IsRemovable": "True" } } }, { "ruleId": "S2259", "level": "warning", "message": "'ogs' is null on at least one execution path.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 335, "startColumn": 17, "endLine": 335, "endColumn": 20 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2259", "level": "warning", "message": "'ogs' is null on at least one execution path.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 347, "startColumn": 13, "endLine": 347, "endColumn": 16 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 299, "startColumn": 59, "endLine": 299, "endColumn": 78 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 418, "startColumn": 14, "endLine": 418, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 551, "startColumn": 23, "endLine": 551, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 438, "startColumn": 14, "endLine": 438, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 449, "startColumn": 13, "endLine": 449, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 570, "startColumn": 27, "endLine": 570, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 463, "startColumn": 14, "endLine": 463, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 476, "startColumn": 13, "endLine": 476, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 491, "startColumn": 14, "endLine": 491, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1854", "level": "warning", "message": "Remove this useless assignment to local variable 'response'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 532, "startColumn": 20, "endLine": 532, "endColumn": 77 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 504, "startColumn": 14, "endLine": 504, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 515, "startColumn": 13, "endLine": 515, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 587, "startColumn": 23, "endLine": 587, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 665, "startColumn": 23, "endLine": 665, "endColumn": 27 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'status'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 669, "startColumn": 13, "endLine": 669, "endColumn": 19 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 648, "startColumn": 27, "endLine": 648, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 528, "startColumn": 13, "endLine": 528, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1643", "level": "warning", "message": "Use a StringBuilder instead.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 742, "startColumn": 17, "endLine": 742, "endColumn": 91 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 557, "startColumn": 13, "endLine": 557, "endColumn": 32 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 746, "startColumn": 27, "endLine": 746, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3256", "level": "warning", "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 604, "startColumn": 14, "endLine": 604, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 691, "startColumn": 27, "endLine": 691, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1117", "level": "warning", "message": "Rename 'conn' which hides the field with the same name.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs", "region": { "startLine": 769, "startColumn": 27, "endLine": 769, "endColumn": 31 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1481", "level": "warning", "message": "Remove the unused local variable 'returnValue'.", "locations": [ { "resultFile": { "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs", "region": { "startLine": 720, "startColumn": 22, "endLine": 720, "endColumn": 33 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S3904", "level": "warning", "message": "Provide an 'AssemblyVersion' attribute for assembly 'Assembly-CSharp'.", "properties": { "warningLevel": 1 } } ], "rules": { "CS0414": { "id": "CS0414", "shortDescription": "Field is assigned but its value is never used", "defaultLevel": "warning", "helpUri": "https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0414)", "properties": { "category": "Compiler", "isEnabledByDefault": true, "tags": [ "Compiler", "Telemetry" ] } }, "CS0649": { "id": "CS0649", "shortDescription": "Field is never assigned to, and will always have its default value", "defaultLevel": "warning", "helpUri": "https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0649)", "properties": { "category": "Compiler", "isEnabledByDefault": true, "tags": [ "Compiler", "Telemetry" ] } }, "S101": { "id": "S101", "shortDescription": "Types should be named in PascalCase", "fullDescription": "Shared naming conventions allow teams to collaborate efficiently. This rule checks whether or not type names are using PascalCase. To reduce noise, two consecutive upper case characters are allowed unless they form the whole type name. So, MyXClass is compliant, but XC on its own is not.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-101", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1066": { "id": "S1066", "shortDescription": "Collapsible \"if\" statements should be merged", "fullDescription": "Merging collapsible if statements increases the code’s readability.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1066", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1075": { "id": "S1075", "shortDescription": "URIs should not be hardcoded", "fullDescription": "Hardcoding a URI makes it difficult to test a program: path literals are not always portable across operating systems, a given absolute path may not exist on a specific test environment, a specified Internet URL may not be available when executing the tests, production environment filesystems usually differ from the development environment, …​etc. For all those reasons, a URI should never be hardcoded. Instead, it should be replaced by customizable parameter.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1075", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S108": { "id": "S108", "shortDescription": "Nested blocks of code should not be left empty", "fullDescription": "Most of the time a block of code is empty when a piece of code is really missing. So such empty block must be either filled or removed.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-108", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1104": { "id": "S1104", "shortDescription": "Fields should not have public accessibility", "fullDescription": "Public fields in public classes do not respect the encapsulation principle and has three main disadvantages:", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1104", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S1116": { "id": "S1116", "shortDescription": "Empty statements should be removed", "fullDescription": "Empty statements, i.e. ;, are usually introduced by mistake, for example because:", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1116", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1117": { "id": "S1117", "shortDescription": "Local variables should not shadow class fields", "fullDescription": "Overriding or shadowing a variable declared in an outer scope can strongly impact the readability, and therefore the maintainability, of a piece of code. Further, it could lead maintainers to introduce bugs because they think they’re using one variable but are really using another.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1117", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1125": { "id": "S1125", "shortDescription": "Boolean literals should not be redundant", "fullDescription": "Redundant Boolean literals should be removed from expressions to improve readability.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1125", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1135": { "id": "S1135", "shortDescription": "Track uses of \"TODO\" tags", "fullDescription": "TODO tags are commonly used to mark places where some more code is required, but which the developer wants to implement later.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1135", "properties": { "category": "Info Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1168": { "id": "S1168", "shortDescription": "Empty arrays and collections should be returned instead of null", "fullDescription": "Returning null instead of an actual array, collection or map forces callers of the method to explicitly test for nullity, making them more complex and less readable.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1168", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S1172": { "id": "S1172", "shortDescription": "Unused method parameters should be removed", "fullDescription": "Unused parameters are misleading. Whatever the values passed to such parameters, the behavior will be the same.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1172", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1186": { "id": "S1186", "shortDescription": "Methods should not be empty", "fullDescription": "There are several reasons for a method not to have a method body:", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1186", "properties": { "category": "Critical Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S125": { "id": "S125", "shortDescription": "Sections of code should not be commented out", "fullDescription": "Programmers should not comment out code as it bloats programs and reduces readability.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-125", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1450": { "id": "S1450", "shortDescription": "Private fields only used as local variables in methods should become local variables", "fullDescription": "When the value of a private field is always assigned to in a class' methods before being read, then it is not being used to store class information. Therefore, it should become a local variable in the relevant methods to prevent any misunderstanding.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1450", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S1481": { "id": "S1481", "shortDescription": "Unused local variables should be removed", "fullDescription": "If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1481", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1643": { "id": "S1643", "shortDescription": "Strings should not be concatenated using '+' in a loop", "fullDescription": "StringBuilder is more efficient than string concatenation, especially when the operator is repeated over and over as in loops.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1643", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S1854": { "id": "S1854", "shortDescription": "Unused assignments should be removed", "fullDescription": "A dead store happens when a local variable is assigned a value that is not read by any subsequent instruction. Calculating or retrieving a value only to then overwrite it or throw it away, could indicate a serious error in the code. Even if it’s not an error, it is at best a waste of resources. Therefore all calculated values should be used.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1854", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S1905": { "id": "S1905", "shortDescription": "Redundant casts should not be used", "fullDescription": "Unnecessary casting expressions make the code harder to read and understand.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1905", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S2223": { "id": "S2223", "shortDescription": "Non-constant static fields should not be visible", "fullDescription": "A static field that is neither constant nor read-only is not thread-safe. Correctly accessing these fields from different threads needs synchronization with locks. Improper synchronization may lead to unexpected results, thus publicly visible static fields are best suited for storing non-changing data shared by many consumers. To enforce this intent, these fields should be marked readonly or converted to constants.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2223", "properties": { "category": "Critical Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S2259": { "id": "S2259", "shortDescription": "Null pointers should not be dereferenced", "fullDescription": "A reference to null should never be dereferenced/accessed. Doing so will cause a NullReferenceException to be thrown. At best, such an exception will cause abrupt program termination. At worst, it could expose debugging information that would be useful to an attacker, or it could allow an attacker to bypass security measures.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2259", "properties": { "category": "Major Bug", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S2292": { "id": "S2292", "shortDescription": "Trivial properties should be auto-implemented", "fullDescription": "Trivial properties, which include no logic but setting and getting a backing field should be converted to auto-implemented properties, yielding cleaner and more readable code.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2292", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S2589": { "id": "S2589", "shortDescription": "Boolean expressions should not be gratuitous", "fullDescription": "If a boolean expression doesn’t change the evaluation of the condition, then it is entirely unnecessary, and can be removed. If it is gratuitous because it does not match the programmer’s intent, then it’s a bug and the expression should be fixed.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2589", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S2696": { "id": "S2696", "shortDescription": "Instance members should not write to \"static\" fields", "fullDescription": "Correctly updating a static field from a non-static method is tricky to get right and could easily lead to bugs if there are multiple class instances and/or multiple threads in play.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2696", "properties": { "category": "Critical Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S2933": { "id": "S2933", "shortDescription": "Fields that are only assigned in the constructor should be \"readonly\"", "fullDescription": "readonly fields can only be assigned in a class constructor. If a class has a field that’s not marked readonly but is only set in the constructor, it could cause confusion about the field’s intended use. To avoid confusion, such fields should be marked readonly to make their intended use explicit, and to prevent future maintainers from inadvertently changing their use.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2933", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S2971": { "id": "S2971", "shortDescription": "\"IEnumerable\" LINQs should be simplified", "fullDescription": "In the interests of readability, code that can be simplified should be simplified. To that end, there are several ways IEnumerable language integrated queries (LINQ) can be simplified", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2971", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S3256": { "id": "S3256", "shortDescription": "\"string.IsNullOrEmpty\" should be used", "fullDescription": "Using string.Equals to determine if a string is empty is significantly slower than using string.IsNullOrEmpty() or checking for string.Length == 0. string.IsNullOrEmpty() is both clear and concise, and therefore preferred to laborious, error-prone, manual null- and emptiness-checking.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3256", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S3267": { "id": "S3267", "shortDescription": "Loops should be simplified with \"LINQ\" expressions", "fullDescription": "When a loop is filtering, selecting or aggregating, those functions can be handled with a clearer, more concise LINQ expression instead.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3267", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S3400": { "id": "S3400", "shortDescription": "Methods should not return constants", "fullDescription": "There’s no point in forcing the overhead of a method call for a method that always returns the same constant value. Even worse, the fact that a method call must be made will likely mislead developers who call the method thinking that something more is done. Declare a constant instead.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3400", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S3776": { "id": "S3776", "shortDescription": "Cognitive Complexity of methods should not be too high", "fullDescription": "Cognitive Complexity is a measure of how hard the control flow of a method is to understand. Methods with high Cognitive Complexity will be difficult to maintain.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3776", "properties": { "category": "Critical Code Smell", "isEnabledByDefault": false, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S3903": { "id": "S3903", "shortDescription": "Types should be defined in named namespaces", "fullDescription": "Types are declared in namespaces in order to prevent name collisions and as a way to organize them into the object hierarchy. Types that are defined outside any named namespace are in a global namespace that cannot be referenced in code.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3903", "properties": { "category": "Major Bug", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S3904": { "id": "S3904", "shortDescription": "Assemblies should have version information", "fullDescription": "If no AssemblyVersionAttribute is provided, the same default version will be used for every build. Since the version number is used by The .NET Framework to uniquely identify an assembly this can lead to broken dependencies.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3904", "properties": { "category": "Critical Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } }, "S4136": { "id": "S4136", "shortDescription": "Method overloads should be grouped together", "fullDescription": "For clarity, all overloads of the same method should be grouped together. That lets both users and maintainers quickly understand all the current available options.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4136", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S4144": { "id": "S4144", "shortDescription": "Methods should not have identical implementations", "fullDescription": "When two methods have the same implementation, either it was a mistake - something else was intended - or the duplication was intentional, but may be confusing to maintainers. In the latter case, one implementation should invoke the other.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4144", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "S4790": { "id": "S4790", "shortDescription": "Using weak hashing algorithms is security-sensitive", "fullDescription": "Cryptographic hash algorithms such as MD2, MD4, MD5, MD6, HAVAL-128, HMAC-MD5, DSA (which uses SHA-1), RIPEMD, RIPEMD-128, RIPEMD-160, HMACRIPEMD160 and SHA-1 are no longer considered secure, because it is possible to have collisions (little computational effort is enough to find two or more different inputs that produce the same hash).", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4790", "properties": { "category": "Critical Security Hotspot", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "NotConfigurable" ] } }, "S5332": { "id": "S5332", "shortDescription": "Using clear-text protocols is security-sensitive", "fullDescription": "Clear-text protocols such as ftp, telnet or non-secure http lack encryption of transported data, as well as the capability to build an authenticated connection. It means that an attacker able to sniff traffic from the network can read, modify or corrupt the transported content. These protocols are not secure as they expose applications to an extensive range of risks:", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-5332", "properties": { "category": "Critical Security Hotspot", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "NotConfigurable" ] } } } } ] }