3 writes to AllowProtectedMembersOnRoot
System.Xaml (1)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
29
AllowProtectedMembersOnRoot
= settings.AllowProtectedMembersOnRoot;
System.Xaml.Tests (2)
System\Xaml\XamlReaderSettingsTests.cs (1)
31
AllowProtectedMembersOnRoot
= true,
System\Xaml\XamlXmlReaderSettingsTests.cs (1)
35
AllowProtectedMembersOnRoot
= true,
11 references to AllowProtectedMembersOnRoot
System.Xaml (4)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
29
AllowProtectedMembersOnRoot = settings.
AllowProtectedMembersOnRoot
;
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
226
_context.AllowProtectedMembersOnRoot = _mergedSettings.
AllowProtectedMembersOnRoot
;
System\Xaml\XamlObjectReader.cs (2)
2802
if(Settings.
AllowProtectedMembersOnRoot
&& IsRoot)
2813
if(Settings.
AllowProtectedMembersOnRoot
&& IsRoot)
System.Xaml.Tests (7)
System\Xaml\XamlObjectReaderSettingsTests.cs (1)
15
Assert.False(settings.
AllowProtectedMembersOnRoot
);
System\Xaml\XamlReaderSettingsTests.cs (3)
16
Assert.False(settings.
AllowProtectedMembersOnRoot
);
46
Assert.Equal(settings?.
AllowProtectedMembersOnRoot
?? false, newSettings.
AllowProtectedMembersOnRoot
);
System\Xaml\XamlXmlReaderSettingsTests.cs (3)
16
Assert.False(settings.
AllowProtectedMembersOnRoot
);
54
Assert.Equal(settings?.
AllowProtectedMembersOnRoot
?? false, newSettings.
AllowProtectedMembersOnRoot
);