39 references to SchemaContext
PresentationFramework (8)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
338xTypes.Add(SchemaContext.GetXamlType(type));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
138result = new WpfXamlMember(DependencyProperty, underlyingProperty, DeclaringType.SchemaContext, _useV3Rules);
System\Windows\Markup\Baml2006\WpfXamlType.cs (4)
386return new WpfXamlMember(re, (MethodInfo)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules); 396return new WpfXamlMember(re, (EventInfo)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules); 409SchemaContext, UseV3Rules); 422return new WpfXamlMember(property, propertyInfo, SchemaContext, UseV3Rules);
System\Windows\Markup\WpfXamlLoader.cs (2)
288XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 289XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System.Xaml (27)
System\Xaml\Schema\TypeReflector.cs (1)
423XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlTypeInvoker.cs (2)
75itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 109itemType = _xamlType.SchemaContext.GetXamlType(item.GetType());
System\Xaml\XamlMember.cs (1)
892private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }
System\Xaml\XamlType.cs (23)
629TypeReflector.IsVisibleTo(underlyingType, accessingAssembly, SchemaContext); 757return SchemaContext.GetXamlType(underlyingType.BaseType); 831contentWrappers.Add(SchemaContext.GetXamlType(wrapperType)); 865return SchemaContext.GetValueConverter<XamlDeferringLoader>(loaderTypes[0], null); 984return SchemaContext.GetXamlType(addParams[0].ParameterType); 1023return (result is not null) ? SchemaContext.GetXamlType(result) : null; 1034XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1055return _reflector.LookupAllAttachableMembers(SchemaContext); 1075XamlMember member = SchemaContext.GetProperty(pi); 1087XamlMember member = SchemaContext.GetEvent(ei); 1113XamlMember result = SchemaContext.GetProperty(pi); 1126return SchemaContext.GetEvent(ei); 1143XamlMember result = SchemaContext.GetAttachableProperty(name, getter, setter); 1155return SchemaContext.GetAttachableEvent(name, setter); 1237return SchemaContext.GetValueConverter<TypeConverter>(converterType, null); 1255return SchemaContext.GetValueConverter<TypeConverter>(typeof(EnumConverter), this); 1268XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1284return SchemaContext.GetValueConverter<ValueSerializer>(converterType, null); 1310XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1666XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext); 1688XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1703XamlType xamlType = SchemaContext.GetXamlType(type); 1709if (!SchemaContext.SupportMarkupExtensionsWithDuplicateArity)
System.Xaml.Tests (4)
System\Xaml\XamlTypeTests.cs (4)
38Assert.Equal(schemaContext, type.SchemaContext); 68Assert.Equal(schemaContext, type.SchemaContext); 94Assert.Equal(schemaContext, type.SchemaContext); 114Assert.Equal(schemaContext, type.SchemaContext);