36 references to Event
System.Xaml.Tests (36)
System\Xaml\XamlMemberTests.cs (36)
104yield return new object[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext() }; 125yield return new object?[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext(), null }; 126yield return new object?[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext(), new XamlMemberInvoker(new XamlMember("name", type, false)) }; 325EventInfo eventInfo = typeof(DataClass).GetEvent(nameof(DataClass.Event))!; 582GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) } 585new XamlMember[] { new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()) } 604GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) } 710var invoker = new XamlMemberInvoker(new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext())); 821new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 840new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 919new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1004new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1056new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1161new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1246new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1540new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1627new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1662new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 1876new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1925new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1926typeof(DataClass).GetEvent(nameof(DataClass.Event)), typeof(DataClass).GetEvent(nameof(DataClass.Event))! 1936new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 1940null, typeof(DataClass).GetEvent(nameof(DataClass.Event))! 2005new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 2006typeof(DataClass).GetEvent(nameof(DataClass.Event))!.GetAddMethod(true)! 2200yield return new object?[] { member, new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), false }; 2207new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2208new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2213new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2219new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2225new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2231new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2237new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2275new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2325yield return new object[] { new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()) };