567 references to TraceData
PresentationFramework (567)
MS\Internal\Data\ClrBindingWorker.cs (14)
477
if (
TraceData
.IsEnabled)
482
TraceData
.TraceAndNotify(ParentBindingExpression.TraceLevel,
483
TraceData
.CannotGetClrRawValue(
492
if (
TraceData
.IsEnabled)
496
TraceData
.TraceAndNotify(TraceEventType.Error,
497
TraceData
.CannotSetClrRawValue(
508
if (
TraceData
.IsEnabled)
515
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MissingDataItem, ParentBindingExpression);
525
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MissingInfo, ParentBindingExpression);
533
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NullDataItem, ParentBindingExpression);
780
if (
TraceData
.IsEnabled)
MS\Internal\Data\DefaultValueConverter.cs (5)
330
if (
TraceData
.IsEnabled)
334
TraceData
.TraceAndNotify(TraceEventType.Error,
335
TraceData
.DefaultValueConverterFailedForCulture(
344
TraceData
.TraceAndNotify(TraceEventType.Error,
345
TraceData
.DefaultValueConverterFailed(
MS\Internal\Data\EnumerableCollectionView.cs (3)
582
if (
TraceData
.IsEnabled && !_warningHasBeenRaised)
585
TraceData
.TraceAndNotify(TraceEventType.Warning,
586
TraceData
.CollectionChangedWithoutNotification(SourceCollection.GetType().FullName));
MS\Internal\Data\ObjectRef.cs (24)
152
TraceData
.TraceAndNotify(TraceEventType.Warning,
153
TraceData
.ElementNameQueryTemplate(
155
TraceData
.Identify(d)));
198
TraceData
.TraceAndNotify(TraceEventType.Warning,
199
TraceData
.ElementNameQuery(
201
TraceData
.Identify(fo.DO)));
406
TraceData
.TraceAndNotify(TraceEventType.Warning,
407
TraceData
.RelativeSource(
409
TraceData
.Identify(d)));
516
if (
TraceData
.IsEnabled)
517
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefPreviousNotInContext);
538
if ((j < 0) &&
TraceData
.IsEnabled)
539
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefNoWrapperInChildren);
548
if (
TraceData
.IsEnabled)
549
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefAncestorTypeNotSpecified);
554
if (
TraceData
.IsEnabled)
555
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefAncestorLevelInvalid);
567
TraceData
.TraceAndNotify(TraceEventType.Warning,
568
TraceData
.AncestorLookup(
570
TraceData
.Identify(fo.DO)));
MS\Internal\Data\PropertyPathWorker.cs (60)
317
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
318
TraceData
.GetValue(
319
TraceData
.Identify(_host.ParentBindingExpression),
321
TraceData
.Identify(item),
322
TraceData
.IdentifyAccessor(accessor),
323
TraceData
.Identify(value)),
342
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
343
TraceData
.SetValue(
344
TraceData
.Identify(_host.ParentBindingExpression),
346
TraceData
.Identify(item),
347
TraceData
.IdentifyAccessor(_arySVS[level].info),
348
TraceData
.Identify(value)),
755
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
756
TraceData
.ReplaceItemShort(
757
TraceData
.Identify(_host.ParentBindingExpression),
759
TraceData
.Identify(newO)),
849
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
850
TraceData
.ReplaceItemLong(
851
TraceData
.Identify(_host.ParentBindingExpression),
853
TraceData
.Identify(newO),
854
TraceData
.IdentifyAccessor(svs.info)),
926
if (
TraceData
.IsEnabled)
936
string ps =
TraceData
.DescribeSourceObject(parent);
945
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NullItem(cs, os), bindingExpression);
951
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.PlaceholderItem(cs, os), bindingExpression);
956
TraceData
.TraceAndNotify(traceType,
TraceData
.ClrReplaceItem(cs, ps, os), bindingExpression,
1046
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1047
TraceData
.GetInfo_Reuse(
1048
TraceData
.Identify(_host.ParentBindingExpression),
1050
TraceData
.IdentifyAccessor(svs.info)),
1066
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1067
TraceData
.GetInfo_Null(
1068
TraceData
.Identify(_host.ParentBindingExpression),
1099
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1100
TraceData
.GetInfo_Cache(
1101
TraceData
.Identify(_host.ParentBindingExpression),
1105
TraceData
.IdentifyAccessor(svs.info)),
1127
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1128
TraceData
.GetInfo_Property(
1129
TraceData
.Identify(_host.ParentBindingExpression),
1133
TraceData
.IdentifyAccessor(info)),
1232
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1233
TraceData
.GetInfo_Indexer(
1234
TraceData
.Identify(_host.ParentBindingExpression),
1238
TraceData
.IdentifyAccessor(info)),
1736
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1737
TraceData
.GotEvent(
1738
TraceData
.Identify(_host.ParentBindingExpression),
1740
TraceData
.Identify(sender)),
1751
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1752
TraceData
.GotEvent(
1753
TraceData
.Identify(_host.ParentBindingExpression),
1755
TraceData
.Identify(sender)),
1774
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1775
TraceData
.GotEvent(
1776
TraceData
.Identify(_host.ParentBindingExpression),
1789
return
TraceData
.IsExtendedTraceEnabled(_host.ParentBindingExpression, level);
MS\Internal\Data\XmlBindingWorker.cs (34)
150
if (
TraceData
.IsEnabled)
152
TraceData
.TraceAndNotifyWithNoParameters(traceType,
153
TraceData
.BadXPath(
183
if (_contextNode != value &&
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.ReplaceItem))
185
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
186
TraceData
.XmlContextNode(
187
TraceData
.Identify(ParentBindingExpression),
309
if (ContextNode != CollectionView.CurrentItem &&
TraceData
.IsEnabled)
311
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlBindingToNonXmlCollection, ParentBindingExpression,
319
if (ContextNode != DataItem &&
TraceData
.IsEnabled)
321
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlBindingToNonXml, ParentBindingExpression,
388
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
390
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
391
TraceData
.XmlNewCollection(
392
TraceData
.Identify(ParentBindingExpression),
410
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.Events))
412
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
413
TraceData
.GotEvent(
414
TraceData
.Identify(ParentBindingExpression),
416
TraceData
.Identify(sender)),
471
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
473
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
474
TraceData
.XmlSynchronizeCollection(
475
TraceData
.Identify(ParentBindingExpression),
521
if (
TraceData
.IsEnabled)
523
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.CannotGetXmlNodeCollection, ParentBindingExpression,
529
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
531
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
532
TraceData
.SelectNodes(
533
TraceData
.Identify(ParentBindingExpression),
535
TraceData
.Identify(XPath),
MS\Internal\Helper.cs (6)
316
if (
TraceData
.IsEnabled)
328
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.StyleAndStyleSelectorDefined(name), null,
349
if (
TraceData
.IsEnabled)
355
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.TemplateAndTemplateSelectorDefined(name), null,
MS\Internal\TraceData.cs (3)
81
if (
TraceData
.IsEnabled)
322
TraceData
.TraceAndNotify(eventType, traceDetails, null, parameters, parameters);
347
TraceData
.TraceAndNotify(eventType, traceDetails, binding, null, null);
System\Windows\Controls\DataErrorValidationRule.cs (3)
95
if (
TraceData
.IsEnabled)
97
TraceData
.TraceAndNotify(TraceEventType.Error,
98
TraceData
.DataErrorInfoFailed(
System\Windows\Controls\DataGrid.cs (2)
7250
TraceData
.TraceAndNotify(TraceEventType.Error,
7251
TraceData
.CannotSort(sortPropertyName),
System\Windows\Controls\ItemsControl.cs (3)
1383
if (container == item &&
TraceData
.IsEnabled)
1389
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ItemTemplateForDirectItem, null,
System\Windows\Data\BindingExpression.cs (180)
60
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ShowPath))
67
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
68
TraceData
.BindingPath(
69
TraceData
.Identify(path)),
74
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
75
TraceData
.BindingXPathAndPath(
76
TraceData
.Identify(binding.XPath),
77
TraceData
.Identify(path)),
434
if (converter == null &&
TraceData
.IsEnabled)
436
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Error,
437
TraceData
.CannotCreateDefaultValueConverter(
521
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
523
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
524
TraceData
.UseMentor(
525
TraceData
.Identify(this),
526
TraceData
.Identify(mentor)),
547
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
549
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
550
TraceData
.DeferAttachToContext(
551
TraceData
.Identify(this)),
607
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
608
bool traceObjectRef =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.SourceLookup);
620
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
621
TraceData
.SourceRequiresTreeContext(
622
TraceData
.Identify(this),
635
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
636
TraceData
.AttachToContext(
637
TraceData
.Identify(this),
653
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
654
TraceData
.PathRequiresTreeContext(
655
TraceData
.Identify(this),
670
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
671
TraceData
.NoMentorExtended(
672
TraceData
.Identify(this)),
679
if (
TraceData
.IsEnabled)
681
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoMentor, this);
729
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
730
TraceData
.ContextElement(
731
TraceData
.Identify(this),
732
TraceData
.Identify(contextElement),
743
if (
TraceData
.IsEnabled)
745
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoDataContext, this);
768
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
769
TraceData
.NullDataContext(
770
TraceData
.Identify(this)),
791
if (
TraceData
.IsEnabled)
793
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.NoSource(sourceRef), this);
899
if (
TraceData
.IsEnabled)
901
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoMentor, this);
918
if (
TraceData
.IsEnabled)
920
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoDataContext, this);
948
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate);
966
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
967
TraceData
.UseCVS(
968
TraceData
.Identify(this),
969
TraceData
.Identify(cvs)),
984
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
985
TraceData
.ActivateItem(
986
TraceData
.Identify(this),
987
TraceData
.Identify(item)),
1103
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1105
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1106
TraceData
.Deactivate(
1107
TraceData
.Identify(this)),
1160
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1162
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1163
TraceData
.UseDataProvider(
1164
TraceData
.Identify(this),
1165
TraceData
.Identify(newDataProvider)),
1267
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1285
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1286
TraceData
.GetRawValue(
1287
TraceData
.Identify(this),
1288
TraceData
.Identify(value)),
1314
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1315
TraceData
.UserConverter(
1316
TraceData
.Identify(this),
1317
TraceData
.Identify(value)),
1359
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1360
TraceData
.NullConverter(
1361
TraceData
.Identify(this),
1362
TraceData
.Identify(value)),
1385
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1386
TraceData
.ConvertDBNull(
1387
TraceData
.Identify(this),
1388
TraceData
.Identify(value)),
1407
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1408
TraceData
.DefaultConverter(
1409
TraceData
.Identify(this),
1410
TraceData
.Identify(value)),
1436
if (
TraceData
.IsEnabled && !IsInBindingExpressionCollection)
1438
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.BadValueAtTransfer, this,
1444
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1445
TraceData
.BadValueAtTransferExtended(
1446
TraceData
.Identify(this),
1447
TraceData
.Identify(value)),
1466
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1467
TraceData
.UseFallback(
1468
TraceData
.Identify(this),
1469
TraceData
.Identify(value)),
1483
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1484
TraceData
.TransferValue(
1485
TraceData
.Identify(this),
1486
TraceData
.Identify(value)),
1609
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1611
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1612
TraceData
.ValidationRuleFailed(
1613
TraceData
.Identify(this),
1614
TraceData
.Identify(validationRule)),
1661
if (
TraceData
.IsEnabled)
1664
TraceData
.TraceAndNotify(TraceLevel,
1665
TraceData
.BadConverterForTransfer(
1675
if (
TraceData
.IsEnabled)
1677
TraceData
.TraceAndNotify(TraceLevel,
1678
TraceData
.BadConverterForTransfer(
1726
if (
TraceData
.IsEnabled)
1728
TraceData
.TraceAndNotify(TraceEventType.Error,
1729
TraceData
.BadConverterForUpdate(
1740
if (
TraceData
.IsEnabled)
1742
TraceData
.TraceAndNotify(TraceEventType.Error,
1743
TraceData
.BadConverterForUpdate(
1842
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update);
1845
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1846
TraceData
.UpdateRawValue(
1847
TraceData
.Identify(this),
1848
TraceData
.Identify(value)),
1874
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1875
TraceData
.UserConvertBack(
1876
TraceData
.Identify(this),
1877
TraceData
.Identify(value)),
1923
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1924
TraceData
.DefaultConvertBack(
1925
TraceData
.Identify(this),
1926
TraceData
.Identify(value)),
1934
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1935
TraceData
.Update(
1936
TraceData
.Identify(this),
1937
TraceData
.Identify(value)),
2021
if (
TraceData
.IsEnabled)
2022
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this, ex);
2030
if (
TraceData
.IsEnabled)
2031
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this);
2441
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2443
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2444
TraceData
.GotEvent(
2445
TraceData
.Identify(this),
2447
TraceData
.Identify(sender)),
2456
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2458
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2459
TraceData
.GotEvent(
2460
TraceData
.Identify(this),
2462
TraceData
.Identify(sender)),
2472
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2474
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2475
TraceData
.GotEvent(
2476
TraceData
.Identify(this),
2478
TraceData
.Identify(sender)),
2486
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2488
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2489
TraceData
.GotEvent(
2490
TraceData
.Identify(this),
2492
TraceData
.Identify(sender)),
2519
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2521
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2522
TraceData
.GotEvent(
2523
TraceData
.Identify(this),
2525
TraceData
.Identify(sender)),
2650
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2652
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2653
TraceData
.GotPropertyChanged(
2654
TraceData
.Identify(this),
2655
TraceData
.Identify(d),
System\Windows\Data\BindingExpressionBase.cs (56)
151
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.CreateExpression))
155
TraceData
.TraceAndNotify(TraceEventType.Warning,
156
TraceData
.CreatedExpression(
157
TraceData
.Identify(this),
158
TraceData
.Identify(binding)),
163
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
164
TraceData
.CreatedExpressionInParent(
165
TraceData
.Identify(this),
166
TraceData
.Identify(binding),
167
TraceData
.Identify(parent)),
932
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
934
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
935
TraceData
.AttachExpression(
936
TraceData
.Identify(this),
968
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
970
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
971
TraceData
.DetachExpression(
972
TraceData
.Identify(this)),
1187
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1189
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1190
TraceData
.ValidationRuleFailed(
1191
TraceData
.Identify(this),
1192
TraceData
.Identify(validationRule)),
1272
if (
TraceData
.IsEnabled)
1274
TraceData
.TraceAndNotify(TraceEventType.Critical,
TraceData
.RequiresExplicitCulture, this,
1577
if (
TraceData
.IsEnabled)
1579
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NoValueToTransfer, this);
1761
if (bgCandidate.SharesProposedValues &&
TraceData
.IsEnabled)
1763
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1764
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1765
TraceData
.Identify(this),
1767
TraceData
.Identify(bgCandidate)),
1779
if (
TraceData
.IsEnabled)
1781
TraceData
.TraceAndNotify(TraceEventType.Error,
1782
TraceData
.BindingGroupNameMatchFailed(groupName),
1830
if (bg.SharesProposedValues &&
TraceData
.IsEnabled)
1832
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1833
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1834
TraceData
.Identify(root),
1836
TraceData
.Identify(bg)),
2134
if (
TraceData
.IsEnabled)
2136
TraceData
.TraceAndNotify(TraceEventType.Error,
2137
TraceData
.FallbackConversionFailed(
2160
if (
TraceData
.IsEnabled)
2162
TraceData
.TraceAndNotify(TraceEventType.Error,
2163
TraceData
.TargetNullValueConversionFailed(
2513
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2515
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2516
TraceData
.ResolveDefaultMode(
2517
TraceData
.Identify(this),
2533
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2535
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2536
TraceData
.ResolveDefaultUpdate(
2537
TraceData
.Identify(this),
System\Windows\Data\BindingGroup.cs (6)
576
TraceData
.IsEnabled)
579
TraceData
.TraceAndNotify(TraceEventType.Warning,
580
TraceData
.BindingGroupWrongProperty(name, context.GetType().FullName));
611
if (_hasMultipleInheritanceContexts && property != ItemsControl.ItemBindingGroupProperty &&
TraceData
.IsEnabled)
613
TraceData
.TraceAndNotify(TraceEventType.Warning,
614
TraceData
.BindingGroupMultipleInheritance);
System\Windows\Data\CollectionView.cs (3)
70
if (
TraceData
.IsEnabled)
72
TraceData
.TraceAndNotify(TraceEventType.Warning,
73
TraceData
.CollectionViewIsUnsupported);
System\Windows\Data\MultiBindingExpression.cs (80)
180
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
183
if (_converter == null && String.IsNullOrEmpty(EffectiveStringFormat) &&
TraceData
.IsEnabled)
185
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiBindingHasNoConverter, this,
191
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
192
TraceData
.AttachToContext(
193
TraceData
.Identify(this),
213
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
214
TraceData
.ChildNotAttached(
215
TraceData
.Identify(this)),
375
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
377
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
378
TraceData
.DeferAttachToContext(
379
TraceData
.Identify(this)),
523
if (
TraceData
.IsEnabled)
525
TraceData
.TraceAndNotify(TraceEventType.Error,
526
TraceData
.BadMultiConverterForUpdate(
537
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
541
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
542
TraceData
.UserConvertBackMulti(
543
TraceData
.Identify(this),
545
TraceData
.Identify(values[i])),
552
if (values.Length != count &&
TraceData
.IsEnabled)
554
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MultiValueConverterMismatch, this,
555
traceParameters: new object[] { Converter.GetType().Name, count, values.Length,
TraceData
.DescribeTarget(target, TargetProperty) });
581
else if (value == DependencyProperty.UnsetValue &&
TraceData
.IsEnabled)
583
TraceData
.TraceAndNotify(TraceEventType.Information,
584
TraceData
.UnsetValueInMultiBindingExpressionUpdate(
610
if (
TraceData
.IsEnabled)
612
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForUpdate, this);
1014
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1016
TraceData
.TraceAndNotify(TraceEventType.Warning,
1017
TraceData
.GotPropertyChanged(
1018
TraceData
.Identify(this),
1019
TraceData
.Identify(d),
1087
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1089
TraceData
.TraceAndNotify(TraceEventType.Warning,
1090
TraceData
.GotEvent(
1091
TraceData
.Identify(this),
1093
TraceData
.Identify(sender)));
1147
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1161
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1162
TraceData
.GetRawValueMulti(
1163
TraceData
.Identify(this),
1165
TraceData
.Identify(_tempValues[i])),
1184
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1185
TraceData
.UserConverter(
1186
TraceData
.Identify(this),
1187
TraceData
.Identify(preFormattedValue)),
1206
if (
TraceData
.IsEnabled)
1208
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForTransfer, this);
1237
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1238
TraceData
.FormattedValue(
1239
TraceData
.Identify(this),
1240
TraceData
.Identify(value)),
1251
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1252
TraceData
.FormattingFailed(
1253
TraceData
.Identify(this),
1281
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1282
TraceData
.NullConverter(
1283
TraceData
.Identify(this),
1284
TraceData
.Identify(value)),
1292
if (
TraceData
.IsEnabled)
1294
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.BadValueAtTransfer, this,
1300
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1301
TraceData
.BadValueAtTransferExtended(
1302
TraceData
.Identify(this),
1303
TraceData
.Identify(value)),
1317
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1318
TraceData
.UseFallback(
1319
TraceData
.Identify(this),
1320
TraceData
.Identify(value)),
1327
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1328
TraceData
.TransferValue(
1329
TraceData
.Identify(this),
1330
TraceData
.Identify(value)),
System\Windows\Data\ObjectDataProvider.cs (19)
289
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
291
TraceData
.TraceAndNotify(TraceEventType.Warning,
292
TraceData
.BeginQuery(
293
TraceData
.Identify(this),
382
if (
TraceData
.IsEnabled)
383
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjectDataProviderHasNoSource);
421
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
423
TraceData
.TraceAndNotify(TraceEventType.Warning,
424
TraceData
.QueryFinished(
425
TraceData
.Identify(this),
427
TraceData
.Identify(data),
428
TraceData
.IdentifyException(e)));
498
if (
TraceData
.IsEnabled)
500
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjDPCreateFailed, null,
588
if (
TraceData
.IsEnabled)
590
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjDPInvokeFailed, null,
System\Windows\Data\PriorityBindingExpression.cs (11)
251
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer))
253
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
254
TraceData
.PriorityTransfer(
255
TraceData
.Identify(this),
256
TraceData
.Identify(newValue),
258
TraceData
.Identify(bindExpr)),
571
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
573
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
574
TraceData
.GotPropertyChanged(
575
TraceData
.Identify(this),
576
TraceData
.Identify(d),
System\Windows\Data\XmlDataProvider.cs (55)
269
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
271
TraceData
.TraceAndNotify(TraceEventType.Warning,
272
TraceData
.BeginQuery(
273
TraceData
.Identify(this),
475
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider))
477
TraceData
.TraceAndNotify(TraceEventType.Warning,
478
TraceData
.XmlLoadInline(
479
TraceData
.Identify(this),
488
if (
TraceData
.IsEnabled)
489
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPInlineDocError, xmle);
512
if (
TraceData
.IsEnabled)
517
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlNamespaceNotSet);
529
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
531
TraceData
.TraceAndNotify(TraceEventType.Warning,
532
TraceData
.QueryFinished(
533
TraceData
.Identify(this),
535
TraceData
.Identify(null),
536
TraceData
.IdentifyException(ex)),
556
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider);
565
TraceData
.TraceAndNotify(TraceEventType.Warning,
566
TraceData
.XmlLoadSource(
567
TraceData
.Identify(this),
569
TraceData
.Identify(request.RequestUri.ToString())));
583
TraceData
.TraceAndNotify(TraceEventType.Warning,
584
TraceData
.XmlLoadDoc(
585
TraceData
.Identify(this)));
599
if (
TraceData
.IsEnabled)
601
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPAsyncDocError, null,
614
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
616
TraceData
.TraceAndNotify(TraceEventType.Warning,
617
TraceData
.QueryFinished(
618
TraceData
.Identify(this),
620
TraceData
.Identify(null),
621
TraceData
.IdentifyException(ex)),
650
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlBuildCollection))
652
TraceData
.TraceAndNotify(TraceEventType.Warning,
653
TraceData
.XmlBuildCollection(
654
TraceData
.Identify(this)));
668
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
670
TraceData
.TraceAndNotify(TraceEventType.Warning,
671
TraceData
.QueryFinished(
672
TraceData
.Identify(this),
674
TraceData
.Identify(collection),
675
TraceData
.IdentifyException(null)));
685
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
687
TraceData
.TraceAndNotify(TraceEventType.Warning,
688
TraceData
.QueryResult(
689
TraceData
.Identify(this),
690
TraceData
.Identify(Data)));
787
if (
TraceData
.IsEnabled)
788
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPSelectNodesFailed, null,