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