5 references to PublicClass
System.Xaml.Tests (5)
System\Xaml\Schema\XamlTypeInvokerTests.cs (5)
155var invoker = new XamlTypeInvoker(new XamlType(typeof(PublicClass), new XamlSchemaContext())); 156Assert.Equal(1, Assert.IsType<PublicClass>(invoker.CreateInstance(null)).Value); 157Assert.Equal(1, Assert.IsType<PublicClass>(invoker.CreateInstance(Array.Empty<object>())).Value); 163var invoker = new XamlTypeInvoker(new XamlType(typeof(PublicClass), new XamlSchemaContext())); 164Assert.Equal(2, Assert.IsType<PublicClass>(invoker.CreateInstance(new object[] { 2 })).Value);