14 instantiations of ContentWrapperAttribute
PresentationFramework (2)
System\Windows\Documents\InlineCollection.cs (2)
20
[
ContentWrapper
(typeof(Run))]
21
[
ContentWrapper
(typeof(InlineUIContainer))]
System.Xaml.Tests (12)
System\Windows\Markup\ContentWrapperAttributeTests.cs (12)
17
var attribute = new
ContentWrapperAttribute
(contentWrapper!);
23
var attribute = new
ContentWrapperAttribute
(typeof(int));
25
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(int)), true };
26
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(string)), false };
27
yield return new object?[] { attribute, new
ContentWrapperAttribute
(null!), false };
28
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(null!), true };
29
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(typeof(int)), false };
45
var attribute = new
ContentWrapperAttribute
(typeof(int));
52
var attribute = new
ContentWrapperAttribute
(null!);
59
var attribute = new
ContentWrapperAttribute
(typeof(int));
16 references to ContentWrapperAttribute
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
200
case 104: t = () => typeof(
ContentWrapperAttribute
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2949
typeof(System.Windows.Markup.
ContentWrapperAttribute
),
System\Windows\Markup\KnownTypes.cs (1)
5658
case KnownElements.ContentWrapperAttribute: t = typeof(System.Windows.Markup.
ContentWrapperAttribute
); break;
System\Windows\Markup\Primitives\MarkupWriter.cs (3)
1089
if (attributes[typeof(
ContentWrapperAttribute
)] == null)
1096
ContentWrapperAttribute
contentAttribute = attribute as
ContentWrapperAttribute
;
System.Xaml (4)
System\Windows\Markup\ContentWrapperAttribute.cs (1)
46
obj is
ContentWrapperAttribute
other &&
System\Xaml\Schema\Reflector.cs (2)
286
if (attributeType == typeof(
ContentWrapperAttribute
))
288
foreach (
ContentWrapperAttribute
attribute in attributes)
System\Xaml\XamlType.cs (1)
776
List<Type> wrapperTypes = _reflector.GetAllAttributeContents<Type>(typeof(
ContentWrapperAttribute
));
System.Xaml.Tests (6)
System\Windows\Markup\ContentWrapperAttributeTests.cs (6)
17
var
attribute = new ContentWrapperAttribute(contentWrapper!);
23
var
attribute = new ContentWrapperAttribute(typeof(int));
37
public void Equals_Invoke_ReturnsExpected(
ContentWrapperAttribute
attribute, object? other, bool expected)
45
var
attribute = new ContentWrapperAttribute(typeof(int));
52
var
attribute = new ContentWrapperAttribute(null!);
59
var
attribute = new ContentWrapperAttribute(typeof(int));