Skip to content

Commit f4b9897

Browse files
committed
Component subscription tests
1 parent 66a2fe2 commit f4b9897

File tree

2 files changed

+345
-7
lines changed

2 files changed

+345
-7
lines changed

src/Components/Components/src/PersistentState/PersistentValueProviderComponentSubscription.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public PersistentValueProviderComponentSubscription(
9999
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "OpenComponent already has the right set of attributes")]
100100
[UnconditionalSuppressMessage("Trimming", "IL2072:Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The return value of the source method does not have matching annotations.", Justification = "OpenComponent already has the right set of attributes")]
101101
[UnconditionalSuppressMessage("Trimming", "IL2077:'type' argument does not satisfy 'DynamicallyAccessedMemberTypes' in call to target method. The source field does not have matching annotations.", Justification = "Property types on components are preserved through other means.")]
102-
private void RestoreProperty()
102+
internal void RestoreProperty()
103103
{
104104
var skipNotifications = _hasPendingInitialValue;
105105
if (ReferenceEquals(_lastValue, _uninitializedValue) && !_hasPendingInitialValue)

0 commit comments

Comments
 (0)