567 references to TraceData
PresentationFramework (567)
MS\Internal\Data\ClrBindingWorker.cs (14)
486
if (
TraceData
.IsEnabled)
491
TraceData
.TraceAndNotify(ParentBindingExpression.TraceLevel,
492
TraceData
.CannotGetClrRawValue(
501
if (
TraceData
.IsEnabled)
505
TraceData
.TraceAndNotify(TraceEventType.Error,
506
TraceData
.CannotSetClrRawValue(
517
if (
TraceData
.IsEnabled)
524
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MissingDataItem, ParentBindingExpression);
534
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MissingInfo, ParentBindingExpression);
542
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NullDataItem, ParentBindingExpression);
789
if (
TraceData
.IsEnabled)
MS\Internal\Data\DefaultValueConverter.cs (5)
334
if (
TraceData
.IsEnabled)
338
TraceData
.TraceAndNotify(TraceEventType.Error,
339
TraceData
.DefaultValueConverterFailedForCulture(
348
TraceData
.TraceAndNotify(TraceEventType.Error,
349
TraceData
.DefaultValueConverterFailed(
MS\Internal\Data\EnumerableCollectionView.cs (3)
586
if (
TraceData
.IsEnabled && !_warningHasBeenRaised)
589
TraceData
.TraceAndNotify(TraceEventType.Warning,
590
TraceData
.CollectionChangedWithoutNotification(SourceCollection.GetType().FullName));
MS\Internal\Data\ObjectRef.cs (24)
158
TraceData
.TraceAndNotify(TraceEventType.Warning,
159
TraceData
.ElementNameQueryTemplate(
161
TraceData
.Identify(d)));
204
TraceData
.TraceAndNotify(TraceEventType.Warning,
205
TraceData
.ElementNameQuery(
207
TraceData
.Identify(fo.DO)));
412
TraceData
.TraceAndNotify(TraceEventType.Warning,
413
TraceData
.RelativeSource(
415
TraceData
.Identify(d)));
522
if (
TraceData
.IsEnabled)
523
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefPreviousNotInContext);
544
if ((j < 0) &&
TraceData
.IsEnabled)
545
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefNoWrapperInChildren);
554
if (
TraceData
.IsEnabled)
555
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefAncestorTypeNotSpecified);
560
if (
TraceData
.IsEnabled)
561
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.RefAncestorLevelInvalid);
573
TraceData
.TraceAndNotify(TraceEventType.Warning,
574
TraceData
.AncestorLookup(
576
TraceData
.Identify(fo.DO)));
MS\Internal\Data\PropertyPathWorker.cs (60)
323
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
324
TraceData
.GetValue(
325
TraceData
.Identify(_host.ParentBindingExpression),
327
TraceData
.Identify(item),
328
TraceData
.IdentifyAccessor(accessor),
329
TraceData
.Identify(value)),
348
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
349
TraceData
.SetValue(
350
TraceData
.Identify(_host.ParentBindingExpression),
352
TraceData
.Identify(item),
353
TraceData
.IdentifyAccessor(_arySVS[level].info),
354
TraceData
.Identify(value)),
761
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
762
TraceData
.ReplaceItemShort(
763
TraceData
.Identify(_host.ParentBindingExpression),
765
TraceData
.Identify(newO)),
855
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
856
TraceData
.ReplaceItemLong(
857
TraceData
.Identify(_host.ParentBindingExpression),
859
TraceData
.Identify(newO),
860
TraceData
.IdentifyAccessor(svs.info)),
932
if (
TraceData
.IsEnabled)
942
string ps =
TraceData
.DescribeSourceObject(parent);
951
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NullItem(cs, os), bindingExpression);
957
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.PlaceholderItem(cs, os), bindingExpression);
962
TraceData
.TraceAndNotify(traceType,
TraceData
.ClrReplaceItem(cs, ps, os), bindingExpression,
1052
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1053
TraceData
.GetInfo_Reuse(
1054
TraceData
.Identify(_host.ParentBindingExpression),
1056
TraceData
.IdentifyAccessor(svs.info)),
1072
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1073
TraceData
.GetInfo_Null(
1074
TraceData
.Identify(_host.ParentBindingExpression),
1105
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1106
TraceData
.GetInfo_Cache(
1107
TraceData
.Identify(_host.ParentBindingExpression),
1111
TraceData
.IdentifyAccessor(svs.info)),
1133
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1134
TraceData
.GetInfo_Property(
1135
TraceData
.Identify(_host.ParentBindingExpression),
1139
TraceData
.IdentifyAccessor(info)),
1238
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1239
TraceData
.GetInfo_Indexer(
1240
TraceData
.Identify(_host.ParentBindingExpression),
1244
TraceData
.IdentifyAccessor(info)),
1742
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1743
TraceData
.GotEvent(
1744
TraceData
.Identify(_host.ParentBindingExpression),
1746
TraceData
.Identify(sender)),
1757
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1758
TraceData
.GotEvent(
1759
TraceData
.Identify(_host.ParentBindingExpression),
1761
TraceData
.Identify(sender)),
1780
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1781
TraceData
.GotEvent(
1782
TraceData
.Identify(_host.ParentBindingExpression),
1795
return
TraceData
.IsExtendedTraceEnabled(_host.ParentBindingExpression, level);
MS\Internal\Data\XmlBindingWorker.cs (34)
156
if (
TraceData
.IsEnabled)
158
TraceData
.TraceAndNotifyWithNoParameters(traceType,
159
TraceData
.BadXPath(
189
if (_contextNode != value &&
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.ReplaceItem))
191
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
192
TraceData
.XmlContextNode(
193
TraceData
.Identify(ParentBindingExpression),
315
if (ContextNode != CollectionView.CurrentItem &&
TraceData
.IsEnabled)
317
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlBindingToNonXmlCollection, ParentBindingExpression,
325
if (ContextNode != DataItem &&
TraceData
.IsEnabled)
327
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlBindingToNonXml, ParentBindingExpression,
394
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
396
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
397
TraceData
.XmlNewCollection(
398
TraceData
.Identify(ParentBindingExpression),
416
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.Events))
418
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
419
TraceData
.GotEvent(
420
TraceData
.Identify(ParentBindingExpression),
422
TraceData
.Identify(sender)),
477
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
479
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
480
TraceData
.XmlSynchronizeCollection(
481
TraceData
.Identify(ParentBindingExpression),
527
if (
TraceData
.IsEnabled)
529
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.CannotGetXmlNodeCollection, ParentBindingExpression,
535
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
537
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
538
TraceData
.SelectNodes(
539
TraceData
.Identify(ParentBindingExpression),
541
TraceData
.Identify(XPath),
MS\Internal\Helper.cs (6)
325
if (
TraceData
.IsEnabled)
337
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.StyleAndStyleSelectorDefined(name), null,
358
if (
TraceData
.IsEnabled)
364
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.TemplateAndTemplateSelectorDefined(name), null,
MS\Internal\TraceData.cs (3)
86
if (
TraceData
.IsEnabled)
327
TraceData
.TraceAndNotify(eventType, traceDetails, null, parameters, parameters);
352
TraceData
.TraceAndNotify(eventType, traceDetails, binding, null, null);
System\Windows\Controls\DataErrorValidationRule.cs (3)
99
if (
TraceData
.IsEnabled)
101
TraceData
.TraceAndNotify(TraceEventType.Error,
102
TraceData
.DataErrorInfoFailed(
System\Windows\Controls\DataGrid.cs (2)
7253
TraceData
.TraceAndNotify(TraceEventType.Error,
7254
TraceData
.CannotSort(sortPropertyName),
System\Windows\Controls\ItemsControl.cs (3)
1392
if (container == item &&
TraceData
.IsEnabled)
1398
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ItemTemplateForDirectItem, null,
System\Windows\Data\BindingExpression.cs (180)
69
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ShowPath))
76
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
77
TraceData
.BindingPath(
78
TraceData
.Identify(path)),
83
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
84
TraceData
.BindingXPathAndPath(
85
TraceData
.Identify(binding.XPath),
86
TraceData
.Identify(path)),
443
if (converter == null &&
TraceData
.IsEnabled)
445
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Error,
446
TraceData
.CannotCreateDefaultValueConverter(
530
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
532
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
533
TraceData
.UseMentor(
534
TraceData
.Identify(this),
535
TraceData
.Identify(mentor)),
556
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
558
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
559
TraceData
.DeferAttachToContext(
560
TraceData
.Identify(this)),
616
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
617
bool traceObjectRef =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.SourceLookup);
629
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
630
TraceData
.SourceRequiresTreeContext(
631
TraceData
.Identify(this),
644
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
645
TraceData
.AttachToContext(
646
TraceData
.Identify(this),
662
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
663
TraceData
.PathRequiresTreeContext(
664
TraceData
.Identify(this),
679
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
680
TraceData
.NoMentorExtended(
681
TraceData
.Identify(this)),
688
if (
TraceData
.IsEnabled)
690
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoMentor, this);
738
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
739
TraceData
.ContextElement(
740
TraceData
.Identify(this),
741
TraceData
.Identify(contextElement),
752
if (
TraceData
.IsEnabled)
754
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoDataContext, this);
777
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
778
TraceData
.NullDataContext(
779
TraceData
.Identify(this)),
800
if (
TraceData
.IsEnabled)
802
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.NoSource(sourceRef), this);
908
if (
TraceData
.IsEnabled)
910
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoMentor, this);
927
if (
TraceData
.IsEnabled)
929
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.NoDataContext, this);
957
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate);
975
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
976
TraceData
.UseCVS(
977
TraceData
.Identify(this),
978
TraceData
.Identify(cvs)),
993
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
994
TraceData
.ActivateItem(
995
TraceData
.Identify(this),
996
TraceData
.Identify(item)),
1112
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1114
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1115
TraceData
.Deactivate(
1116
TraceData
.Identify(this)),
1169
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1171
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1172
TraceData
.UseDataProvider(
1173
TraceData
.Identify(this),
1174
TraceData
.Identify(newDataProvider)),
1276
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1294
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1295
TraceData
.GetRawValue(
1296
TraceData
.Identify(this),
1297
TraceData
.Identify(value)),
1323
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1324
TraceData
.UserConverter(
1325
TraceData
.Identify(this),
1326
TraceData
.Identify(value)),
1368
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1369
TraceData
.NullConverter(
1370
TraceData
.Identify(this),
1371
TraceData
.Identify(value)),
1394
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1395
TraceData
.ConvertDBNull(
1396
TraceData
.Identify(this),
1397
TraceData
.Identify(value)),
1416
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1417
TraceData
.DefaultConverter(
1418
TraceData
.Identify(this),
1419
TraceData
.Identify(value)),
1445
if (
TraceData
.IsEnabled && !IsInBindingExpressionCollection)
1447
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.BadValueAtTransfer, this,
1453
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1454
TraceData
.BadValueAtTransferExtended(
1455
TraceData
.Identify(this),
1456
TraceData
.Identify(value)),
1475
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1476
TraceData
.UseFallback(
1477
TraceData
.Identify(this),
1478
TraceData
.Identify(value)),
1492
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1493
TraceData
.TransferValue(
1494
TraceData
.Identify(this),
1495
TraceData
.Identify(value)),
1618
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1620
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1621
TraceData
.ValidationRuleFailed(
1622
TraceData
.Identify(this),
1623
TraceData
.Identify(validationRule)),
1670
if (
TraceData
.IsEnabled)
1673
TraceData
.TraceAndNotify(TraceLevel,
1674
TraceData
.BadConverterForTransfer(
1684
if (
TraceData
.IsEnabled)
1686
TraceData
.TraceAndNotify(TraceLevel,
1687
TraceData
.BadConverterForTransfer(
1735
if (
TraceData
.IsEnabled)
1737
TraceData
.TraceAndNotify(TraceEventType.Error,
1738
TraceData
.BadConverterForUpdate(
1749
if (
TraceData
.IsEnabled)
1751
TraceData
.TraceAndNotify(TraceEventType.Error,
1752
TraceData
.BadConverterForUpdate(
1851
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update);
1854
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1855
TraceData
.UpdateRawValue(
1856
TraceData
.Identify(this),
1857
TraceData
.Identify(value)),
1883
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1884
TraceData
.UserConvertBack(
1885
TraceData
.Identify(this),
1886
TraceData
.Identify(value)),
1932
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1933
TraceData
.DefaultConvertBack(
1934
TraceData
.Identify(this),
1935
TraceData
.Identify(value)),
1943
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1944
TraceData
.Update(
1945
TraceData
.Identify(this),
1946
TraceData
.Identify(value)),
2030
if (
TraceData
.IsEnabled)
2031
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this, ex);
2039
if (
TraceData
.IsEnabled)
2040
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this);
2450
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2452
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2453
TraceData
.GotEvent(
2454
TraceData
.Identify(this),
2456
TraceData
.Identify(sender)),
2465
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2467
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2468
TraceData
.GotEvent(
2469
TraceData
.Identify(this),
2471
TraceData
.Identify(sender)),
2481
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2483
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2484
TraceData
.GotEvent(
2485
TraceData
.Identify(this),
2487
TraceData
.Identify(sender)),
2495
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2497
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2498
TraceData
.GotEvent(
2499
TraceData
.Identify(this),
2501
TraceData
.Identify(sender)),
2528
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2530
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2531
TraceData
.GotEvent(
2532
TraceData
.Identify(this),
2534
TraceData
.Identify(sender)),
2659
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2661
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2662
TraceData
.GotPropertyChanged(
2663
TraceData
.Identify(this),
2664
TraceData
.Identify(d),
System\Windows\Data\BindingExpressionBase.cs (56)
159
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.CreateExpression))
163
TraceData
.TraceAndNotify(TraceEventType.Warning,
164
TraceData
.CreatedExpression(
165
TraceData
.Identify(this),
166
TraceData
.Identify(binding)),
171
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
172
TraceData
.CreatedExpressionInParent(
173
TraceData
.Identify(this),
174
TraceData
.Identify(binding),
175
TraceData
.Identify(parent)),
940
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
942
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
943
TraceData
.AttachExpression(
944
TraceData
.Identify(this),
976
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
978
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
979
TraceData
.DetachExpression(
980
TraceData
.Identify(this)),
1195
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1197
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1198
TraceData
.ValidationRuleFailed(
1199
TraceData
.Identify(this),
1200
TraceData
.Identify(validationRule)),
1280
if (
TraceData
.IsEnabled)
1282
TraceData
.TraceAndNotify(TraceEventType.Critical,
TraceData
.RequiresExplicitCulture, this,
1585
if (
TraceData
.IsEnabled)
1587
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.NoValueToTransfer, this);
1769
if (bgCandidate.SharesProposedValues &&
TraceData
.IsEnabled)
1771
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1772
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1773
TraceData
.Identify(this),
1775
TraceData
.Identify(bgCandidate)),
1787
if (
TraceData
.IsEnabled)
1789
TraceData
.TraceAndNotify(TraceEventType.Error,
1790
TraceData
.BindingGroupNameMatchFailed(groupName),
1838
if (bg.SharesProposedValues &&
TraceData
.IsEnabled)
1840
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1841
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1842
TraceData
.Identify(root),
1844
TraceData
.Identify(bg)),
2142
if (
TraceData
.IsEnabled)
2144
TraceData
.TraceAndNotify(TraceEventType.Error,
2145
TraceData
.FallbackConversionFailed(
2168
if (
TraceData
.IsEnabled)
2170
TraceData
.TraceAndNotify(TraceEventType.Error,
2171
TraceData
.TargetNullValueConversionFailed(
2521
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2523
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2524
TraceData
.ResolveDefaultMode(
2525
TraceData
.Identify(this),
2541
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2543
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
2544
TraceData
.ResolveDefaultUpdate(
2545
TraceData
.Identify(this),
System\Windows\Data\BindingGroup.cs (6)
581
TraceData
.IsEnabled)
584
TraceData
.TraceAndNotify(TraceEventType.Warning,
585
TraceData
.BindingGroupWrongProperty(name, context.GetType().FullName));
616
if (_hasMultipleInheritanceContexts && property != ItemsControl.ItemBindingGroupProperty &&
TraceData
.IsEnabled)
618
TraceData
.TraceAndNotify(TraceEventType.Warning,
619
TraceData
.BindingGroupMultipleInheritance);
System\Windows\Data\CollectionView.cs (3)
74
if (
TraceData
.IsEnabled)
76
TraceData
.TraceAndNotify(TraceEventType.Warning,
77
TraceData
.CollectionViewIsUnsupported);
System\Windows\Data\MultiBindingExpression.cs (80)
191
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
194
if (_converter == null && String.IsNullOrEmpty(EffectiveStringFormat) &&
TraceData
.IsEnabled)
196
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiBindingHasNoConverter, this,
202
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
203
TraceData
.AttachToContext(
204
TraceData
.Identify(this),
224
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
225
TraceData
.ChildNotAttached(
226
TraceData
.Identify(this)),
386
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
388
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
389
TraceData
.DeferAttachToContext(
390
TraceData
.Identify(this)),
534
if (
TraceData
.IsEnabled)
536
TraceData
.TraceAndNotify(TraceEventType.Error,
537
TraceData
.BadMultiConverterForUpdate(
548
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
552
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
553
TraceData
.UserConvertBackMulti(
554
TraceData
.Identify(this),
556
TraceData
.Identify(values[i])),
563
if (values.Length != count &&
TraceData
.IsEnabled)
565
TraceData
.TraceAndNotify(TraceEventType.Information,
TraceData
.MultiValueConverterMismatch, this,
566
traceParameters: new object[] { Converter.GetType().Name, count, values.Length,
TraceData
.DescribeTarget(target, TargetProperty) });
592
else if (value == DependencyProperty.UnsetValue &&
TraceData
.IsEnabled)
594
TraceData
.TraceAndNotify(TraceEventType.Information,
595
TraceData
.UnsetValueInMultiBindingExpressionUpdate(
621
if (
TraceData
.IsEnabled)
623
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForUpdate, this);
1025
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1027
TraceData
.TraceAndNotify(TraceEventType.Warning,
1028
TraceData
.GotPropertyChanged(
1029
TraceData
.Identify(this),
1030
TraceData
.Identify(d),
1098
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1100
TraceData
.TraceAndNotify(TraceEventType.Warning,
1101
TraceData
.GotEvent(
1102
TraceData
.Identify(this),
1104
TraceData
.Identify(sender)));
1158
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1172
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1173
TraceData
.GetRawValueMulti(
1174
TraceData
.Identify(this),
1176
TraceData
.Identify(_tempValues[i])),
1195
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1196
TraceData
.UserConverter(
1197
TraceData
.Identify(this),
1198
TraceData
.Identify(preFormattedValue)),
1217
if (
TraceData
.IsEnabled)
1219
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForTransfer, this);
1248
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1249
TraceData
.FormattedValue(
1250
TraceData
.Identify(this),
1251
TraceData
.Identify(value)),
1262
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1263
TraceData
.FormattingFailed(
1264
TraceData
.Identify(this),
1292
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1293
TraceData
.NullConverter(
1294
TraceData
.Identify(this),
1295
TraceData
.Identify(value)),
1303
if (
TraceData
.IsEnabled)
1305
TraceData
.TraceAndNotify(TraceLevel,
TraceData
.BadValueAtTransfer, this,
1311
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1312
TraceData
.BadValueAtTransferExtended(
1313
TraceData
.Identify(this),
1314
TraceData
.Identify(value)),
1328
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1329
TraceData
.UseFallback(
1330
TraceData
.Identify(this),
1331
TraceData
.Identify(value)),
1338
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
1339
TraceData
.TransferValue(
1340
TraceData
.Identify(this),
1341
TraceData
.Identify(value)),
System\Windows\Data\ObjectDataProvider.cs (19)
294
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
296
TraceData
.TraceAndNotify(TraceEventType.Warning,
297
TraceData
.BeginQuery(
298
TraceData
.Identify(this),
387
if (
TraceData
.IsEnabled)
388
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjectDataProviderHasNoSource);
426
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
428
TraceData
.TraceAndNotify(TraceEventType.Warning,
429
TraceData
.QueryFinished(
430
TraceData
.Identify(this),
432
TraceData
.Identify(data),
433
TraceData
.IdentifyException(e)));
503
if (
TraceData
.IsEnabled)
505
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjDPCreateFailed, null,
593
if (
TraceData
.IsEnabled)
595
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.ObjDPInvokeFailed, null,
System\Windows\Data\PriorityBindingExpression.cs (11)
258
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer))
260
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
261
TraceData
.PriorityTransfer(
262
TraceData
.Identify(this),
263
TraceData
.Identify(newValue),
265
TraceData
.Identify(bindExpr)),
578
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
580
TraceData
.TraceAndNotifyWithNoParameters(TraceEventType.Warning,
581
TraceData
.GotPropertyChanged(
582
TraceData
.Identify(this),
583
TraceData
.Identify(d),
System\Windows\Data\XmlDataProvider.cs (55)
275
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
277
TraceData
.TraceAndNotify(TraceEventType.Warning,
278
TraceData
.BeginQuery(
279
TraceData
.Identify(this),
481
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider))
483
TraceData
.TraceAndNotify(TraceEventType.Warning,
484
TraceData
.XmlLoadInline(
485
TraceData
.Identify(this),
494
if (
TraceData
.IsEnabled)
495
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPInlineDocError, xmle);
518
if (
TraceData
.IsEnabled)
523
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlNamespaceNotSet);
535
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
537
TraceData
.TraceAndNotify(TraceEventType.Warning,
538
TraceData
.QueryFinished(
539
TraceData
.Identify(this),
541
TraceData
.Identify(null),
542
TraceData
.IdentifyException(ex)),
562
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider);
571
TraceData
.TraceAndNotify(TraceEventType.Warning,
572
TraceData
.XmlLoadSource(
573
TraceData
.Identify(this),
575
TraceData
.Identify(request.RequestUri.ToString())));
589
TraceData
.TraceAndNotify(TraceEventType.Warning,
590
TraceData
.XmlLoadDoc(
591
TraceData
.Identify(this)));
605
if (
TraceData
.IsEnabled)
607
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPAsyncDocError, null,
620
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
622
TraceData
.TraceAndNotify(TraceEventType.Warning,
623
TraceData
.QueryFinished(
624
TraceData
.Identify(this),
626
TraceData
.Identify(null),
627
TraceData
.IdentifyException(ex)),
656
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlBuildCollection))
658
TraceData
.TraceAndNotify(TraceEventType.Warning,
659
TraceData
.XmlBuildCollection(
660
TraceData
.Identify(this)));
674
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
676
TraceData
.TraceAndNotify(TraceEventType.Warning,
677
TraceData
.QueryFinished(
678
TraceData
.Identify(this),
680
TraceData
.Identify(collection),
681
TraceData
.IdentifyException(null)));
691
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
693
TraceData
.TraceAndNotify(TraceEventType.Warning,
694
TraceData
.QueryResult(
695
TraceData
.Identify(this),
696
TraceData
.Identify(Data)));
793
if (
TraceData
.IsEnabled)
794
TraceData
.TraceAndNotify(TraceEventType.Error,
TraceData
.XmlDPSelectNodesFailed, null,