24 references to VisualDiagnostics
PresentationCore (17)
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (3)
118
EventHandler<VisualTreeChangeEventArgs> visualTreeChanged =
VisualDiagnostics
.s_visualTreeChanged;
125
index =
VisualDiagnostics
.GetChildIndex(parent, child);
282
throw new InvalidOperationException(SR.Get(SRID.MethodCallNotAllowed, nameof(
VisualDiagnostics
.EnableVisualTreeChanged)));
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (2)
61
if (
VisualDiagnostics
.IsEnabled &&
62
VisualDiagnostics
.IsEnvironmentVariableSet(value, "ENABLE_XAML_DIAGNOSTICS_SOURCE_INFO") &&
Core\CSharp\System\Windows\Media\Visual.cs (4)
2627
VisualDiagnostics
.VerifyVisualTreeChange(this);
2672
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
2696
VisualDiagnostics
.VerifyVisualTreeChange(this);
2698
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (4)
342
VisualDiagnostics
.VerifyVisualTreeChange(this);
376
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
393
VisualDiagnostics
.VerifyVisualTreeChange(this);
398
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
Core\CSharp\System\Windows\Media3D\Visual3D.cs (4)
252
VisualDiagnostics
.VerifyVisualTreeChange(this);
281
VisualDiagnostics
.OnVisualChildChanged(this, child, true);
306
VisualDiagnostics
.VerifyVisualTreeChange(this);
308
VisualDiagnostics
.OnVisualChildChanged(this, child, false);
PresentationFramework (7)
src\Framework\System\Windows\FrameworkContentElement.cs (1)
709
VisualDiagnostics
.VerifyVisualTreeChange(this);
src\Framework\System\Windows\FrameworkElement.cs (1)
2071
VisualDiagnostics
.VerifyVisualTreeChange(this);
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (1)
323
VisualDiagnostics
.VerifyVisualTreeChange(this);
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
323
VisualDiagnostics
.VerifyVisualTreeChange(this);
src\Framework\System\Windows\ResourceDictionary.cs (3)
640
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
700
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);
831
System.Windows.Diagnostics.
VisualDiagnostics
.VerifyVisualTreeChange(InheritanceContext);