472 implementations of IsReadOnly
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
50public bool IsReadOnly { get; }
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
17public bool IsReadOnly => false;
src\Shared\CircularBuffer.cs (1)
50public bool IsReadOnly { get; }
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
150public bool IsReadOnly
FrameworkFork\System.ServiceModel\System\ServiceModel\ExtensionCollection.cs (1)
32bool ICollection<IExtension<T>>.IsReadOnly
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
420public bool IsReadOnly
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
214bool ICollection<T>.IsReadOnly
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
125bool ICollection<T>.IsReadOnly
Shared\Options\ListValue.cs (1)
63public bool IsReadOnly { get { return false; } }
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
298public bool IsReadOnly => _innerHeaders.IsReadOnly;
Http3\Http3ConnectionTests.cs (1)
833public bool IsReadOnly => _innerHeaders.IsReadOnly;
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
315bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => false;
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2421public bool IsReadOnly => false;
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
109bool ICollection<KeyValuePair<object, object?>>.IsReadOnly
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1392public bool IsReadOnly => false;
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
158public bool IsReadOnly { get; set; }
Internal\ItemsDictionary.cs (1)
113bool ICollection<KeyValuePair<object, object?>>.IsReadOnly => _items?.IsReadOnly ?? false;
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
79public bool IsReadOnly
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
150bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
Microsoft.AspNetCore.Http.Abstractions (11)
EndpointFilterInvocationContextOfT.Generated.cs (10)
48public bool IsReadOnly => false; 176public bool IsReadOnly => false; 311public bool IsReadOnly => false; 453public bool IsReadOnly => false; 602public bool IsReadOnly => false; 758public bool IsReadOnly => false; 921public bool IsReadOnly => false; 1091public bool IsReadOnly => false; 1268public bool IsReadOnly => false; 1452public bool IsReadOnly => false;
Routing\RouteValueDictionary.cs (1)
315bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => false;
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
58public bool IsReadOnly => ((IDictionary<object, ValidationStateEntry>)_inner).IsReadOnly;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
781public bool IsReadOnly
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\CopyOnWriteList.cs (1)
45public bool IsReadOnly => false;
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
79public bool IsReadOnly
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
ActionParametersIntegrationTest.cs (1)
1019public bool IsReadOnly
CollectionModelBinderIntegrationTest.cs (4)
1244bool ICollection<string>.IsReadOnly 1313bool ICollection<string>.IsReadOnly 1384bool ICollection<T>.IsReadOnly 1453bool ICollection<T>.IsReadOnly
DictionaryModelBinderIntegrationTest.cs (2)
1541bool ICollection<KeyValuePair<string, string>>.IsReadOnly 1646bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
TryUpdateModelIntegrationTest.cs (1)
1310public bool IsReadOnly
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
AttributeDictionary.cs (3)
60public bool IsReadOnly => false; 377public bool IsReadOnly => true; 484public bool IsReadOnly => true;
TempDataDictionary.cs (1)
75bool ICollection<KeyValuePair<string, object?>>.IsReadOnly
ViewDataDictionary.cs (1)
326public bool IsReadOnly
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
34bool ICollection<KeyValuePair<string, string[]>>.IsReadOnly => Inner.IsReadOnly;
DictionaryStringValuesWrapper.cs (1)
79bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly => Inner.IsReadOnly;
OwinEnvironment.cs (1)
276bool ICollection<KeyValuePair<string, object>>.IsReadOnly
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
121bool ICollection<TagHelperAttribute>.IsReadOnly => false;
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
79public bool IsReadOnly
Microsoft.AspNetCore.Routing (1)
RouteEndpointDataSource.cs (1)
351public bool IsReadOnly { get; set; }
Microsoft.AspNetCore.Server.HttpSys (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
64public bool IsReadOnly { get; internal set; }
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
169bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly
UrlPrefixCollection.cs (1)
46public bool IsReadOnly
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
64public bool IsReadOnly { get; internal set; }
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
169bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.cs (1)
117bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly => _isReadOnly;
Internal\ServerAddressesCollection.cs (2)
25public bool IsReadOnly => false; 113public bool IsReadOnly { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1203public bool IsReadOnly => _innerHeaders.IsReadOnly;
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
259bool ICollection<KeyValuePair<string, object>>.IsReadOnly
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
79public bool IsReadOnly
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
150bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
64public bool IsReadOnly { get; internal set; }
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
169bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly
Microsoft.Build (20)
Collections\ArrayDictionary.cs (1)
86public bool IsReadOnly => true;
Collections\CopyOnWritePropertyDictionary.cs (1)
78bool ICollection<KeyValuePair<string, T>>.IsReadOnly => false;
Collections\PropertyDictionary.cs (1)
145bool ICollection<KeyValuePair<string, T>>.IsReadOnly => false;
Collections\ReadOnlyConvertingDictionary.cs (1)
73public bool IsReadOnly => true;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
470public bool IsReadOnlyIsReadOnly
Construction\ProjectElementContainer.cs (1)
803public bool IsReadOnly => true;
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (3)
41public bool IsReadOnlyIsReadOnly => true; 123public bool IsReadOnly => true;
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (3)
62public bool IsReadOnlyIsReadOnly => true; 173public bool IsReadOnly => true;
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
71public bool IsReadOnly => true;
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
194public bool IsReadOnly => true;
Instance\ImmutableProjectCollections\ImmutableStringValuedListConverter.cs (1)
31public bool IsReadOnly => true;
ReadOnlyCollection.cs (1)
57public bool IsReadOnly
ReadOnlyEmptyCollection.cs (1)
61public bool IsReadOnly
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.Build.Framework (14)
ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
ImmutableSegmentedDictionary`2+Builder.cs (1)
70bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
37bool ICollection<T>.IsReadOnly => false;
SegmentedArray`1.cs (1)
108public bool IsReadOnly => true;
SegmentedDictionary`2.cs (3)
840bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1303bool ICollection<TKey>.IsReadOnly => true; 1503bool ICollection<TValue>.IsReadOnly => true;
SegmentedList`1.cs (1)
157bool ICollection<T>.IsReadOnly => false;
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
ReadOnlyCollection.cs (1)
57public bool IsReadOnly
ReadOnlyEmptyCollection.cs (1)
61public bool IsReadOnly
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.Build.Utilities.Core (3)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
ReadOnlyEmptyCollection.cs (1)
61public bool IsReadOnly
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.CodeAnalysis (26)
Collections\IdentifierCollection.Collection.cs (1)
52public bool IsReadOnly => true;
Collections\UnionCollection.cs (1)
119public bool IsReadOnly
InternalUtilities\ConcurrentSet.cs (1)
65public bool IsReadOnly => false;
InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
43public bool IsReadOnly => true;
InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
50public bool IsReadOnly => true;
InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
46public bool IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
47bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => ICollectionCalls<KeyValuePair<TKey, TValue>>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
68readonly bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
87bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
34bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
58readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
37readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
105public bool IsReadOnly => true;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
868bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1339bool ICollection<TKey>.IsReadOnly => true; 1547bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
358bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedList`1.cs (1)
184bool ICollection<T>.IsReadOnly => false;
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.CodeAnalysis.CodeStyle (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
65public bool IsReadOnly => false;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
43public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
50public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
46public bool IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
47bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => ICollectionCalls<KeyValuePair<TKey, TValue>>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
68readonly bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
87bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
34bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
58readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
37readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
105public bool IsReadOnly => true;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
868bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1339bool ICollection<TKey>.IsReadOnly => true; 1547bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
358bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedList`1.cs (1)
184bool ICollection<T>.IsReadOnly => false;
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.CodeAnalysis.Collections.Package (19)
ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
ImmutableSegmentedDictionary`2+Builder.cs (1)
47bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => ICollectionCalls<KeyValuePair<TKey, TValue>>.IsReadOnly(ref _builder);
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
68readonly bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
ImmutableSegmentedHashSet`1.cs (1)
87bool ICollection<T>.IsReadOnly => true;
ImmutableSegmentedHashSet`1+Builder.cs (1)
34bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
58readonly bool ICollection<T>.IsReadOnly => false;
ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
37readonly bool ICollection<T>.IsReadOnly => false;
SegmentedArray`1.cs (1)
105public bool IsReadOnly => true;
SegmentedDictionary`2.cs (3)
868bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1339bool ICollection<TKey>.IsReadOnly => true; 1547bool ICollection<TValue>.IsReadOnly => true;
SegmentedHashSet`1.cs (1)
358bool ICollection<T>.IsReadOnly => false;
SegmentedList`1.cs (1)
184bool ICollection<T>.IsReadOnly => false;
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.CodeAnalysis.PooledObjects.Package (1)
ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
47public bool IsReadOnly => false;
Microsoft.CodeAnalysis.UnitTests (1)
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
158public bool IsReadOnly => throw new NotImplementedException();
Microsoft.CodeAnalysis.Workspaces (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
65public bool IsReadOnly => false;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
43public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
50public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
46public bool IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
47bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => ICollectionCalls<KeyValuePair<TKey, TValue>>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
68readonly bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
87bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
34bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
58readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
37readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
105public bool IsReadOnly => true;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
868bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1339bool ICollection<TKey>.IsReadOnly => true; 1547bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
358bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedList`1.cs (1)
184bool ICollection<T>.IsReadOnly => false;
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (24)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
65public bool IsReadOnly => false;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Collection.cs (1)
43public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Collection.cs (1)
50public bool IsReadOnly => true;
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
46public bool IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
104bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
47bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => ICollectionCalls<KeyValuePair<TKey, TValue>>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
28bool ICollection<TKey>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
28bool ICollection<TValue>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
24bool ICollection<TKey>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
68readonly bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
24bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
87bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
34bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
58readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
88bool ICollection<T>.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
26bool ICollection<T>.IsReadOnly => ICollectionCalls<T>.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
37readonly bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedArray`1.cs (1)
105public bool IsReadOnly => true;
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
868bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1339bool ICollection<TKey>.IsReadOnly => true; 1547bool ICollection<TValue>.IsReadOnly => true;
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
358bool ICollection<T>.IsReadOnly => false;
src\Dependencies\Collections\SegmentedList`1.cs (1)
184bool ICollection<T>.IsReadOnly => false;
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
142public bool IsReadOnly
Microsoft.Extensions.AI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.AI.Abstractions (4)
AdditionalPropertiesDictionary{TValue}.cs (1)
80bool ICollection<KeyValuePair<string, TValue>>.IsReadOnly => false;
Embeddings\GeneratedEmbeddings.cs (1)
59bool ICollection<TEmbedding>.IsReadOnly => false;
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.AI.AzureAIInference (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.AI.Ollama (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.Configuration (2)
ConfigurationManager.cs (2)
208public bool IsReadOnly => false; 289public bool IsReadOnly => false;
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
25public bool IsReadOnly => _isReadOnly;
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
65public bool IsReadOnly => _services.IsReadOnly;
Microsoft.Extensions.Http.Diagnostics (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
114bool ICollection<string?>.IsReadOnly => true;
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Gen.Logging.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Gen.Metrics.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Gen.MetricsReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
50public bool IsReadOnly => ((ICollection<KeyValuePair<T, U>>)Map).IsReadOnly;
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
12 public bool IsReadOnly => false;
Hosting\Internal\MauiServiceCollection.cs (1)
16 public bool IsReadOnly => false;
Primitives\LockableObservableListWrapper.cs (1)
51 public bool IsReadOnly
Microsoft.Maui.Controls (25)
DefinitionCollection.cs (1)
47 public bool IsReadOnly
Element\Element.cs (1)
1088 bool ICollection<Element>.IsReadOnly => true;
Interactivity\TriggerBase.cs (1)
171 public bool IsReadOnly
Items\SelectionList.cs (1)
34 public bool IsReadOnly => false;
Layout\Layout.cs (2)
55 public bool IsReadOnlyIsReadOnly => ((ICollection<IView>)_children).IsReadOnly;
LegacyLayouts\LayoutOfT.cs (1)
12 bool ICollection<IView>.IsReadOnly => ((ICollection<IView>)_children).IsReadOnly;
Menu\MenuBar.cs (1)
35 public bool IsReadOnly => false;
Menu\MenuBarItem.cs (1)
59 public bool IsReadOnly => false;
Menu\MenuFlyout.cs (1)
35 public bool IsReadOnly => false;
Menu\MenuFlyoutSubItem.cs (1)
27 public bool IsReadOnly => false;
NavigationStepRequest.cs (1)
30 public bool IsReadOnly => false;
ObservableWrapper.cs (1)
86 public bool IsReadOnly { get; internal set; }
OrderedDictionary.cs (2)
148 bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly 409 public bool IsReadOnly
ReadOnlyCastingList.cs (1)
88 public bool IsReadOnly => _list.IsReadOnly;
ResourceDictionary.cs (1)
183 bool ICollection<KeyValuePair<string, object>>.IsReadOnly
Shell\MenuItemCollection.cs (1)
24 public bool IsReadOnly => ((IList<MenuItem>)_inner).IsReadOnly;
Shell\ShellElementCollection.cs (1)
23 public bool IsReadOnly => Inner.IsReadOnly;
Shell\ShellNavigationQueryParameters.cs (1)
57 public bool IsReadOnly => _isReadonly;
SwipeView\SwipeItems.cs (1)
68 public bool IsReadOnly => false;
SynchronizedList.cs (1)
49 bool ICollection<T>.IsReadOnly
TableView\TableSection.cs (1)
70 bool ICollection<T>.IsReadOnly
VisualStateManager.cs (2)
293 public bool IsReadOnly => false; 774 public bool IsReadOnly => false;
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
40 public bool IsReadOnly => false;
HandlerImpl\Polyline.Impl.cs (1)
38 public bool IsReadOnly => false;
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
81public bool IsReadOnly { get { return false; } }
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
89public bool IsReadOnly => ((ICollection<KeyValuePair<string, OptionBase>>)_options).IsReadOnly;
Parameter.cs (1)
236public bool IsReadOnly
SearchSpace.cs (1)
92public bool IsReadOnly => ((ICollection<KeyValuePair<string, OptionBase>>)_options).IsReadOnly;
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
82public bool IsReadOnly => false;
MSBuild (3)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
ReadOnlyEmptyCollection.cs (1)
61public bool IsReadOnly
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
Immutable\ImmutableDictionary.cs (1)
51public bool IsReadOnly => true;
ReadOnlyEmptyCollection.cs (1)
61public bool IsReadOnly
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
PresentationCore (42)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
740public bool IsReadOnly
MS\Internal\FontFace\TypefaceCollection.cs (1)
94public bool IsReadOnly
MS\Internal\PartialArray.cs (1)
39public bool IsReadOnly
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
71public bool IsReadOnly
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
59public bool IsReadOnly
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
125public bool IsReadOnly
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
110public bool IsReadOnly
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
60public bool IsReadOnly
System\Windows\FreezableCollection.cs (1)
373bool ICollection<T>.IsReadOnly
System\Windows\Generated\TextDecorationCollection.cs (1)
281bool ICollection<TextDecoration>.IsReadOnly
System\Windows\Ink\StrokeCollection.cs (1)
873bool ICollection<Stroke>.IsReadOnly
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
280bool ICollection<Timeline>.IsReadOnly
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
46public bool IsReadOnly
System\Windows\Media\CharacterMetricsDictionary.cs (1)
75public bool IsReadOnly
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
72public bool IsReadOnly
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
280bool ICollection<BitmapEffect>.IsReadOnly
System\Windows\Media\FamilyMapCollection.cs (1)
144public bool IsReadOnly
System\Windows\Media\FamilyTypefaceCollection.cs (1)
131public bool IsReadOnly
System\Windows\Media\Fonts.cs (1)
344public bool IsReadOnly
System\Windows\Media\Generated\DoubleCollection.cs (1)
235bool ICollection<double>.IsReadOnly
System\Windows\Media\Generated\DrawingCollection.cs (1)
293bool ICollection<Drawing>.IsReadOnly
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
278bool ICollection<GeneralTransform>.IsReadOnly
System\Windows\Media\Generated\GeometryCollection.cs (1)
293bool ICollection<Geometry>.IsReadOnly
System\Windows\Media\Generated\GradientStopCollection.cs (1)
279bool ICollection<GradientStop>.IsReadOnly
System\Windows\Media\Generated\Int32Collection.cs (1)
234bool ICollection<int>.IsReadOnly
System\Windows\Media\Generated\PathFigureCollection.cs (1)
284bool ICollection<PathFigure>.IsReadOnly
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
278bool ICollection<PathSegment>.IsReadOnly
System\Windows\Media\Generated\PointCollection.cs (1)
234bool ICollection<Point>.IsReadOnly
System\Windows\Media\Generated\TextEffectCollection.cs (1)
278bool ICollection<TextEffect>.IsReadOnly
System\Windows\Media\Generated\TransformCollection.cs (1)
293bool ICollection<Transform>.IsReadOnly
System\Windows\Media\Generated\VectorCollection.cs (1)
234bool ICollection<Vector>.IsReadOnly
System\Windows\Media\GlyphRun.cs (2)
2148public bool IsReadOnly 2250public bool IsReadOnly
System\Windows\Media\GlyphTypeface.cs (2)
1833public bool IsReadOnly 1918public bool IsReadOnly
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
278bool ICollection<GeneralTransform3D>.IsReadOnly
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
293bool ICollection<Material>.IsReadOnly
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
293bool ICollection<Model3D>.IsReadOnly
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
235bool ICollection<Point3D>.IsReadOnly
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
293bool ICollection<Transform3D>.IsReadOnly
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
235bool ICollection<Vector3D>.IsReadOnly
System\Windows\Media3D\Visual3DCollection.cs (1)
291bool ICollection<Visual3D>.IsReadOnly
PresentationFramework (19)
MS\Internal\Annotations\ObservableDictionary.cs (1)
266public bool IsReadOnly
MS\Internal\Data\RBTree.cs (1)
587public bool IsReadOnly
MS\Internal\Documents\ContentElementCollection.cs (1)
549public bool IsReadOnly // bool IList.IsReadOnly {get;}; bool ICollection<T>.IsReadOnly {get;}
MS\Internal\ListOfObject.cs (1)
80bool ICollection<object>.IsReadOnly
MS\Internal\WeakDictionary.cs (3)
61public bool IsReadOnly 148public bool IsReadOnly 315public bool IsReadOnly
MS\Internal\WeakHashSet.cs (1)
65public bool IsReadOnly
System\Windows\Controls\ColumnDefinition.cs (1)
393public bool IsReadOnly // bool IList.IsReadOnly {get;}; bool ICollection<T>.IsReadOnly {get;}
System\Windows\Controls\CustomDictionarySources.cs (1)
177bool ICollection<Uri>.IsReadOnly
System\Windows\Controls\RowDefinition.cs (1)
388public bool IsReadOnly // bool IList.IsReadOnly {get;}; bool ICollection<T>.IsReadOnly {get;}
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
415public bool IsReadOnly
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
187public bool IsReadOnly
System\Windows\Documents\TableCellCollection.cs (1)
362public bool IsReadOnly
System\Windows\Documents\TableColumnCollection.cs (1)
370public bool IsReadOnly // bool IList.IsReadOnly {get;}; bool ICollection<T>.IsReadOnly {get;}
System\Windows\Documents\TableRowCollection.cs (1)
362public bool IsReadOnly
System\Windows\Documents\TableRowGroupCollection.cs (1)
362public bool IsReadOnly
System\Windows\Documents\TextElementCollection.cs (1)
181public bool IsReadOnly
System\Windows\TriggerActionCollection.cs (1)
60public bool IsReadOnly
Shared (2)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
32bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
EmptyCollections\EmptyReadOnlyList.cs (1)
33bool ICollection<T>.IsReadOnly => true;
Shared.Tests (1)
EmptyCollections\EmptyCollectionExtensionsTests.cs (1)
111public bool IsReadOnly => true;
System.Collections (11)
System\Collections\Generic\LinkedList.cs (1)
64bool ICollection<T>.IsReadOnly
System\Collections\Generic\OrderedDictionary.cs (3)
246bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1476bool ICollection<TKey>.IsReadOnly => true; 1671bool ICollection<TValue>.IsReadOnly => true;
System\Collections\Generic\SortedDictionary.cs (3)
98bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly 594bool ICollection<TKey>.IsReadOnly 755bool ICollection<TValue>.IsReadOnly
System\Collections\Generic\SortedList.cs (3)
365bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly 1016public bool IsReadOnly 1130public bool IsReadOnly
System\Collections\Generic\SortedSet.cs (1)
277bool ICollection<T>.IsReadOnly => false;
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1649bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
System.Collections.Immutable (15)
System\Collections\Frozen\FrozenDictionary.cs (1)
415bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true;
System\Collections\Frozen\FrozenSet.cs (1)
296bool ICollection<T>.IsReadOnly => true;
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
183bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableArray_1.cs (1)
42bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
149bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
269bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
92bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
484bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
79bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableList_1.cs (1)
968bool ICollection<T>.IsReadOnly => true;
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
127bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
161bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
85bool ICollection<T>.IsReadOnly
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
708bool ICollection<T>.IsReadOnly
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
44public bool IsReadOnly
System.ComponentModel.Composition (3)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
71public bool IsReadOnly 126public bool IsReadOnly
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
161public bool IsReadOnly
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
100public bool IsReadOnly
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
27public abstract bool IsReadOnly { get; }
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\ActivityTagsCollection.cs (1)
132public bool IsReadOnly => false;
System\Diagnostics\Metrics\TagList.netcore.cs (1)
57public readonly bool IsReadOnly => false;
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
37public bool IsReadOnly => ((IDictionary)_contents).IsReadOnly;
System.DirectoryServices.AccountManagement (2)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (2)
230public bool IsReadOnly { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } } 358public bool IsReadOnly { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
740public bool IsReadOnly => false;
System.Linq (6)
System\Linq\Grouping.cs (1)
401bool ICollection<TElement>.IsReadOnly => true;
System\Linq\Lookup.cs (2)
294bool ICollection<IGrouping<TKey, TElement>>.IsReadOnly => true; 321public bool IsReadOnly => true;
System\Linq\Range.SpeedOpt.cs (1)
105public bool IsReadOnly => true;
System\Linq\Repeat.SpeedOpt.cs (1)
109public bool IsReadOnly => true;
System\Linq\SkipTake.SpeedOpt.cs (1)
189public bool IsReadOnly => true;
System.Linq.AsyncEnumerable (1)
System\Linq\GroupBy.cs (1)
415bool ICollection<TElement>.IsReadOnly => true;
System.Linq.Expressions (6)
System\Dynamic\ExpandoObject.cs (3)
424public bool IsReadOnly => true; 574public bool IsReadOnly => true; 671bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => false;
System\Dynamic\Utils\ListArgumentProvider.cs (1)
113public bool IsReadOnly => true;
System\Linq\Expressions\BlockExpression.cs (1)
786public bool IsReadOnly
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
228bool ICollection<T>.IsReadOnly => false;
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
136bool ICollection<T>.IsReadOnly
System.Net.Http (3)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (1)
43public bool IsReadOnly
System\Net\Http\Headers\ObjectCollection.cs (1)
34public bool IsReadOnly => false;
System\Net\Http\HttpRequestOptions.cs (1)
36bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => ((IDictionary<string, object?>)Options).IsReadOnly;
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
74public bool IsReadOnly => false;
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
35public virtual bool IsReadOnly
System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
29public virtual bool IsReadOnly
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
29public virtual bool IsReadOnly
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
30public virtual bool IsReadOnly
System.Net.Primitives (2)
System\Net\CookieCollection.cs (1)
113public bool IsReadOnly
System\Net\NetworkInformation\IPAddressCollection.cs (1)
27public virtual bool IsReadOnly
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
229bool ICollection<T>.IsReadOnly =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1457bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false; 1928bool ICollection<TKey>.IsReadOnly => true; 2123bool ICollection<TValue>.IsReadOnly => true;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
364bool ICollection<T>.IsReadOnly => false;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
132bool ICollection<T>.IsReadOnly => false;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
159bool ICollection<T>.IsReadOnly => items.IsReadOnly;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
58bool ICollection<T>.IsReadOnly => true;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (3)
83bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => true; 280bool ICollection<TKey>.IsReadOnly => true; 333bool ICollection<TValue>.IsReadOnly => true;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
72bool ICollection<T>.IsReadOnly => true;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
83public bool IsReadOnly => true;
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
63public virtual bool IsReadOnly
System\Xml\Xsl\QIL\QilNode.cs (1)
150public virtual bool IsReadOnly
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
174bool ICollection<T>.IsReadOnly 670bool ICollection<XPathItem>.IsReadOnly
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
25public bool IsReadOnly { get; internal set; }
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
48bool System.Collections.Generic.ICollection<System.Security.Principal.IdentityReference>.IsReadOnly { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } }
System.ServiceModel.Primitives (2)
netstandard.cs (2)
37bool ICollection<T>.IsReadOnly { get { return default; } } 1731bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Object>>.IsReadOnly { get { return default; } }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
303bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Speech.Recognition.SemanticValue>>.IsReadOnly { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } }
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
230bool ICollection<JsonNode?>.IsReadOnly => false;
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
209bool ICollection<KeyValuePair<string, JsonNode?>>.IsReadOnly => false;
System\Text\Json\Serialization\ConfigurationList.cs (1)
24public abstract bool IsReadOnly { get; }
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
28public bool IsReadOnly => true;
System\Text\RegularExpressions\GroupCollection.cs (1)
33public bool IsReadOnly => true;
System\Text\RegularExpressions\MatchCollection.cs (1)
40public bool IsReadOnly => true;
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\NumericUpDownAccelerationCollection.cs (1)
78public bool IsReadOnly
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
28bool ICollection<T>.IsReadOnly => _list.IsReadOnly;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
34public bool IsReadOnly => ((ICollection<T>)_list).IsReadOnly;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
579public bool IsReadOnly => throw new NotImplementedException();
System.Xaml (3)
System\Xaml\NameScope.cs (1)
109public bool IsReadOnly => false;
System\Xaml\NameScopeDictionary.cs (1)
253bool ICollection<KeyValuePair<string, object>>.IsReadOnly
System\Xaml\XamlSchemaContext.cs (1)
1470bool ICollection<T>.IsReadOnly
System.Xaml.Tests (6)
System\Xaml\XamlTypeTests.cs (6)
1822public bool IsReadOnlyIsReadOnly => throw new NotImplementedException(); 3105bool ICollection<object>.IsReadOnly => throw new NotImplementedException(); 3107bool ICollection<int>.IsReadOnly => throw new NotImplementedException(); 3154bool ICollection<KeyValuePair<string, int>>.IsReadOnly => throw new NotImplementedException(); 3156bool ICollection<KeyValuePair<int, string>>.IsReadOnly => throw new NotImplementedException();
183 references to IsReadOnly
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
971if (!_channelSupportingTokenAuthenticatorSpecification.IsReadOnly)
InMemory.FunctionalTests (61)
Http2\Http2ConnectionTests.cs (1)
298public bool IsReadOnly => _innerHeaders.IsReadOnly;
Http2\Http2StreamTests.cs (30)
2311Assert.False(trailers.IsReadOnly); 4747Assert.True(context.Response.Headers.IsReadOnly); 4748Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 4803Assert.True(context.Response.Headers.IsReadOnly); 4804Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 4871Assert.False(context.Response.Headers.IsReadOnly); 4872Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 4921Assert.True(context.Response.Headers.IsReadOnly); 4926Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 4987Assert.True(context.Response.Headers.IsReadOnly); 4988Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5043Assert.True(context.Response.Headers.IsReadOnly); 5047Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5160Assert.False(context.Response.Headers.IsReadOnly); 5166Assert.True(context.Response.Headers.IsReadOnly); 5168Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5236Assert.True(context.Response.Headers.IsReadOnly); 5242Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5311Assert.True(context.Response.Headers.IsReadOnly); 5318Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5382Assert.True(context.Response.Headers.IsReadOnly); 5389Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5451Assert.True(context.Response.Headers.IsReadOnly); 5457Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5533Assert.True(context.Response.Headers.IsReadOnly); 5539Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5615Assert.True(context.Response.Headers.IsReadOnly); 5621Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 5699Assert.True(context.Response.Headers.IsReadOnly); 5705Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly);
Http3\Http3ConnectionTests.cs (1)
833public bool IsReadOnly => _innerHeaders.IsReadOnly;
Http3\Http3StreamTests.cs (29)
1143Assert.True(context.Response.Headers.IsReadOnly); 1144Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1192Assert.True(context.Response.Headers.IsReadOnly); 1193Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1246Assert.False(context.Response.Headers.IsReadOnly); 1247Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1289Assert.True(context.Response.Headers.IsReadOnly); 1294Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1342Assert.True(context.Response.Headers.IsReadOnly); 1343Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1391Assert.True(context.Response.Headers.IsReadOnly); 1395Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1487Assert.False(context.Response.Headers.IsReadOnly); 1493Assert.True(context.Response.Headers.IsReadOnly); 1495Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1544Assert.True(context.Response.Headers.IsReadOnly); 1550Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1600Assert.True(context.Response.Headers.IsReadOnly); 1607Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1658Assert.True(context.Response.Headers.IsReadOnly); 1665Assert.False(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1714Assert.True(context.Response.Headers.IsReadOnly); 1720Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1775Assert.True(context.Response.Headers.IsReadOnly); 1781Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1837Assert.True(context.Response.Headers.IsReadOnly); 1843Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly); 1902Assert.True(context.Response.Headers.IsReadOnly); 1908Assert.True(context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly);
Microsoft.AspNetCore (2)
WebApplication.cs (2)
244if (addresses.IsReadOnly) 246throw new InvalidOperationException($"Changing the URL is not supported because {nameof(IServerAddressesFeature.Addresses)} {nameof(ICollection<string>.IsReadOnly)}.");
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
111get { return Items.IsReadOnly; }
Microsoft.AspNetCore.Hosting (2)
GenericHost\GenericWebHostService.cs (1)
68if (addresses != null && !addresses.IsReadOnly && addresses.Count == 0)
Internal\WebHost.cs (1)
263if (addresses != null && !addresses.IsReadOnly && addresses.Count == 0)
Microsoft.AspNetCore.Http (1)
Internal\ItemsDictionary.cs (1)
113bool ICollection<KeyValuePair<object, object?>>.IsReadOnly => _items?.IsReadOnly ?? false;
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
432var result = ((ICollection<KeyValuePair<string, object?>>)dict).IsReadOnly;
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
21public bool IsReadOnly => ((IDictionary<string, object>)_dictionary).IsReadOnly;
WriteOnceDynamicTestObject.cs (1)
35public bool IsReadOnly => ((IDictionary<string, object>)_dictionary).IsReadOnly;
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
58public bool IsReadOnly => ((IDictionary<object, ValidationStateEntry>)_inner).IsReadOnly;
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Binders\CollectionModelBinder.cs (1)
474if (sourceCollection != null && !targetCollection.IsReadOnly)
ModelBinding\ModelBindingHelper.cs (2)
483if (model is ICollection<T> collection && !collection.IsReadOnly) 566if (model is ICollection<T> collection && !collection.IsReadOnly)
ModelBinding\PropertyValueSetter.cs (1)
61if (source is IEnumerable<TElement> sourceCollection && !targetCollection.IsReadOnly)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
TempDataDictionary.cs (1)
80return ((ICollection<KeyValuePair<string, object?>>)_data).IsReadOnly;
ViewDataDictionary.cs (1)
328get { return _data.IsReadOnly; }
Microsoft.AspNetCore.Owin (2)
DictionaryStringArrayWrapper.cs (1)
34bool ICollection<KeyValuePair<string, string[]>>.IsReadOnly => Inner.IsReadOnly;
DictionaryStringValuesWrapper.cs (1)
79bool ICollection<KeyValuePair<string, StringValues>>.IsReadOnly => Inner.IsReadOnly;
Microsoft.AspNetCore.Razor.Test (1)
TagHelpers\TagHelperAttributeListTest.cs (1)
222var isReadOnly = attributes.IsReadOnly;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ResponseBodyTests.cs (2)
27Assert.True(httpContext.Response.Headers.IsReadOnly); 56Assert.True(httpContext.Response.Headers.IsReadOnly);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Http1\Http1ConnectionTests.cs (1)
1203public bool IsReadOnly => _innerHeaders.IsReadOnly;
HttpRequestHeadersTests.cs (1)
26Assert.False(headers.IsReadOnly);
HttpResponseHeadersTests.cs (1)
50Assert.False(headers.IsReadOnly);
Microsoft.AspNetCore.Shared.Tests (1)
AdaptiveCapacityDictionaryTests.cs (1)
94var result = ((ICollection<KeyValuePair<string, object?>>)dict).IsReadOnly;
Microsoft.Build (1)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
Microsoft.Build.Framework (1)
ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.Build.Tasks.Core (1)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
Microsoft.Build.Utilities.Core (1)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
Microsoft.CodeAnalysis (4)
Collections\UnionCollection.cs (3)
32Debug.Assert(coll1.IsReadOnly && coll2.IsReadOnly); 50Debug.Assert(collections.All(c => selector(c).IsReadOnly));
src\Dependencies\Collections\Internal\ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Internal\ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.CodeAnalysis.Collections.Package (1)
Internal\ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.CodeAnalysis.UnitTests (12)
Collections\IdentifierCollectionTests.cs (1)
80Assert.True(collection.IsReadOnly);
Collections\ImmutableDictionaryBuilderTestBase.cs (1)
123Assert.False(builder.IsReadOnly);
Collections\ImmutableDictionaryTestBase.cs (1)
134Assert.True(dictionary.IsReadOnly);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
297Assert.True(collection.IsReadOnly);
Collections\ImmutableSegmentedHashSetBuilderTest.cs (1)
285Assert.False(builder.IsReadOnly);
Collections\ImmutableSegmentedListBuilderTest.cs (1)
250Assert.False(builder.IsReadOnly);
Collections\ImmutableSegmentedListTest.cs (1)
760Assert.True(list.IsReadOnly);
Collections\ImmutableSetTest.cs (1)
186Assert.True(set.IsReadOnly);
Collections\List\ICollection.Generic.Tests.cs (1)
130Assert.Equal(IsReadOnly_ValidityValue, collection.IsReadOnly);
Collections\List\SegmentedList.Generic.Tests.Constructor.cs (3)
30Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 45Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 71Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly"
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Internal\ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Internal\ICollectionCalls`1.cs (1)
22=> collection.IsReadOnly;
Microsoft.Extensions.AI.Abstractions.Tests (1)
Embeddings\GeneratedEmbeddingsTests.cs (1)
38Assert.False(((ICollection<Embedding<float>>)instance).IsReadOnly);
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
65public bool IsReadOnly => _services.IsReadOnly;
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
50public bool IsReadOnly => ((ICollection<KeyValuePair<T, U>>)Map).IsReadOnly;
Microsoft.Maui (1)
Primitives\LockableObservableListWrapper.cs (1)
53 get { return ((IList<string>)_list).IsReadOnly; }
Microsoft.Maui.Controls (6)
Layout\Layout.cs (1)
55 public bool IsReadOnly => ((ICollection<IView>)_children).IsReadOnly;
LegacyLayouts\LayoutOfT.cs (1)
12 bool ICollection<IView>.IsReadOnly => ((ICollection<IView>)_children).IsReadOnly;
MultiPage.cs (1)
208 if (Children.IsReadOnly)
ReadOnlyCastingList.cs (1)
88 public bool IsReadOnly => _list.IsReadOnly;
ResourceDictionary.cs (1)
185 get { return ((ICollection<KeyValuePair<string, object>>)_innerDictionary).IsReadOnly; }
Shell\MenuItemCollection.cs (1)
24 public bool IsReadOnly => ((IList<MenuItem>)_inner).IsReadOnly;
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
89public bool IsReadOnly => ((ICollection<KeyValuePair<string, OptionBase>>)_options).IsReadOnly;
Parameter.cs (1)
241return (_value as IDictionary<string, Parameter>)?.IsReadOnly ?? false;
SearchSpace.cs (1)
92public bool IsReadOnly => ((ICollection<KeyValuePair<string, OptionBase>>)_options).IsReadOnly;
Microsoft.Net.Http.Headers (1)
ObjectCollection.cs (1)
56public bool IsReadOnly => ((ICollection<T>)this).IsReadOnly;
Microsoft.Net.Http.Headers.Tests (2)
MediaTypeHeaderValueTest.cs (2)
181Assert.False(mediaType0.Parameters.IsReadOnly); 182Assert.True(mediaType1.Parameters.IsReadOnly);
MSBuild (1)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
MSBuildTaskHost (1)
CopyOnWriteDictionary.cs (1)
129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly;
PresentationCore (23)
System\Windows\FreezableCollection.cs (1)
410return ((ICollection<T>)this).IsReadOnly;
System\Windows\Generated\TextDecorationCollection.cs (1)
318return ((ICollection<TextDecoration>)this).IsReadOnly;
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
317return ((ICollection<Timeline>)this).IsReadOnly;
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
74get { return _innerDictionary.IsReadOnly; }
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
317return ((ICollection<BitmapEffect>)this).IsReadOnly;
System\Windows\Media\Generated\DoubleCollection.cs (1)
272return ((ICollection<double>)this).IsReadOnly;
System\Windows\Media\Generated\DrawingCollection.cs (1)
330return ((ICollection<Drawing>)this).IsReadOnly;
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
315return ((ICollection<GeneralTransform>)this).IsReadOnly;
System\Windows\Media\Generated\GeometryCollection.cs (1)
330return ((ICollection<Geometry>)this).IsReadOnly;
System\Windows\Media\Generated\GradientStopCollection.cs (1)
316return ((ICollection<GradientStop>)this).IsReadOnly;
System\Windows\Media\Generated\Int32Collection.cs (1)
271return ((ICollection<int>)this).IsReadOnly;
System\Windows\Media\Generated\PathFigureCollection.cs (1)
321return ((ICollection<PathFigure>)this).IsReadOnly;
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
315return ((ICollection<PathSegment>)this).IsReadOnly;
System\Windows\Media\Generated\PointCollection.cs (1)
271return ((ICollection<Point>)this).IsReadOnly;
System\Windows\Media\Generated\TextEffectCollection.cs (1)
315return ((ICollection<TextEffect>)this).IsReadOnly;
System\Windows\Media\Generated\TransformCollection.cs (1)
330return ((ICollection<Transform>)this).IsReadOnly;
System\Windows\Media\Generated\VectorCollection.cs (1)
271return ((ICollection<Vector>)this).IsReadOnly;
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
315return ((ICollection<GeneralTransform3D>)this).IsReadOnly;
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
330return ((ICollection<Material>)this).IsReadOnly;
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
330return ((ICollection<Model3D>)this).IsReadOnly;
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
272return ((ICollection<Point3D>)this).IsReadOnly;
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
330return ((ICollection<Transform3D>)this).IsReadOnly;
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
272return ((ICollection<Vector3D>)this).IsReadOnly;
PresentationFramework (5)
MS\Internal\Documents\ContentElementCollection.cs (1)
546/// <see cref="ICollection&lt;T&gt;.IsReadOnly"/>
System\Windows\Controls\CustomDictionarySources.cs (1)
181return ((ICollection<Uri>)_uriList).IsReadOnly;
System\Windows\Controls\SelectedCellsChangedEventArgs.cs (2)
48Debug.Assert(_addedCells.IsReadOnly, "_addedCells should have ended up as read-only."); 49Debug.Assert(_removedCells.IsReadOnly, "_removedCells should have ended up as read-only.");
System\Windows\Documents\TableColumnCollection.cs (1)
367/// <see cref="ICollection&lt;T&gt;.IsReadOnly"/>
Shared.Tests (2)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (1)
41Assert.True(dict.IsReadOnly);
EmptyCollections\EmptyReadOnlyListTests.cs (1)
60Assert.True(coll.IsReadOnly);
System.ComponentModel.Composition (2)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (1)
128get { return _collectionOfT.IsReadOnly; }
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (1)
189isReadOnly = collection.IsReadOnly;
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
102get { return ActualMetadata.IsReadOnly; }
System.Net.Http (1)
System\Net\Http\HttpRequestOptions.cs (1)
36bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => ((IDictionary<string, object?>)Options).IsReadOnly;
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (12)
41if (items.IsReadOnly) 57if (items.IsReadOnly) 68if (items.IsReadOnly) 98if (items.IsReadOnly) 113if (items.IsReadOnly) 126if (items.IsReadOnly) 159bool ICollection<T>.IsReadOnly => items.IsReadOnly; 263bool IList.IsReadOnly => items.IsReadOnly; 277return items.IsReadOnly; 283if (items.IsReadOnly) 325if (items.IsReadOnly) 347if (items.IsReadOnly)
System.Private.Xml (3)
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
561Debug.Assert(!args.IsReadOnly, "Writable collection expected");
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2550if (args == null || args.IsReadOnly)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
103Debug.Assert(!args.IsReadOnly, "Writable collection expected");
System.Text.Json (4)
System\Text\Json\Serialization\Converters\Collection\ICollectionOfTConverter.cs (1)
33if (returnValue.IsReadOnly)
System\Text\Json\Serialization\Converters\Collection\IDictionaryOfTKeyTValueConverter.cs (1)
35if (returnValue.IsReadOnly)
System\Text\Json\Serialization\Converters\Collection\IListOfTConverter.cs (1)
33if (returnValue.IsReadOnly)
System\Text\Json\Serialization\Converters\Collection\ISetOfTConverter.cs (1)
30if (returnValue.IsReadOnly)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
34public bool IsReadOnly => ((ICollection<T>)_list).IsReadOnly;