2 references to IsAncestorOrSelfOfType
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (2)
59
|| !
IsAncestorOrSelfOfType
(objectType, "System.Windows.Forms.Control"))
80
||
IsAncestorOrSelfOfType
(type.BaseType, typeName));