296 references to GetCurrentMethod
Microsoft.DotNet.Build.Tasks.Workloads (1)
EmbeddedTemplates.cs (1)
66
string ns = MethodBase.
GetCurrentMethod
().DeclaringType.Namespace;
Microsoft.DotNet.XUnitExtensions.Tests (3)
ConditionalAttributeTests.cs (3)
32
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
42
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
53
var method = System.Reflection.MethodBase.
GetCurrentMethod
();
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfValidateHelper.cs (1)
17
/// The name of the calling method. Use <see cref="MethodBase.
GetCurrentMethod
()"/> and property <see cref="MemberInfo.Name"/>.
WindowsBase.Tests (291)
System\ComponentModel\DependencyPropertyDescriptorTests.cs (3)
36
DependencyProperty property = DependencyProperty.Register(nameof(DependencyPropertyDescriptorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
48
DependencyProperty property = DependencyProperty.Register(nameof(DependencyPropertyDescriptorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
66
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
System\Windows\DependencyObjectTests.cs (104)
82
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
105
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
128
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
151
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
176
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
213
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
259
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
313
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
374
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
417
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
425
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
437
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
461
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject), new PropertyMetadata());
485
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
509
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
534
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
572
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
619
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
674
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
736
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
780
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
791
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
814
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
837
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
860
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
924
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
969
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1016
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + customCoercedValue?.GetType().Name, typeof(string), typeof(DependencyObject), typeMetadata);
1062
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1109
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1143
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1185
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + invalidValue?.GetType().Name, typeof(int), typeof(DependencyObject), typeMetadata);
1217
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + invalidValue?.GetType().Name, typeof(int), typeof(DependencyObject), typeMetadata);
1236
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1294
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1337
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1385
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
1397
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
1409
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1421
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
1434
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1446
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1469
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1496
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1512
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1524
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1537
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
1609
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1620
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1635
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1651
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1679
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1717
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1739
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1765
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
1777
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
1789
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1801
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
1814
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1826
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1849
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1880
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
1907
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
1923
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1935
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1948
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2020
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2031
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
2050
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
2073
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2096
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
2136
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2185
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2231
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2287
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2351
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2392
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
2403
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool), typeof(DependencyObject));
2414
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool?), typeof(DependencyObject));
2430
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(string), typeof(DependencyObject));
2439
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2451
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
2471
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject), new PropertyMetadata());
2495
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2519
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
2559
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2609
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2656
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2713
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2778
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
2827
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
2838
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool?), typeof(DependencyObject), new PropertyMetadata());
2854
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2863
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2874
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2882
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2892
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
2904
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
2925
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2938
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2952
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2963
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2975
DependencyProperty property = DependencyProperty.Register(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
2988
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(DependencyObjectTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
System\Windows\DependencyPropertyChangedEventArgsTests.cs (4)
21
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name + (oldValue?.ToString() ?? "null") + (newValue?.ToString() ?? "null"), typeof(string), typeof(DependencyObject));
76
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
84
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
92
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
System\Windows\DependencyPropertyKeyTests.cs (7)
13
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), new PropertyMetadata());
23
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), new PropertyMetadata());
33
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
42
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name + forType.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
49
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
56
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
64
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
System\Windows\DependencyPropertyTests.cs (78)
208
DependencyProperty property1 = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(int), typeof(DependencyObjectTests));
209
DependencyProperty property2 = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(int), typeof(DependencyObjectTests));
228
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests)));
229
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata()));
230
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
236
Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests)));
237
Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata()));
238
Assert.Throws<NotSupportedException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
249
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata));
250
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata, value => true));
256
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!));
257
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata()));
258
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata(), value => true));
266
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata()));
267
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata { DefaultValue = 1 }));
268
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata(), value => true));
269
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata { DefaultValue = 1 }, value => true));
276
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
277
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
284
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
285
Assert.Throws<ArgumentException>(() => DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
291
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyPropertyTests));
521
DependencyProperty property1 = DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(int), typeof(DependencyObjectTests));
522
DependencyProperty property2 = DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(int), typeof(DependencyObjectTests));
545
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests)));
546
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata()));
547
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
553
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests)));
554
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata()));
555
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
566
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata));
567
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata, value => true));
573
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!));
574
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata()));
575
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata(), value => true));
582
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
583
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
590
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
591
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
597
DependencyProperty property = DependencyProperty.RegisterAttached(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyPropertyTests));
807
DependencyProperty property1 = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(int), typeof(DependencyObject), new PropertyMetadata()).DependencyProperty;
808
DependencyProperty property2 = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(int), typeof(DependencyObject), new PropertyMetadata()).DependencyProperty;
829
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyProperty), new PropertyMetadata()));
830
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyProperty), new PropertyMetadata(), value => true));
836
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyObject), new PropertyMetadata()));
837
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyObject), new PropertyMetadata(), value => true));
848
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyProperty), metadata));
849
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyProperty), metadata, value => true));
855
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata()));
856
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata(), value => true));
864
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, null));
865
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata()));
866
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata { DefaultValue = 1 }));
867
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, null, value => true));
868
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata(), value => true));
869
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), ownerType, new PropertyMetadata { DefaultValue = 1 }, value => true));
876
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
877
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
884
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
885
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
891
DependencyProperty property = DependencyProperty.RegisterReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyObject), new PropertyMetadata()).DependencyProperty;
1101
DependencyProperty property1 = DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(int), typeof(DependencyObjectTests), new PropertyMetadata()).DependencyProperty;
1102
DependencyProperty property2 = DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(int), typeof(DependencyObjectTests), new PropertyMetadata()).DependencyProperty;
1123
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata()));
1124
Assert.Throws<ArgumentNullException>("propertyType", () => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, null!, typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
1130
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata()));
1131
Assert.Throws<NotSupportedException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(void), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
1142
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata));
1143
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, propertyType, typeof(DependencyPropertyTests), metadata, value => true));
1149
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata()));
1150
Assert.Throws<ArgumentNullException>("ownerType", () => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), null!, new PropertyMetadata(), value => true));
1157
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
1158
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
1165
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata));
1166
Assert.Throws<ArgumentException>(() => DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(SubDependencyObject), metadata, value => true));
1172
DependencyProperty property = DependencyProperty.RegisterAttachedReadOnly(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyPropertyTests), new PropertyMetadata()).DependencyProperty;
1205
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyPropertyTests));
1212
DependencyProperty property = DependencyProperty.Register(MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyPropertyTests));
System\Windows\FreezableTests.cs (76)
415
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
438
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
461
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
485
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
522
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
568
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
622
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
683
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
719
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
760
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
813
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
822
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
832
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
843
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
857
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
881
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject), new PropertyMetadata());
905
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
929
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject), new PropertyMetadata());
954
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
992
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1039
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1094
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1156
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
1193
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1234
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1287
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata(null));
1297
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
1309
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata(null));
1521
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
1747
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2407
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
2630
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
3195
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
3218
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool?), typeof(DependencyObject));
3241
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
3264
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(object), typeof(DependencyObject));
3327
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
3372
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
3419
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + customCoercedValue?.GetType().Name, typeof(string), typeof(DependencyObject), typeMetadata);
3465
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
3512
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
3546
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
3588
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + invalidValue?.GetType().Name, typeof(int), typeof(DependencyObject), typeMetadata);
3620
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + invalidValue?.GetType().Name, typeof(int), typeof(DependencyObject), typeMetadata);
3640
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
3656
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
3667
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
3681
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
4549
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
4743
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
5402
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
5596
DependencyPropertyKey propertyKey = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
6058
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6070
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6084
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
6096
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
6109
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6122
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6137
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), typeMetadata);
6150
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
6171
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6182
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
6649
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
6657
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), new PropertyMetadata());
6667
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
6679
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject), metadata);
6701
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
6720
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
6757
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
6805
DependencyPropertyKey key = DependencyProperty.RegisterReadOnly(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new PropertyMetadata());
6817
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool), typeof(DependencyObject));
6828
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(bool?), typeof(DependencyObject));
6844
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + value?.GetType().Name, typeof(string), typeof(DependencyObject));
6853
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject));
6876
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + value.ToString(), typeof(bool), typeof(DependencyObject));
6889
DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.
GetCurrentMethod
()!.Name + value.ToString(), typeof(bool), typeof(DependencyObject));
System\Windows\LocalValueEntryTests.cs (3)
43
DependencyProperty property1 = DependencyProperty.Register(nameof(LocalValueEntryTests) + MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(string), typeof(DependencyObject));
44
DependencyProperty property2 = DependencyProperty.Register(nameof(LocalValueEntryTests) + MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(string), typeof(DependencyObject));
103
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEntryTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
System\Windows\LocalValueEnumeratorTests.cs (11)
47
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
58
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
71
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
108
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
119
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
132
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
181
DependencyProperty property1 = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name + "1", typeof(string), typeof(DependencyObject));
182
DependencyProperty property2 = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name + "2", typeof(string), typeof(DependencyObject));
236
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
260
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
289
DependencyProperty property = DependencyProperty.Register(nameof(LocalValueEnumeratorTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(string), typeof(DependencyObject));
System\Windows\PropertyMetadataTests.cs (5)
152
DependencyProperty property = DependencyProperty.Register(nameof(PropertyMetadataTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyObjectTests));
206
DependencyProperty property = DependencyProperty.Register(nameof(PropertyMetadataTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyObjectTests));
214
DependencyProperty property = DependencyProperty.RegisterAttached(nameof(PropertyMetadataTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(bool), typeof(DependencyObject), new SubPropertyMetadata());
245
DependencyProperty property = DependencyProperty.Register(nameof(PropertyMetadataTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyObjectTests));
505
DependencyProperty property = DependencyProperty.RegisterAttached(nameof(PropertyMetadataTests) + MethodBase.
GetCurrentMethod
()!.Name, typeof(int), typeof(DependencyObject), new SubPropertyMetadata());