8 instantiations of UsableDuringInitializationAttribute
PresentationFramework (4)
System\Windows\Documents\DocumentReference.cs (1)
24
[
UsableDuringInitialization
(false)]
System\Windows\FrameworkContentElement.cs (1)
42
[
UsableDuringInitialization
(true)]
System\Windows\FrameworkElement.cs (1)
93
[
UsableDuringInitialization
(true)]
System\Windows\ResourceDictionary.cs (1)
36
[
UsableDuringInitialization
(true)]
System.Xaml.Tests (4)
System\Windows\Markup\UsableDuringInitializationAttributeTests.cs (1)
15
var attribute = new
UsableDuringInitializationAttribute
(usable);
System\Xaml\XamlTypeTests.cs (3)
4469
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
UsableDuringInitializationAttribute
(true) }
4491
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
UsableDuringInitializationAttribute
(true) }
4616
[
UsableDuringInitializationAttribute
(true)]
5 references to UsableDuringInitializationAttribute
System.Xaml (3)
System\Xaml\Schema\Reflector.cs (2)
190
if (attributeType == typeof(
UsableDuringInitializationAttribute
))
192
bool result = ((
UsableDuringInitializationAttribute
)attributes[0]).Usable;
System\Xaml\XamlType.cs (1)
1345
bool? usable = _reflector.GetAttributeValue<bool>(typeof(
UsableDuringInitializationAttribute
));
System.Xaml.Tests (2)
System\Windows\Markup\UsableDuringInitializationAttributeTests.cs (1)
15
var
attribute = new UsableDuringInitializationAttribute(usable);
System\Xaml\XamlTypeTests.cs (1)
4606
ConstructorResult = typeof(
UsableDuringInitializationAttribute
).GetConstructors()[0],