14 references to ContentWrapperAttribute
PresentationFramework (2)
System\Windows\Documents\InlineCollection.cs (2)
19[ContentWrapper(typeof(Run))] 20[ContentWrapper(typeof(InlineUIContainer))]
System.Xaml.Tests (12)
System\Windows\Markup\ContentWrapperAttributeTests.cs (12)
16var attribute = new ContentWrapperAttribute(contentWrapper!); 22var attribute = new ContentWrapperAttribute(typeof(int)); 24yield return new object?[] { attribute, new ContentWrapperAttribute(typeof(int)), true }; 25yield return new object?[] { attribute, new ContentWrapperAttribute(typeof(string)), false }; 26yield return new object?[] { attribute, new ContentWrapperAttribute(null!), false }; 27yield return new object?[] { new ContentWrapperAttribute(null!), new ContentWrapperAttribute(null!), true }; 28yield return new object?[] { new ContentWrapperAttribute(null!), new ContentWrapperAttribute(typeof(int)), false }; 44var attribute = new ContentWrapperAttribute(typeof(int)); 51var attribute = new ContentWrapperAttribute(null!); 58var attribute = new ContentWrapperAttribute(typeof(int));