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