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