Skip to content

Commit f146082

Browse files
committed
Fix unresolved cref to IServiceCollection in XML doc
GPT-5.5 reviewer caught a build-breaking CS1574 introduced by the previous commit's <remarks> block: the file does not 'using Microsoft.Extensions.DependencyInjection;', so '<see cref="IServiceCollection"/>' fails to resolve and breaks docs compilation. Fully qualify the cref to match the file's existing pattern (see the cref to BlazorWebViewServiceCollectionExtensions.AddMauiBlazorWebView elsewhere in this file, which uses 'M:Microsoft.Extensions.DependencyInjection.BlazorWebViewServiceCollectionExtensions...'). Verified: 'dotnet build src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj -f net10.0' now succeeds with 0 warnings, 0 errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a41994f commit f146082

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/BlazorWebView/src/Maui/MauiBlazorWebViewBuilderExtensions.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static class MauiBlazorWebViewBuilderExtensions
5151
/// handler factory's service provider, not the application's root <see cref="IServiceProvider"/>.
5252
/// It can resolve services that were registered on the handler collection (via
5353
/// <c>ConfigureMauiHandlers</c>); it cannot resolve arbitrary services from the app's
54-
/// <see cref="IServiceCollection"/>. The same call-ordering rule as
54+
/// <see cref="Microsoft.Extensions.DependencyInjection.IServiceCollection"/>. The same call-ordering rule as
5555
/// <see cref="UsePlatformHandler{THandler}(IMauiBlazorWebViewBuilder)"/> applies — call this
5656
/// method after <c>AddMauiBlazorWebView()</c> (and after any later re-invocations from
5757
/// downstream libraries) so the custom handler is the last registration to win.

0 commit comments

Comments
 (0)