2 types derived from ReadOnlyObservableCollection
Microsoft.Maui.Controls (1)
Shell\ShellFlyoutItemsManager.cs (1)
235 class ReadOnlyObservableCollectionWithSource<T> : ReadOnlyObservableCollection<T>
PresentationFramework (1)
MS\Internal\Data\XmlDataCollection.cs (1)
22internal class XmlDataCollection : ReadOnlyObservableCollection<XmlNode>
5 instantiations of ReadOnlyObservableCollection
PresentationFramework (4)
MS\Internal\Controls\ValidationErrorCollection.cs (1)
33new ReadOnlyObservableCollection<ValidationError>(new ValidationErrorCollection());
MS\Internal\Data\XDeferredAxisSource.cs (1)
121_rooc = new ReadOnlyObservableCollection<object>(_dc);
System\Windows\Controls\Validation.cs (1)
108d.SetValue(ErrorsPropertyKey, new ReadOnlyObservableCollection<ValidationError>(newErrors));
System\Windows\Data\CollectionViewGroup.cs (1)
36_itemsRO = new ReadOnlyObservableCollection<object>(_itemsRW);
System.ObjectModel (1)
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (1)
34public static new ReadOnlyObservableCollection<T> Empty { get; } = new ReadOnlyObservableCollection<T>(new ObservableCollection<T>());
26 references to ReadOnlyObservableCollection
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
267if (type.Name is nameof(ObservableCollection<int>) or nameof(ReadOnlyObservableCollection<int>))
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
267if (type.Name is nameof(ObservableCollection<int>) or nameof(ReadOnlyObservableCollection<int>))
Microsoft.VisualStudio.LanguageServices (1)
DebuggerIntelliSense\DebuggerTextView.HACK_CompletionSession.cs (1)
91public ReadOnlyObservableCollection<CompletionSet> CompletionSets
netstandard (1)
netstandard.cs (1)
151[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.ObjectModel.ReadOnlyObservableCollection<>))]
PresentationFramework (16)
MS\Internal\Controls\ValidationErrorCollection.cs (1)
32public static readonly ReadOnlyObservableCollection<ValidationError> Empty =
MS\Internal\Data\CollectionViewProxy.cs (1)
163public override ReadOnlyObservableCollection<object> Groups
MS\Internal\Data\EnumerableCollectionView.cs (1)
173public override ReadOnlyObservableCollection<object> Groups
MS\Internal\Data\XDeferredAxisSource.cs (2)
127public ReadOnlyObservableCollection<object> Collection { get { return _rooc; } } 131ReadOnlyObservableCollection<object> _rooc; // wrapper around the DC
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
368private static int FindPositionInGroup(ReadOnlyObservableCollection<object> collection, int position, out int sizeOfGroup) 371ReadOnlyObservableCollection<object> newCollection = null;
System\Windows\Controls\ItemCollection.cs (1)
698public override ReadOnlyObservableCollection<object> Groups
System\Windows\Controls\Validation.cs (3)
63typeof(ReadOnlyObservableCollection<ValidationError>), typeof(Validation), 83public static ReadOnlyObservableCollection<ValidationError> GetErrors(DependencyObject element) 87return (ReadOnlyObservableCollection<ValidationError>) element.GetValue(ErrorsProperty);
System\Windows\Data\BindingListCollectionView.cs (1)
350public override ReadOnlyObservableCollection<object> Groups
System\Windows\Data\CollectionView.cs (1)
293public virtual ReadOnlyObservableCollection<object> Groups
System\Windows\Data\CollectionViewGroup.cs (2)
62public ReadOnlyObservableCollection<object> Items 159ReadOnlyObservableCollection<object> _itemsRO;
System\Windows\Data\ListCollectionView.cs (1)
253public override ReadOnlyObservableCollection<object> Groups
System (1)
src\libraries\shims\System\ref\System.cs (1)
143[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.ObjectModel.ReadOnlyObservableCollection<>))]
System.ObjectModel (3)
System\Collections\ObjectModel\ReadOnlyObservableCollection.cs (3)
31/// <summary>Gets an empty <see cref="ReadOnlyObservableCollection{T}"/>.</summary> 32/// <value>An empty <see cref="ReadOnlyObservableCollection{T}"/>.</value> 34public static new ReadOnlyObservableCollection<T> Empty { get; } = new ReadOnlyObservableCollection<T>(new ObservableCollection<T>());
System.Windows (1)
System.Windows.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.ObjectModel.ReadOnlyObservableCollection<>))]
WindowsBase (1)
WindowsBase.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.ObjectModel.ReadOnlyObservableCollection<>))]