BSIPA 4.3.4 #16
Annotations
13 warnings
Generate docs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, microsoft/setup-msbuild@v1.0.2, actions/setup-dotnet@v1, crazy-max/ghaction-chocolatey@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Generate docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, microsoft/setup-msbuild@v1.0.2, actions/setup-dotnet@v1, crazy-max/ghaction-chocolatey@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Generate docs:
IPA/Patcher/BackupUnit.cs#L18
Field '_ManifestFileName' is declared as 'readonly' but is initialized with a constant value. Mark this field as 'const' instead. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802)
|
Generate docs:
IPA/Arguments.cs#L191
In externally visible method 'ArgumentFlag.ArgumentFlag(params string[] flags)', validate parameter 'flags' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Generate docs:
IPA/Arguments.cs#L27
In externally visible method 'Arguments Arguments.Flags(params ArgumentFlag[] toAdd)', validate parameter 'toAdd' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Generate docs:
IPA/Patcher/BackupUnit.cs#L72
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'IPA.Patcher.BackupUnit.Add(System.IO.FileInfo)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
Generate docs:
IPA/Patcher/BackupUnit.cs#L72
In externally visible method 'void BackupUnit.Add(FileInfo file)', validate parameter 'file' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Generate docs:
IPA/Patcher/BackupUnit.cs#L34
In externally visible method 'BackupUnit BackupUnit.FromDirectory(DirectoryInfo directory, PatchContext context)', validate parameter 'directory' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Generate docs:
IPA/PatchContext.cs#L40
Exception type System.Exception is not sufficiently specific (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Generate docs:
IPA/Arguments.cs#L197
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'IPA.ArgumentFlag.AddPart(string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
Generate docs:
IPA/Arguments.cs#L199
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'IPA.ArgumentFlag.AddPart(string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
Generate docs:
IPA/Arguments.cs#L211
Provide a method named 'ToBoolean' or 'FromArgumentFlag' as an alternate for operator op_Implicit (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
|
Generate docs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|