10 references to GetSourceInfo
Microsoft.Maui.Controls (9)
AppThemeBinding.cs (1)
55 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info)
Binding.cs (1)
174 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info)
MultiBinding.cs (1)
73 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info)
TemplateBinding.cs (1)
104 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info)
VisualStateManager.cs (3)
521 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info) 635 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(this) is SourceInfo info) 702 if (VisualDiagnostics.IsEnabled && VisualDiagnostics.GetSourceInfo(groups) is SourceInfo info)
Xaml\Diagnostics\BindingDiagnostics.cs (2)
19 BindingFailed?.Invoke(null, new BindingBaseErrorEventArgs(VisualDiagnostics.GetSourceInfo(binding), binding, errorCode, message, messageArgs)); 25 BindingFailed?.Invoke(null, new BindingErrorEventArgs(VisualDiagnostics.GetSourceInfo(binding), binding, source, bo, bp, errorCode, message, messageArgs));
Microsoft.Maui.Controls.Xaml (1)
ApplyPropertiesVisitor.cs (1)
375 if (VisualDiagnostics.GetSourceInfo(target) != null)