40 references to Object
System.Xaml (17)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1859if (excludeObjectType && itemType == XamlLanguage.Object)
System\Xaml\Parser\XamlPullParser.cs (1)
1237if (allowedType == XamlLanguage.String || allowedType == XamlLanguage.Object)
System\Xaml\Schema\BuiltInValueConverter.cs (1)
66=> s_Object ??= new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object);
System\Xaml\Schema\MemberReflector.cs (1)
99s_UnknownReflector.Type = XamlLanguage.Object;
System\Xaml\Schema\TypeReflector.cs (1)
82_baseType.Value = XamlLanguage.Object;
System\Xaml\XamlLanguage.cs (2)
355return Object; 414XamlType[] result = new XamlType[] { Array, Member, Null, Property, Reference, Static, Type, String, Double, Int16, Int32, Int64, Boolean, XData, Object, Char, Single, Byte, Decimal, Uri, TimeSpan };
System\Xaml\XamlMember.cs (4)
236return XamlLanguage.Object; 239_reflector.TargetType = LookupTargetType() ?? XamlLanguage.Object; 253_reflector.Type = LookupType() ?? XamlLanguage.Object; 692return XamlLanguage.Object;
System\Xaml\XamlObjectReader.cs (1)
3253while (baseType is not null && baseType != XamlLanguage.Object)
System\Xaml\XamlType.cs (5)
205_reflector.KeyType = LookupKeyType() ?? XamlLanguage.Object; 224_reflector.ItemType = LookupItemType() ?? XamlLanguage.Object; 341_reflector.MarkupExtensionReturnType = LookupMarkupExtensionReturnType() ?? XamlLanguage.Object; 753return XamlLanguage.Object; 1245if (result is not null && result.TargetType != XamlLanguage.Object)
System.Xaml.Tests (23)
System\Xaml\XamlDirectiveTests.cs (1)
68Assert.Equal(XamlLanguage.Object, directive.Type);
System\Xaml\XamlLanguageTests.cs (3)
163XamlType type = XamlLanguage.Object; 164Assert.Same(type, XamlLanguage.Object); 264Assert.Equal(new XamlType[] { XamlLanguage.Array, XamlLanguage.Member, XamlLanguage.Null, XamlLanguage.Property, XamlLanguage.Reference, XamlLanguage.Static, XamlLanguage.Type, XamlLanguage.String, XamlLanguage.Double, XamlLanguage.Int16, XamlLanguage.Int32, XamlLanguage.Int64, XamlLanguage.Boolean, XamlLanguage.XData, XamlLanguage.Object, XamlLanguage.Char, XamlLanguage.Single, XamlLanguage.Byte, XamlLanguage.Decimal, XamlLanguage.Uri, XamlLanguage.TimeSpan }, types);
System\Xaml\XamlMemberTests.cs (11)
1525yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), XamlLanguage.Object, XamlLanguage.Object }; 1555XamlLanguage.Object, XamlLanguage.Object 1564null, XamlLanguage.Object 1572null, XamlLanguage.Object 1675Assert.Equal(expected ?? XamlLanguage.Object, member.Type); 1682Assert.Equal(XamlLanguage.Object, directive.Type); 1687yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object), null }; 1688yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object), null }; 1722new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object), null
System\Xaml\XamlNodeListTests.cs (2)
273writer.WriteStartObject(XamlLanguage.Object); 283Assert.Equal(XamlLanguage.Object, reader.Type);
System\Xaml\XamlTypeTests.cs (6)
1701yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), XamlLanguage.Object }; 1702yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), XamlLanguage.Object }; 3023Assert.Equal((type.IsArray || type.IsCollection || type.IsDictionary) ? expected ?? XamlLanguage.Object : null, type.ItemType); 3078Assert.Equal(type.IsDictionary ? expected ?? XamlLanguage.Object : null, type.KeyType); 3368Assert.Equal(type.IsMarkupExtension ? expected ?? XamlLanguage.Object : null, type.MarkupExtensionReturnType); 4224yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object) };