566 references to TraceData
PresentationFramework (566)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (14)
485
if (
TraceData
.IsEnabled)
490
TraceData
.Trace(ParentBindingExpression.TraceLevel,
491
TraceData
.CannotGetClrRawValue(
500
if (
TraceData
.IsEnabled)
504
TraceData
.Trace(TraceEventType.Error,
505
TraceData
.CannotSetClrRawValue(
516
if (
TraceData
.IsEnabled)
523
TraceData
.Trace(TraceEventType.Information,
TraceData
.MissingDataItem, ParentBindingExpression);
533
TraceData
.Trace(TraceEventType.Information,
TraceData
.MissingInfo, ParentBindingExpression);
541
TraceData
.Trace(TraceEventType.Information,
TraceData
.NullDataItem, ParentBindingExpression);
788
if (
TraceData
.IsEnabled)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (5)
338
if (
TraceData
.IsEnabled)
342
TraceData
.Trace(TraceEventType.Error,
343
TraceData
.DefaultValueConverterFailedForCulture(
352
TraceData
.Trace(TraceEventType.Error,
353
TraceData
.DefaultValueConverterFailed(
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (3)
589
if (
TraceData
.IsEnabled && !_warningHasBeenRaised)
592
TraceData
.Trace(TraceEventType.Warning,
593
TraceData
.CollectionChangedWithoutNotification(SourceCollection.GetType().FullName));
src\Framework\MS\Internal\Data\ObjectRef.cs (24)
162
TraceData
.Trace(TraceEventType.Warning,
163
TraceData
.ElementNameQueryTemplate(
165
TraceData
.Identify(d)));
208
TraceData
.Trace(TraceEventType.Warning,
209
TraceData
.ElementNameQuery(
211
TraceData
.Identify(fo.DO)));
422
TraceData
.Trace(TraceEventType.Warning,
423
TraceData
.RelativeSource(
425
TraceData
.Identify(d)));
532
if (
TraceData
.IsEnabled)
533
TraceData
.Trace(TraceEventType.Error,
TraceData
.RefPreviousNotInContext);
554
if ((j < 0) &&
TraceData
.IsEnabled)
555
TraceData
.Trace(TraceEventType.Error,
TraceData
.RefNoWrapperInChildren);
564
if (
TraceData
.IsEnabled)
565
TraceData
.Trace(TraceEventType.Error,
TraceData
.RefAncestorTypeNotSpecified);
570
if (
TraceData
.IsEnabled)
571
TraceData
.Trace(TraceEventType.Error,
TraceData
.RefAncestorLevelInvalid);
583
TraceData
.Trace(TraceEventType.Warning,
584
TraceData
.AncestorLookup(
586
TraceData
.Identify(fo.DO)));
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (62)
325
TraceData
.Trace(TraceEventType.Warning,
326
TraceData
.GetValue(
327
TraceData
.Identify(_host.ParentBindingExpression),
329
TraceData
.Identify(item),
330
TraceData
.IdentifyAccessor(accessor),
331
TraceData
.Identify(value)));
349
TraceData
.Trace(TraceEventType.Warning,
350
TraceData
.SetValue(
351
TraceData
.Identify(_host.ParentBindingExpression),
353
TraceData
.Identify(item),
354
TraceData
.IdentifyAccessor(_arySVS[level].info),
355
TraceData
.Identify(value)));
761
TraceData
.Trace(TraceEventType.Warning,
762
TraceData
.ReplaceItemShort(
763
TraceData
.Identify(_host.ParentBindingExpression),
765
TraceData
.Identify(newO)));
854
TraceData
.Trace(TraceEventType.Warning,
855
TraceData
.ReplaceItemLong(
856
TraceData
.Identify(_host.ParentBindingExpression),
858
TraceData
.Identify(newO),
859
TraceData
.IdentifyAccessor(svs.info)));
930
if (
TraceData
.IsEnabled)
939
string ps =
TraceData
.DescribeSourceObject(parent);
948
TraceData
.Trace(TraceEventType.Information,
TraceData
.NullItem(cs, os), bindingExpression);
954
TraceData
.Trace(TraceEventType.Information,
TraceData
.PlaceholderItem(cs, os), bindingExpression);
959
TraceData
.Trace(traceType,
TraceData
.ClrReplaceItem(cs, ps, os), bindingExpression);
1048
TraceData
.Trace(TraceEventType.Warning,
1049
TraceData
.GetInfo_Reuse(
1050
TraceData
.Identify(_host.ParentBindingExpression),
1052
TraceData
.IdentifyAccessor(svs.info)));
1067
TraceData
.Trace(TraceEventType.Warning,
1068
TraceData
.GetInfo_Null(
1069
TraceData
.Identify(_host.ParentBindingExpression),
1099
TraceData
.Trace(TraceEventType.Warning,
1100
TraceData
.GetInfo_Cache(
1101
TraceData
.Identify(_host.ParentBindingExpression),
1105
TraceData
.IdentifyAccessor(svs.info)));
1126
TraceData
.Trace(TraceEventType.Warning,
1127
TraceData
.GetInfo_Property(
1128
TraceData
.Identify(_host.ParentBindingExpression),
1132
TraceData
.IdentifyAccessor(info)));
1230
TraceData
.Trace(TraceEventType.Warning,
1231
TraceData
.GetInfo_Indexer(
1232
TraceData
.Identify(_host.ParentBindingExpression),
1236
TraceData
.IdentifyAccessor(info)));
1724
TraceData
.Trace(TraceEventType.Warning,
1725
TraceData
.DisallowTwoWay(typeName, propertyName),
1783
TraceData
.Trace(TraceEventType.Warning,
1784
TraceData
.GotEvent(
1785
TraceData
.Identify(_host.ParentBindingExpression),
1787
TraceData
.Identify(sender)));
1797
TraceData
.Trace(TraceEventType.Warning,
1798
TraceData
.GotEvent(
1799
TraceData
.Identify(_host.ParentBindingExpression),
1801
TraceData
.Identify(sender)));
1819
TraceData
.Trace(TraceEventType.Warning,
1820
TraceData
.GotEvent(
1821
TraceData
.Identify(_host.ParentBindingExpression),
1833
return
TraceData
.IsExtendedTraceEnabled(_host.ParentBindingExpression, level);
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (34)
159
if (
TraceData
.IsEnabled)
161
TraceData
.Trace(traceType,
162
TraceData
.BadXPath(
191
if (_contextNode != value &&
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.ReplaceItem))
193
TraceData
.Trace(TraceEventType.Warning,
194
TraceData
.XmlContextNode(
195
TraceData
.Identify(ParentBindingExpression),
316
if (ContextNode != CollectionView.CurrentItem &&
TraceData
.IsEnabled)
318
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlBindingToNonXmlCollection, XPath,
326
if (ContextNode != DataItem &&
TraceData
.IsEnabled)
328
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlBindingToNonXml, XPath,
395
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
397
TraceData
.Trace(TraceEventType.Warning,
398
TraceData
.XmlNewCollection(
399
TraceData
.Identify(ParentBindingExpression),
416
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.Events))
418
TraceData
.Trace(TraceEventType.Warning,
419
TraceData
.GotEvent(
420
TraceData
.Identify(ParentBindingExpression),
422
TraceData
.Identify(sender)));
476
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
478
TraceData
.Trace(TraceEventType.Warning,
479
TraceData
.XmlSynchronizeCollection(
480
TraceData
.Identify(ParentBindingExpression),
525
if (
TraceData
.IsEnabled)
527
TraceData
.Trace(TraceEventType.Error,
TraceData
.CannotGetXmlNodeCollection,
533
if (
TraceData
.IsExtendedTraceEnabled(ParentBindingExpression, TraceDataLevel.GetValue))
535
TraceData
.Trace(TraceEventType.Warning,
536
TraceData
.SelectNodes(
537
TraceData
.Identify(ParentBindingExpression),
539
TraceData
.Identify(XPath),
src\Framework\MS\Internal\Helper.cs (6)
336
if (
TraceData
.IsEnabled)
348
TraceData
.Trace(TraceEventType.Error,
TraceData
.StyleAndStyleSelectorDefined(name), d);
368
if (
TraceData
.IsEnabled)
374
TraceData
.Trace(TraceEventType.Error,
TraceData
.TemplateAndTemplateSelectorDefined(name), d);
src\Framework\MS\Internal\TraceData.cs (1)
87
if (
TraceData
.IsEnabled)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (3)
103
if (
TraceData
.IsEnabled)
105
TraceData
.Trace(TraceEventType.Error,
106
TraceData
.DataErrorInfoFailed(
src\Framework\System\Windows\Controls\DataGrid.cs (2)
7256
TraceData
.Trace(TraceEventType.Error,
7257
TraceData
.CannotSort(sortPropertyName),
src\Framework\System\Windows\Controls\ItemsControl.cs (3)
1396
if (container == item &&
TraceData
.IsEnabled)
1402
TraceData
.Trace(TraceEventType.Error,
TraceData
.ItemTemplateForDirectItem, AvTrace.TypeName(item));
src\Framework\System\Windows\Data\BindingExpression.cs (180)
73
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ShowPath))
80
TraceData
.Trace(TraceEventType.Warning,
81
TraceData
.BindingPath(
82
TraceData
.Identify(path)));
86
TraceData
.Trace(TraceEventType.Warning,
87
TraceData
.BindingXPathAndPath(
88
TraceData
.Identify(binding.XPath),
89
TraceData
.Identify(path)));
448
if (converter == null &&
TraceData
.IsEnabled)
450
TraceData
.Trace(TraceEventType.Error,
451
TraceData
.CannotCreateDefaultValueConverter(
535
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
537
TraceData
.Trace(TraceEventType.Warning,
538
TraceData
.UseMentor(
539
TraceData
.Identify(this),
540
TraceData
.Identify(mentor)));
560
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
562
TraceData
.Trace(TraceEventType.Warning,
563
TraceData
.DeferAttachToContext(
564
TraceData
.Identify(this)));
619
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
620
bool traceObjectRef =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.SourceLookup);
632
TraceData
.Trace(TraceEventType.Warning,
633
TraceData
.SourceRequiresTreeContext(
634
TraceData
.Identify(this),
646
TraceData
.Trace(TraceEventType.Warning,
647
TraceData
.AttachToContext(
648
TraceData
.Identify(this),
663
TraceData
.Trace(TraceEventType.Warning,
664
TraceData
.PathRequiresTreeContext(
665
TraceData
.Identify(this),
679
TraceData
.Trace(TraceEventType.Warning,
680
TraceData
.NoMentorExtended(
681
TraceData
.Identify(this)));
687
if (
TraceData
.IsEnabled)
689
TraceData
.Trace(TraceEventType.Error,
TraceData
.NoMentor, this);
737
TraceData
.Trace(TraceEventType.Warning,
738
TraceData
.ContextElement(
739
TraceData
.Identify(this),
740
TraceData
.Identify(contextElement),
750
if (
TraceData
.IsEnabled)
752
TraceData
.Trace(TraceEventType.Error,
TraceData
.NoDataContext, this);
775
TraceData
.Trace(TraceEventType.Warning,
776
TraceData
.NullDataContext(
777
TraceData
.Identify(this)));
797
if (
TraceData
.IsEnabled)
799
TraceData
.Trace(TraceLevel,
TraceData
.NoSource(sourceRef), this);
905
if (
TraceData
.IsEnabled)
907
TraceData
.Trace(TraceEventType.Error,
TraceData
.NoMentor, this);
924
if (
TraceData
.IsEnabled)
926
TraceData
.Trace(TraceEventType.Error,
TraceData
.NoDataContext, this);
954
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate);
972
TraceData
.Trace(TraceEventType.Warning,
973
TraceData
.UseCVS(
974
TraceData
.Identify(this),
975
TraceData
.Identify(cvs)));
989
TraceData
.Trace(TraceEventType.Warning,
990
TraceData
.ActivateItem(
991
TraceData
.Identify(this),
992
TraceData
.Identify(item)));
1107
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1109
TraceData
.Trace(TraceEventType.Warning,
1110
TraceData
.Deactivate(
1111
TraceData
.Identify(this)));
1163
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Activate))
1165
TraceData
.Trace(TraceEventType.Warning,
1166
TraceData
.UseDataProvider(
1167
TraceData
.Identify(this),
1168
TraceData
.Identify(newDataProvider)));
1269
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1287
TraceData
.Trace(TraceEventType.Warning,
1288
TraceData
.GetRawValue(
1289
TraceData
.Identify(this),
1290
TraceData
.Identify(value)));
1315
TraceData
.Trace(TraceEventType.Warning,
1316
TraceData
.UserConverter(
1317
TraceData
.Identify(this),
1318
TraceData
.Identify(value)));
1359
TraceData
.Trace(TraceEventType.Warning,
1360
TraceData
.NullConverter(
1361
TraceData
.Identify(this),
1362
TraceData
.Identify(value)));
1384
TraceData
.Trace(TraceEventType.Warning,
1385
TraceData
.ConvertDBNull(
1386
TraceData
.Identify(this),
1387
TraceData
.Identify(value)));
1406
TraceData
.Trace(TraceEventType.Warning,
1407
TraceData
.DefaultConverter(
1408
TraceData
.Identify(this),
1409
TraceData
.Identify(value)));
1434
if (
TraceData
.IsEnabled && !IsInBindingExpressionCollection)
1436
TraceData
.Trace(TraceLevel,
TraceData
.BadValueAtTransfer, value, this);
1441
TraceData
.Trace(TraceEventType.Warning,
1442
TraceData
.BadValueAtTransferExtended(
1443
TraceData
.Identify(this),
1444
TraceData
.Identify(value)));
1462
TraceData
.Trace(TraceEventType.Warning,
1463
TraceData
.UseFallback(
1464
TraceData
.Identify(this),
1465
TraceData
.Identify(value)));
1478
TraceData
.Trace(TraceEventType.Warning,
1479
TraceData
.TransferValue(
1480
TraceData
.Identify(this),
1481
TraceData
.Identify(value)));
1603
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1605
TraceData
.Trace(TraceEventType.Warning,
1606
TraceData
.ValidationRuleFailed(
1607
TraceData
.Identify(this),
1608
TraceData
.Identify(validationRule)));
1654
if (
TraceData
.IsEnabled)
1657
TraceData
.Trace(TraceLevel,
1658
TraceData
.BadConverterForTransfer(
1668
if (
TraceData
.IsEnabled)
1670
TraceData
.Trace(TraceLevel,
1671
TraceData
.BadConverterForTransfer(
1719
if (
TraceData
.IsEnabled)
1721
TraceData
.Trace(TraceEventType.Error,
1722
TraceData
.BadConverterForUpdate(
1733
if (
TraceData
.IsEnabled)
1735
TraceData
.Trace(TraceEventType.Error,
1736
TraceData
.BadConverterForUpdate(
1835
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update);
1838
TraceData
.Trace(TraceEventType.Warning,
1839
TraceData
.UpdateRawValue(
1840
TraceData
.Identify(this),
1841
TraceData
.Identify(value)));
1866
TraceData
.Trace(TraceEventType.Warning,
1867
TraceData
.UserConvertBack(
1868
TraceData
.Identify(this),
1869
TraceData
.Identify(value)));
1914
TraceData
.Trace(TraceEventType.Warning,
1915
TraceData
.DefaultConvertBack(
1916
TraceData
.Identify(this),
1917
TraceData
.Identify(value)));
1924
TraceData
.Trace(TraceEventType.Warning,
1925
TraceData
.Update(
1926
TraceData
.Identify(this),
1927
TraceData
.Identify(value)));
2010
if (
TraceData
.IsEnabled)
2011
TraceData
.Trace(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this, ex);
2019
if (
TraceData
.IsEnabled)
2020
TraceData
.Trace(TraceEventType.Error,
TraceData
.WorkerUpdateFailed, this);
2430
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2432
TraceData
.Trace(TraceEventType.Warning,
2433
TraceData
.GotEvent(
2434
TraceData
.Identify(this),
2436
TraceData
.Identify(sender)));
2444
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2446
TraceData
.Trace(TraceEventType.Warning,
2447
TraceData
.GotEvent(
2448
TraceData
.Identify(this),
2450
TraceData
.Identify(sender)));
2459
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2461
TraceData
.Trace(TraceEventType.Warning,
2462
TraceData
.GotEvent(
2463
TraceData
.Identify(this),
2465
TraceData
.Identify(sender)));
2472
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2474
TraceData
.Trace(TraceEventType.Warning,
2475
TraceData
.GotEvent(
2476
TraceData
.Identify(this),
2478
TraceData
.Identify(sender)));
2505
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2507
TraceData
.Trace(TraceEventType.Warning,
2508
TraceData
.GotEvent(
2509
TraceData
.Identify(this),
2511
TraceData
.Identify(sender)));
2635
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
2637
TraceData
.Trace(TraceEventType.Warning,
2638
TraceData
.GotPropertyChanged(
2639
TraceData
.Identify(this),
2640
TraceData
.Identify(d),
src\Framework\System\Windows\Data\BindingExpressionBase.cs (56)
164
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.CreateExpression))
168
TraceData
.Trace(TraceEventType.Warning,
169
TraceData
.CreatedExpression(
170
TraceData
.Identify(this),
171
TraceData
.Identify(binding)));
175
TraceData
.Trace(TraceEventType.Warning,
176
TraceData
.CreatedExpressionInParent(
177
TraceData
.Identify(this),
178
TraceData
.Identify(binding),
179
TraceData
.Identify(parent)));
946
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
948
TraceData
.Trace(TraceEventType.Warning,
949
TraceData
.AttachExpression(
950
TraceData
.Identify(this),
981
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Attach))
983
TraceData
.Trace(TraceEventType.Warning,
984
TraceData
.DetachExpression(
985
TraceData
.Identify(this)));
1199
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
1201
TraceData
.Trace(TraceEventType.Warning,
1202
TraceData
.ValidationRuleFailed(
1203
TraceData
.Identify(this),
1204
TraceData
.Identify(validationRule)));
1283
if (
TraceData
.IsEnabled)
1285
TraceData
.Trace(TraceEventType.Critical,
TraceData
.RequiresExplicitCulture, TargetProperty.Name, this);
1578
if (
TraceData
.IsEnabled)
1580
TraceData
.Trace(TraceEventType.Information,
TraceData
.NoValueToTransfer, this);
1762
if (bgCandidate.SharesProposedValues &&
TraceData
.IsEnabled)
1764
TraceData
.Trace(TraceEventType.Warning,
1765
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1766
TraceData
.Identify(this),
1768
TraceData
.Identify(bgCandidate)));
1779
if (
TraceData
.IsEnabled)
1781
TraceData
.Trace(TraceEventType.Error,
1782
TraceData
.BindingGroupNameMatchFailed(groupName),
1830
if (bg.SharesProposedValues &&
TraceData
.IsEnabled)
1832
TraceData
.Trace(TraceEventType.Warning,
1833
TraceData
.SharesProposedValuesRequriesImplicitBindingGroup(
1834
TraceData
.Identify(root),
1836
TraceData
.Identify(bg)));
2133
if (
TraceData
.IsEnabled)
2135
TraceData
.Trace(TraceEventType.Error,
2136
TraceData
.FallbackConversionFailed(
2159
if (
TraceData
.IsEnabled)
2161
TraceData
.Trace(TraceEventType.Error,
2162
TraceData
.TargetNullValueConversionFailed(
2522
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2524
TraceData
.Trace(TraceEventType.Warning,
2525
TraceData
.ResolveDefaultMode(
2526
TraceData
.Identify(this),
2541
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ResolveDefaults))
2543
TraceData
.Trace(TraceEventType.Warning,
2544
TraceData
.ResolveDefaultUpdate(
2545
TraceData
.Identify(this),
src\Framework\System\Windows\Data\BindingGroup.cs (6)
583
TraceData
.IsEnabled)
586
TraceData
.Trace(TraceEventType.Warning,
587
TraceData
.BindingGroupWrongProperty(name, context.GetType().FullName));
618
if (_hasMultipleInheritanceContexts && property != ItemsControl.ItemBindingGroupProperty &&
TraceData
.IsEnabled)
620
TraceData
.Trace(TraceEventType.Warning,
621
TraceData
.BindingGroupMultipleInheritance);
src\Framework\System\Windows\Data\CollectionView.cs (3)
81
if (
TraceData
.IsEnabled)
83
TraceData
.Trace(TraceEventType.Warning,
84
TraceData
.CollectionViewIsUnsupported);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (79)
195
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext);
200
TraceData
.Trace(TraceEventType.Error,
TraceData
.MultiBindingHasNoConverter, ParentMultiBinding);
205
TraceData
.Trace(TraceEventType.Warning,
206
TraceData
.AttachToContext(
207
TraceData
.Identify(this),
226
TraceData
.Trace(TraceEventType.Warning,
227
TraceData
.ChildNotAttached(
228
TraceData
.Identify(this)));
387
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.AttachToContext))
389
TraceData
.Trace(TraceEventType.Warning,
390
TraceData
.DeferAttachToContext(
391
TraceData
.Identify(this)));
534
if (
TraceData
.IsEnabled)
536
TraceData
.Trace(TraceEventType.Error,
537
TraceData
.BadMultiConverterForUpdate(
548
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Update))
552
TraceData
.Trace(TraceEventType.Warning,
553
TraceData
.UserConvertBackMulti(
554
TraceData
.Identify(this),
556
TraceData
.Identify(values[i])));
562
if (values.Length != count &&
TraceData
.IsEnabled)
564
TraceData
.Trace(TraceEventType.Information,
TraceData
.MultiValueConverterMismatch,
566
TraceData
.DescribeTarget(target, TargetProperty));
592
else if (value == DependencyProperty.UnsetValue &&
TraceData
.IsEnabled)
594
TraceData
.Trace(TraceEventType.Information,
595
TraceData
.UnsetValueInMultiBindingExpressionUpdate(
621
if (
TraceData
.IsEnabled)
623
TraceData
.Trace(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForUpdate, this);
1025
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1027
TraceData
.Trace(TraceEventType.Warning,
1028
TraceData
.GotPropertyChanged(
1029
TraceData
.Identify(this),
1030
TraceData
.Identify(d),
1098
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
1100
TraceData
.Trace(TraceEventType.Warning,
1101
TraceData
.GotEvent(
1102
TraceData
.Identify(this),
1104
TraceData
.Identify(sender)));
1158
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer);
1172
TraceData
.Trace(TraceEventType.Warning,
1173
TraceData
.GetRawValueMulti(
1174
TraceData
.Identify(this),
1176
TraceData
.Identify(_tempValues[i])));
1194
TraceData
.Trace(TraceEventType.Warning,
1195
TraceData
.UserConverter(
1196
TraceData
.Identify(this),
1197
TraceData
.Identify(preFormattedValue)));
1215
if (
TraceData
.IsEnabled)
1217
TraceData
.Trace(TraceEventType.Error,
TraceData
.MultiValueConverterMissingForTransfer, this);
1246
TraceData
.Trace(TraceEventType.Warning,
1247
TraceData
.FormattedValue(
1248
TraceData
.Identify(this),
1249
TraceData
.Identify(value)));
1259
TraceData
.Trace(TraceEventType.Warning,
1260
TraceData
.FormattingFailed(
1261
TraceData
.Identify(this),
1288
TraceData
.Trace(TraceEventType.Warning,
1289
TraceData
.NullConverter(
1290
TraceData
.Identify(this),
1291
TraceData
.Identify(value)));
1298
if (
TraceData
.IsEnabled)
1300
TraceData
.Trace(TraceLevel,
TraceData
.BadValueAtTransfer, value, this);
1305
TraceData
.Trace(TraceEventType.Warning,
1306
TraceData
.BadValueAtTransferExtended(
1307
TraceData
.Identify(this),
1308
TraceData
.Identify(value)));
1321
TraceData
.Trace(TraceEventType.Warning,
1322
TraceData
.UseFallback(
1323
TraceData
.Identify(this),
1324
TraceData
.Identify(value)));
1330
TraceData
.Trace(TraceEventType.Warning,
1331
TraceData
.TransferValue(
1332
TraceData
.Identify(this),
1333
TraceData
.Identify(value)));
src\Framework\System\Windows\Data\ObjectDataProvider.cs (19)
296
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
298
TraceData
.Trace(TraceEventType.Warning,
299
TraceData
.BeginQuery(
300
TraceData
.Identify(this),
389
if (
TraceData
.IsEnabled)
390
TraceData
.Trace(TraceEventType.Error,
TraceData
.ObjectDataProviderHasNoSource);
428
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
430
TraceData
.Trace(TraceEventType.Warning,
431
TraceData
.QueryFinished(
432
TraceData
.Identify(this),
434
TraceData
.Identify(data),
435
TraceData
.IdentifyException(e)));
505
if (
TraceData
.IsEnabled)
506
TraceData
.Trace(TraceEventType.Error,
TraceData
.ObjDPCreateFailed, _objectType.Name, error, e);
591
if (
TraceData
.IsEnabled)
592
TraceData
.Trace(TraceEventType.Error,
TraceData
.ObjDPInvokeFailed, MethodName, _objectType.Name, error, e);
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (11)
262
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Transfer))
264
TraceData
.Trace(TraceEventType.Warning,
265
TraceData
.PriorityTransfer(
266
TraceData
.Identify(this),
267
TraceData
.Identify(newValue),
269
TraceData
.Identify(bindExpr)));
581
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.Events))
583
TraceData
.Trace(TraceEventType.Warning,
584
TraceData
.GotPropertyChanged(
585
TraceData
.Identify(this),
586
TraceData
.Identify(d),
src\Framework\System\Windows\Data\XmlDataProvider.cs (55)
277
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
279
TraceData
.Trace(TraceEventType.Warning,
280
TraceData
.BeginQuery(
281
TraceData
.Identify(this),
484
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider))
486
TraceData
.Trace(TraceEventType.Warning,
487
TraceData
.XmlLoadInline(
488
TraceData
.Identify(this),
497
if (
TraceData
.IsEnabled)
498
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlDPInlineDocError, xmle);
521
if (
TraceData
.IsEnabled)
526
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlNamespaceNotSet);
538
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
540
TraceData
.Trace(TraceEventType.Warning,
541
TraceData
.QueryFinished(
542
TraceData
.Identify(this),
544
TraceData
.Identify(null),
545
TraceData
.IdentifyException(ex)));
564
bool isExtendedTraceEnabled =
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlProvider);
573
TraceData
.Trace(TraceEventType.Warning,
574
TraceData
.XmlLoadSource(
575
TraceData
.Identify(this),
577
TraceData
.Identify(request.RequestUri.ToString())));
591
TraceData
.Trace(TraceEventType.Warning,
592
TraceData
.XmlLoadDoc(
593
TraceData
.Identify(this)));
607
if (
TraceData
.IsEnabled)
609
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlDPAsyncDocError, Source, ex);
620
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
622
TraceData
.Trace(TraceEventType.Warning,
623
TraceData
.QueryFinished(
624
TraceData
.Identify(this),
626
TraceData
.Identify(null),
627
TraceData
.IdentifyException(ex)));
655
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.XmlBuildCollection))
657
TraceData
.Trace(TraceEventType.Warning,
658
TraceData
.XmlBuildCollection(
659
TraceData
.Identify(this)));
673
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
675
TraceData
.Trace(TraceEventType.Warning,
676
TraceData
.QueryFinished(
677
TraceData
.Identify(this),
679
TraceData
.Identify(collection),
680
TraceData
.IdentifyException(null)));
691
if (
TraceData
.IsExtendedTraceEnabled(this, TraceDataLevel.ProviderQuery))
693
TraceData
.Trace(TraceEventType.Warning,
694
TraceData
.QueryResult(
695
TraceData
.Identify(this),
696
TraceData
.Identify(Data)));
793
if (
TraceData
.IsEnabled)
794
TraceData
.Trace(TraceEventType.Error,
TraceData
.XmlDPSelectNodesFailed, xpath, xe);