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