Skip to content

Fix potential thread block in SingleCreationValueCache.GetOrAdd #265

Fix potential thread block in SingleCreationValueCache.GetOrAdd

Fix potential thread block in SingleCreationValueCache.GetOrAdd #265

Triggered via push August 8, 2024 15:48
Status Success
Total duration 4m 12s
Artifacts

docs.yml

on: push
Generate docs
4m 0s
Generate docs
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Generate docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, microsoft/[email protected], 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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, microsoft/[email protected], actions/setup-dotnet@v1, crazy-max/ghaction-chocolatey@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/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/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/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: 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
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/