13 references to IsReadOnly
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2421if (parentProperty.IsReadOnly)
System.Xaml (10)
System\Xaml\Context\XamlParserContext.cs (1)
135if (member.IsReadOnly || (member.Type is not null && member.Type.IsUsableAsReadOnly))
System\Xaml\Parser\XamlPullParser.cs (2)
1067if (currentProperty.IsReadOnly || !_context.CurrentMemberIsWriteVisible()) 1074else if (propertyType.TypeConverter is not null && !currentProperty.IsReadOnly
System\Xaml\Schema\TypeReflector.cs (1)
1020if (member.IsReadOnly && !member.Type.IsUsableAsReadOnly)
System\Xaml\XamlMember.cs (1)
674return !IsReadOnly;
System\Xaml\XamlType.cs (4)
1077if (!member.IsReadOnly || member.Type.IsUsableAsReadOnly) 1116if (!skipReadOnlyCheck && result.IsReadOnly && !result.Type.IsUsableAsReadOnly) 1145if (result.IsReadOnly && !result.Type.IsUsableAsReadOnly) 1669if (excludedMember.IsReadOnly && !excludedMember.Type.IsUsableAsReadOnly)
System\Xaml\XamlXmlWriter.cs (1)
1968if (member.IsReadOnly)
System.Xaml.Tests (2)
System\Xaml\XamlMemberTests.cs (2)
1028Assert.Equal(expected, member.IsReadOnly); 1035Assert.False(directive.IsReadOnly);