11 references to GetNameForExceptionMessage
Microsoft.VisualStudio.IntegrationTest.Utilities (11)
AutomationElementExtensions.cs (11)
52throw new InvalidOperationException($"Could not find item with Automation ID '{automationId}' under '{parent.GetNameForExceptionMessage()}'."); 77throw new InvalidOperationException($"Could not find item with name '{name}' under '{parent.GetNameForExceptionMessage()}'."); 102throw new InvalidOperationException($"Could not find item with class '{className}' under '{parent.GetNameForExceptionMessage()}'."); 147throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the InvokePattern."); 167throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the ExpandCollapsePattern."); 187throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the ExpandCollapsePattern."); 207throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the SelectionItemPattern."); 227throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the ValuePattern."); 247throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the ValuePattern."); 325throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the TogglePattern."); 345throw new InvalidOperationException($"The element '{element.GetNameForExceptionMessage()}' does not support the TogglePattern.");