Skip to content

Update Roslyn (Microsoft.CodeAnalysis) #2236

Update Roslyn (Microsoft.CodeAnalysis)

Update Roslyn (Microsoft.CodeAnalysis) #2236

Triggered via pull request May 21, 2026 06:27
Status Success
Total duration 17m 42s
Artifacts 21

ci-build.yml

on: pull_request
Matrix: build / build-unix
build  /  build-windows
7m 7s
build / build-windows
build  /  collect-coverage
15s
build / collect-coverage
Fit to window
Zoom out
Zoom in

Annotations

1 error, 31 warnings, and 1 notice
build / collect-coverage
Process completed with exit code 141.
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L161
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L23
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L335
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Refit.Generator.Emitter.WriteMethodOpening(Refit.Generator.SourceWriter, Refit.Generator.MethodModel, bool, bool, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L355
Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L202
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build-unix (ubuntu-latest): src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L161
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L335
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Refit.Generator.Emitter.WriteMethodOpening(Refit.Generator.SourceWriter, Refit.Generator.MethodModel, bool, bool, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L355
Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/Emitter.cs#L202
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L23
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build-unix (macos-latest): src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build-windows: src/InterfaceStubGenerator.Shared/Emitter.cs#L202
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build / build-windows: src/InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build-windows: src/InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build-windows: src/InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L18
'Refit.Generator.InterfaceStubGeneratorV2': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build / build-windows: src/InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
build / build-windows: src/InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
build / build-windows: src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build-windows: src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build-windows: src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build-windows: src/InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / collect-coverage
No files were found with the provided path: ./.collect. No artifacts will be uploaded.
build / build-windows
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
Refit.GeneratorTests-linux-net8.0-report.html
145 KB
sha256:0c4f1041e3750f0683219c1736d9d2ca2f2f5ec140195f2278442ae8e2d399e9
Refit.GeneratorTests-linux-net9.0-report.html
146 KB
sha256:1e9d3c3346c945d384bbce6859155b133f89804e051cee14007c51733ae7e5dc
Refit.GeneratorTests-macos-net8.0-report.html
145 KB
sha256:0295483a5fd9723a68901dc9095634420ff9ec258600828cbee1139473524b23
Refit.GeneratorTests-macos-net9.0-report.html
146 KB
sha256:95bed0c487320018d0226de72cfaf95445bffa0eb994f5fc811916afb72ff644
Refit.GeneratorTests-windows-net8.0-report.html
145 KB
sha256:06a9495ebee91458d6da9d22210e88a10f7b3fa67d0a8eebdf04a94583eb0527
Refit.GeneratorTests-windows-net9.0-report.html
146 KB
sha256:95488c6660490237572bcf0ed5c363919478b4776bb0babdd2c2efda7eb7b8be
Refit.Tests-linux-net10.0-report.html
253 KB
sha256:86fe7b04e09d8ee95e380ada30ff76dc5ff47a244fd854573055980dec7a96bc
Refit.Tests-linux-net8.0-report.html
246 KB
sha256:1983c4d95d884d2a3d6192fa3291cf960a47273fbaf1ffe2fe29480d18f56172
Refit.Tests-linux-net9.0-report.html
253 KB
sha256:43f0c54d230ff60a66652f72715173dc564a1dd1f07ffa5d6dcbd6bbed9e91a3
Refit.Tests-macos-net10.0-report.html
249 KB
sha256:3de5b7e3b7c539b707ba239125c58e998cc7e92632561c8e7c954fac2e4da344
Refit.Tests-macos-net8.0-report.html
243 KB
sha256:3ee25b16028f72b7a700a686506b808a996dc3e53818488477b220a9688c3172
Refit.Tests-macos-net9.0-report.html
249 KB
sha256:11a678a89379244fde6639aaf116d524efcefd97396c7e3c3bb778aac68654ce
Refit.Tests-windows-net10.0-report.html
252 KB
sha256:ca940f1cf434a223f68d4d96e9825a9fe019a956a84a7ba7323cd58ab5c05fb2
Refit.Tests-windows-net8.0-report.html
245 KB
sha256:5867570428649193d4f4622c72898c6cf1555f247110ab59e1638d4f45ecd4c1
Refit.Tests-windows-net9.0-report.html
252 KB
sha256:15ac5ca61b481e3aa46256d68f750221a2fbb84a467aeec12396cb6a1d703af9
mtp-diagnostic-logs-Linux
338 KB
sha256:e18b0c4304b6802b45e487316c09196c58795f268869847bfacc9f3a74250070
mtp-diagnostic-logs-Windows
301 KB
sha256:f4e47e9426691d9e4de7e3cf7af3675f38b59d02a8e4ba4ca795ed6e045f9347
mtp-diagnostic-logs-macOS
251 KB
sha256:18ed522e9a4dd3b7dd7c7e0aef2fdd49d3e7f5eb90b42dc91cecc5506176229a
tmp-coverage-Linux
1.76 KB
sha256:b05e1c32178b58074614e6c5902ce0cf71b04712efefa65a13627180f422f060
tmp-coverage-Windows
1.77 KB
sha256:d0025f813a9426559d91778427ca768ac2991aa002cf7886a6e73045123a79c7
tmp-coverage-macOS
1.76 KB
sha256:622fd113dcb537a54f158f3e58f03a63abb8002e3fb2d9efed5633fac37d8d0c