39 references to SchemaContext
PresentationFramework (8)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
339xTypes.Add(SchemaContext.GetXamlType(type));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
139result = new WpfXamlMember(DependencyProperty, underlyingProperty, DeclaringType.SchemaContext, _useV3Rules);
System\Windows\Markup\Baml2006\WpfXamlType.cs (4)
387return new WpfXamlMember(re, (MethodInfo)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules); 397return new WpfXamlMember(re, (EventInfo)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules); 410SchemaContext, UseV3Rules); 423return new WpfXamlMember(property, propertyInfo, SchemaContext, UseV3Rules);
System\Windows\Markup\WpfXamlLoader.cs (2)
292XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 293XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System.Xaml (27)
System\Xaml\Schema\TypeReflector.cs (1)
424XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlTypeInvoker.cs (2)
76itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 110itemType = _xamlType.SchemaContext.GetXamlType(item.GetType());
System\Xaml\XamlMember.cs (1)
892private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }
System\Xaml\XamlType.cs (23)
630TypeReflector.IsVisibleTo(underlyingType, accessingAssembly, SchemaContext); 758return SchemaContext.GetXamlType(underlyingType.BaseType); 832contentWrappers.Add(SchemaContext.GetXamlType(wrapperType)); 866return SchemaContext.GetValueConverter<XamlDeferringLoader>(loaderTypes[0], null); 985return SchemaContext.GetXamlType(addParams[0].ParameterType); 1024return (result is not null) ? SchemaContext.GetXamlType(result) : null; 1035XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1056return _reflector.LookupAllAttachableMembers(SchemaContext); 1076XamlMember member = SchemaContext.GetProperty(pi); 1088XamlMember member = SchemaContext.GetEvent(ei); 1114XamlMember result = SchemaContext.GetProperty(pi); 1127return SchemaContext.GetEvent(ei); 1144XamlMember result = SchemaContext.GetAttachableProperty(name, getter, setter); 1156return SchemaContext.GetAttachableEvent(name, setter); 1238return SchemaContext.GetValueConverter<TypeConverter>(converterType, null); 1256return SchemaContext.GetValueConverter<TypeConverter>(typeof(EnumConverter), this); 1269XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1285return SchemaContext.GetValueConverter<ValueSerializer>(converterType, null); 1311XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1668XamlMember excludedMember = new XamlMember(excludedMembers[i], SchemaContext); 1690XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1705XamlType xamlType = SchemaContext.GetXamlType(type); 1711if (!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);