13 references to AsReadOnly
dotnet (6)
Commands\Package\Add\PackageAddCommand.cs (1)
92}.AsReadOnly())
Commands\Package\List\PackageListCommand.cs (1)
56}.AsReadOnly()))
Commands\Run\VirtualProjectBuildingCommand.cs (1)
162.AsReadOnly());
ReleasePropertyProjectLocator.cs (2)
61return new Dictionary<string, string>(1, StringComparer.OrdinalIgnoreCase) { [EnvironmentVariableNames.DISABLE_PUBLISH_AND_PACK_RELEASE] = "true" }.AsReadOnly(); // Don't throw error if publish* conflicts but global config specified. 84return newConfigurationArgs.AsReadOnly();
ToolPackage\ToolConfigurationDeserializer.cs (1)
92.AsReadOnly();
Microsoft.AspNetCore.Components.Endpoints (1)
Results\RazorComponentResult.cs (1)
19= new Dictionary<string, object?>().AsReadOnly();
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2311formDictionary = dictionary.AsReadOnly();
Microsoft.Build (2)
Graph\GraphBuildRequestData.cs (2)
222return node.ProjectInstance.GlobalProperties.AsReadOnly(); 228return entryPoint.Value.GlobalProperties.AsReadOnly();
Microsoft.NET.Build.Containers (1)
ImageConfig.cs (1)
38public ReadOnlyDictionary<string, string> EnvironmentVariables => _environmentVariables.AsReadOnly();
System.Formats.Tar (2)
System\Formats\Tar\PaxGlobalExtendedAttributesTarEntry.cs (1)
35public IReadOnlyDictionary<string, string> GlobalExtendedAttributes => field ??= _header.ExtendedAttributes.AsReadOnly();
System\Formats\Tar\PaxTarEntry.cs (1)
129public IReadOnlyDictionary<string, string> ExtendedAttributes => field ??= _header.GetPopulatedExtendedAttributes().AsReadOnly();