1 instantiation of SourceInfo
Microsoft.Maui (1)
VisualDiagnostics\VisualDiagnostics.cs (1)
26 sourceInfos.AddOrUpdate(target, new SourceInfo(uri, lineNumber, linePosition));
16 references to SourceInfo
Microsoft.Maui (6)
VisualDiagnostics\SourceInfo.cs (2)
16 /// Initializes a new instance of the <see cref="SourceInfo"/> class. 33 /// Deconstructs a given <see cref="SourceInfo"/> back to its URI and line numbers.
VisualDiagnostics\VisualDiagnostics.cs (4)
15 static ConditionalWeakTable<object, SourceInfo> sourceInfos = new ConditionalWeakTable<object, SourceInfo>(); 39 public static SourceInfo? GetSourceInfo(object obj) => 40 sourceInfos.TryGetValue(obj, out var sourceinfo) ? sourceinfo : null;
Microsoft.Maui.Controls (10)
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\BindingErrorEventArgs.cs (3)
12 internal BindingBaseErrorEventArgs(SourceInfo xamlSourceInfo, BindingBase binding, string errorCode, string message, object[] messageArgs) 22 public SourceInfo XamlSourceInfo { get; } 37 SourceInfo xamlSourceInfo,