13 references to IsReadOnly
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2420
if (parentProperty.
IsReadOnly
)
System.Xaml (10)
System\Xaml\Context\XamlParserContext.cs (1)
134
if (member.
IsReadOnly
|| (member.Type is not null && member.Type.IsUsableAsReadOnly))
System\Xaml\Parser\XamlPullParser.cs (2)
1066
if (currentProperty.
IsReadOnly
|| !_context.CurrentMemberIsWriteVisible())
1073
else if (propertyType.TypeConverter is not null && !currentProperty.
IsReadOnly
System\Xaml\Schema\TypeReflector.cs (1)
1019
if (member.
IsReadOnly
&& !member.Type.IsUsableAsReadOnly)
System\Xaml\XamlMember.cs (1)
674
return !
IsReadOnly
;
System\Xaml\XamlType.cs (4)
1076
if (!member.
IsReadOnly
|| member.Type.IsUsableAsReadOnly)
1115
if (!skipReadOnlyCheck && result.
IsReadOnly
&& !result.Type.IsUsableAsReadOnly)
1144
if (result.
IsReadOnly
&& !result.Type.IsUsableAsReadOnly)
1667
if (excludedMember.
IsReadOnly
&& !excludedMember.Type.IsUsableAsReadOnly)
System\Xaml\XamlXmlWriter.cs (1)
1949
if (member.
IsReadOnly
)
System.Xaml.Tests (2)
System\Xaml\XamlMemberTests.cs (2)
1028
Assert.Equal(expected, member.
IsReadOnly
);
1035
Assert.False(directive.
IsReadOnly
);