79 references to Type
PresentationFramework (16)
System\Windows\FrameworkTemplate.cs (1)
1023Names.CurrentFrame.Type = Names.PreviousFrame.Property.Type;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (6)
1061if (_context.CurrentFrame.Member.Type != null && 1062!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1587Type propertyType = property.Type.UnderlyingType; 2419XamlType parentPropertyType = parentProperty.Type; 2484EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2594Debug.Assert(property.Type.UnderlyingType == typeof(DependencyProperty));
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (4)
127if (xamlProperty.Type.UnderlyingType.IsEnum && schemaContext is Baml2006.Baml2006SchemaContext) 129typeConverter = XamlReader.BamlSharedSchemaContext.GetTypeConverter(xamlProperty.Type.UnderlyingType); 137typeConverter = xamlProperty.Type.TypeConverter; 155if (xamlProperty != null && xamlProperty.Type.UnderlyingType == typeof(Boolean))
System\Windows\Markup\WpfXamlLoader.cs (1)
236stack.CurrentFrame.Type = stack.PreviousFrame.Property.Type;
System\Windows\TemplateContent.cs (4)
475XamlType type = stack.CurrentFrame.Property.Type; 869else if (xamlProperty.Type.TypeConverter != null) 871converter = xamlProperty.Type.TypeConverter.ConverterInstance; 957XamlType type = frames.CurrentFrame.Property.Type;
System.Xaml (63)
System\Xaml\Context\ObjectWriterContext.cs (1)
306return frame.Member.Type;
System\Xaml\Context\XamlParserContext.cs (2)
133if (member.IsReadOnly || (member.Type != null && member.Type.IsUsableAsReadOnly))
System\Xaml\InfosetObjects\XamlObjectWriter.cs (13)
302_context.CurrentType = parentProperty.Type; 306if (parentProperty.Type.IsCollection || parentProperty.Type.IsDictionary) 667XamlType propertyXamlType = property.Type; 670_context.CurrentCollection = Runtime.CreateInstance(property.Type, null); 767if (!property.Type.IsMarkupExtension || !valueXamlType.CanAssignTo(property.Type)) 778if (valueXamlType == XamlLanguage.String || !valueXamlType.CanAssignTo(property.Type)) 857XamlType parentXamlType = parentProperty.Type; 1307XamlType propertyType = property.Type; 1578if (prop.Type.IsXData) 1722ctx.CurrentType = ctx.ParentProperty.Type; 1963XamlType ppXamlType = parentProperty.Type;
System\Xaml\Parser\XamlPullParser.cs (9)
839XamlType memberXamlType = member.Type; 981XamlType propertyType = currentProperty.Type; 1009propertyType = currentProperty.Type; 1089XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1108if (prop != null && prop.Type != null && prop.Type.IsWhitespaceSignificantCollection) 1137if (prop.Type == XamlLanguage.String) 1141if (prop.Type.IsWhitespaceSignificantCollection) 1171XamlType propertyType = property.Type;
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
242value = CreateInstance(property.Type, null);
System\Xaml\Schema\TypeReflector.cs (1)
985if (member.IsReadOnly && !member.Type.IsUsableAsReadOnly)
System\Xaml\Schema\XamlDirective.cs (1)
188return base.Type;
System\Xaml\XamlMarkupExtensionWriter.cs (2)
399(property.IsDirective && (property.Type.IsCollection || property.Type.IsDictionary)))
System\Xaml\XamlMember.cs (6)
536if (Type != null) 538return Type.DeferringLoader; 676if (result == null && Type != null) 678result = Type.TypeConverter; 695if (result == null && Type != null) 697result = Type.ValueSerializer;
System\Xaml\XamlObjectReader.cs (12)
381if (attachedProperty.Type.IsDictionary) 386if (attachedProperty.Type.IsCollection) 514if (property.Type.IsXData) 521if (property.Type.IsDictionary) 526if (property.Type.IsCollection) 537var itemsInfo = ForSequenceItems(source, isAttachable ? null : property, property.Type, context, false /*allowReadOnly*/); 565var itemsInfo = ForDictionaryItems(source, isAttachable ? null : property, property.Type, context); 672var memberType = memberInfo.XamlNode.Member.Type; 1602return XamlLanguage.String.CanAssignTo(property.Type); 1654if ((potentialProperty.Type.UnderlyingType == paraminfo.ParameterType) && 2110property.Type.UnderlyingType == parameter.ParameterType) 2316(context.IsPropertyWriteVisible(property) || property.Type.IsUsableAsReadOnly);
System\Xaml\XamlType.cs (5)
695XamlType contentType = contentWrapper.ContentProperty.Type; 1010if (!member.IsReadOnly || member.Type.IsUsableAsReadOnly) 1046if (!skipReadOnlyCheck && result.IsReadOnly && !result.Type.IsUsableAsReadOnly) 1072if (result.IsReadOnly && !result.Type.IsUsableAsReadOnly) 1554if (excludedMember.IsReadOnly && !excludedMember.Type.IsUsableAsReadOnly)
System\Xaml\XamlXmlWriter.cs (10)
155type = frame.Member.Type; 351containingXamlType = (enumerator.Current.Member == null) || enumerator.Current.Member.IsUnknown ? null : enumerator.Current.Member.Type; 899type = frame.Member.Type; 1186else if (property.IsDirective && (property.Type != null && (property.Type.IsCollection || property.Type.IsDictionary))) 1378XamlType memberType = frame.Member.Type; 1685if (XamlLanguage.String.CanAssignTo(property.Type)) 1731if (XamlLanguage.String.CanAssignTo(property.Type) && !string.IsNullOrEmpty(value)) 1915if ((potentialProperty.Type.UnderlyingType == paraminfo.ParameterType) &&