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