7 references to ClassWithAttributes
System.Xaml.Tests (7)
System\Xaml\Schema\XamlTypeInvokerTests.cs (7)
27
var type = new XamlType(typeof(
ClassWithAttributes
), new XamlSchemaContext());
29
Assert.Equal(Delegate.CreateDelegate(typeof(EventHandler<XamlSetMarkupExtensionEventArgs>), typeof(
ClassWithAttributes
), nameof(
ClassWithAttributes
.MarkupExtensionMethod)), invoker.SetMarkupExtensionHandler);
30
Assert.Equal(Delegate.CreateDelegate(typeof(EventHandler<XamlSetTypeConverterEventArgs>), typeof(
ClassWithAttributes
), nameof(
ClassWithAttributes
.TypeConverterMethod)), invoker.SetTypeConverterHandler);
430
[XamlSetMarkupExtension(nameof(
ClassWithAttributes
.MarkupExtensionMethod))]
431
[XamlSetTypeConverter(nameof(
ClassWithAttributes
.TypeConverterMethod))]