12 references to AsReadOnly
Microsoft.AspNetCore.Components.Endpoints (1)
Results\RazorComponentResult.cs (1)
19= new Dictionary<string, object?>().AsReadOnly();
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
ImportMapTest.cs (5)
50}.AsReadOnly() 59importMap.AdditionalAttributes = new Dictionary<string, object> { ["nonce"] = "random" }.AsReadOnly(); 96}.AsReadOnly() 141}.AsReadOnly() 206}.AsReadOnly()
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2228formDictionary = dictionary.AsReadOnly();
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
ScriptTagHelperTest.cs (2)
725}.AsReadOnly() 770}.AsReadOnly()
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishToSymbolServerTest.cs (1)
196}.AsReadOnly();
System.Formats.Tar (2)
System\Formats\Tar\PaxGlobalExtendedAttributesTarEntry.cs (1)
37public IReadOnlyDictionary<string, string> GlobalExtendedAttributes => _readOnlyGlobalExtendedAttributes ??= _header.ExtendedAttributes.AsReadOnly();
System\Formats\Tar\PaxTarEntry.cs (1)
151public IReadOnlyDictionary<string, string> ExtendedAttributes => _readOnlyExtendedAttributes ??= _header.ExtendedAttributes.AsReadOnly();