10 references to WrongSelectionType
PresentationFramework (10)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
449throw new ArgumentException(SR.WrongSelectionType, $"selection: type={selection.GetType()}"); 455throw new ArgumentException(SR.WrongSelectionType, $"selection: type={selection.GetType()}"); 475throw new ArgumentException(SR.WrongSelectionType, $"selection: type={selection.GetType()}");
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
72throw new ArgumentException(SR.WrongSelectionType, $"anchor1: type = {anchor1.GetType()}"); 75throw new ArgumentException(SR.WrongSelectionType, $"Anchor2: type = {anchor2.GetType()}"); 228throw new ArgumentException(SR.WrongSelectionType, nameof(selection)); 370throw new ArgumentException(SR.WrongSelectionType, nameof(selection));
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
135throw new ArgumentException(SR.WrongSelectionType, nameof(selection));
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (2)
97throw new ArgumentException(SR.WrongSelectionType, nameof(selection)); 117throw new ArgumentException(SR.WrongSelectionType, nameof(selection));