67 implementations of IsReadOnly
Microsoft.Build (3)
Collections\ArrayDictionary.cs (1)
86public bool IsReadOnly => true;
CopyOnWriteDictionary.cs (1)
139bool IDictionary.IsReadOnly => IsReadOnly;
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
100public bool IsReadOnly => false;
Microsoft.Build.Framework (3)
ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
ImmutableSegmentedDictionary`2+Builder.cs (1)
76bool IDictionary.IsReadOnly => false;
SegmentedDictionary`2.cs (1)
1011bool IDictionary.IsReadOnly => false;
Microsoft.Build.Tasks.Core (2)
CopyOnWriteDictionary.cs (1)
139bool IDictionary.IsReadOnly => IsReadOnly;
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (1)
139bool IDictionary.IsReadOnly => IsReadOnly;
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
53bool IDictionary.IsReadOnly => IDictionaryCalls.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
74readonly bool IDictionary.IsReadOnly => false;
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
1045bool IDictionary.IsReadOnly => false;
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
53bool IDictionary.IsReadOnly => IDictionaryCalls.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
74readonly bool IDictionary.IsReadOnly => false;
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
1045bool IDictionary.IsReadOnly => false;
Microsoft.CodeAnalysis.Collections.Package (4)
ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
ImmutableSegmentedDictionary`2+Builder.cs (1)
53bool IDictionary.IsReadOnly => IDictionaryCalls.IsReadOnly(ref _builder);
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
74readonly bool IDictionary.IsReadOnly => false;
SegmentedDictionary`2.cs (1)
1045bool IDictionary.IsReadOnly => false;
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
390public bool IsReadOnly
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
53bool IDictionary.IsReadOnly => IDictionaryCalls.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
74readonly bool IDictionary.IsReadOnly => false;
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
1045bool IDictionary.IsReadOnly => false;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
110bool IDictionary.IsReadOnly => true;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
53bool IDictionary.IsReadOnly => IDictionaryCalls.IsReadOnly(ref _builder);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
74readonly bool IDictionary.IsReadOnly => false;
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
1045bool IDictionary.IsReadOnly => false;
MSBuild (2)
CopyOnWriteDictionary.cs (1)
139bool IDictionary.IsReadOnly => IsReadOnly;
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
MSBuildTaskHost (3)
CopyOnWriteDictionary.cs (1)
139bool IDictionary.IsReadOnly => IsReadOnly;
Immutable\ImmutableDictionary.cs (1)
51public bool IsReadOnly => true;
ReadOnlyEmptyDictionary.cs (1)
65public bool IsReadOnly
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
448public bool IsReadOnly
PresentationCore (2)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
75public bool IsReadOnly
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
72public bool IsReadOnly
PresentationFramework (3)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
166public bool IsReadOnly
System\Windows\Markup\XmlnsDictionary.cs (1)
448public bool IsReadOnly
System\Windows\ResourceDictionary.cs (1)
339public bool IsReadOnly
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
249bool IDictionary.IsReadOnly => false;
System\Collections\Generic\SortedDictionary.cs (1)
281bool IDictionary.IsReadOnly
System\Collections\Generic\SortedList.cs (1)
370bool IDictionary.IsReadOnly
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1762bool IDictionary.IsReadOnly => false;
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
418bool IDictionary.IsReadOnly => true;
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
218bool IDictionary.IsReadOnly
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
639bool IDictionary.IsReadOnly
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
229bool IDictionary.IsReadOnly
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
551bool IDictionary.IsReadOnly
System.Collections.NonGeneric (2)
System\Collections\DictionaryBase.cs (1)
34bool IDictionary.IsReadOnly
System\Collections\SortedList.cs (1)
262public virtual bool IsReadOnly
System.Collections.Specialized (3)
System\Collections\Specialized\HybridDictionary.cs (1)
179public bool IsReadOnly
System\Collections\Specialized\ListDictionary.cs (1)
117public bool IsReadOnly
System\Collections\Specialized\OrderedDictionary.cs (1)
107public bool IsReadOnly
System.ComponentModel.TypeConverter (1)
System\ComponentModel\PropertyDescriptorCollection.cs (1)
438bool IDictionary.IsReadOnly => _readOnly;
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
200public bool IsReadOnly
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
37public bool IsReadOnly => ((IDictionary)_contents).IsReadOnly;
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
374bool System.Collections.IDictionary.IsReadOnly { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } }
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1637bool IDictionary.IsReadOnly => false;
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
777public virtual bool IsReadOnly => false;
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (1)
87public bool IsReadOnly => false;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
143bool IDictionary.IsReadOnly => true;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
96public bool IsReadOnly => true;
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3261public bool IsReadOnly => throw new NotImplementedException();
21 references to IsReadOnly
Microsoft.CodeAnalysis (2)
InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
27=> dictionary.IsReadOnly;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
27=> dictionary.IsReadOnly;
Microsoft.CodeAnalysis.Collections.Package (1)
Internal\IDictionaryCalls.cs (1)
27=> dictionary.IsReadOnly;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableDictionaryBuilderTestBase.cs (1)
189Assert.False(dictionary.IsReadOnly);
Collections\ImmutableDictionaryTestBase.cs (1)
177Assert.True(dictionary.IsReadOnly);
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
27=> dictionary.IsReadOnly;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
275if (!exception.Data.IsReadOnly)
src\Dependencies\Collections\Internal\IDictionaryCalls.cs (1)
27=> dictionary.IsReadOnly;
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
37public bool IsReadOnly => ((IDictionary)_contents).IsReadOnly;
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
35if (returnValue.IsReadOnly)
System.Threading.Tasks.Dataflow (1)
Internal\Common.cs (1)
280if (data != null && !data.IsFixedSize && !data.IsReadOnly && data[key] == null)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2172if (((IDictionary)props).IsReadOnly)
System.Windows.Forms.Design.Tests (3)
System\Drawing\Design\ToolboxItemTests.cs (3)
34Assert.False(item.Properties.IsReadOnly); 1454Assert.True(item.Properties.IsReadOnly); 1460Assert.True(item.Properties.IsReadOnly);