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