Skip to content

Commit

Permalink
replace must be recursively pinned with must be deserializable based …
Browse files Browse the repository at this point in the history
…on recent discussion
  • Loading branch information
alamarre committed Oct 11, 2023
1 parent e29d544 commit ee04d8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace D2L.CodeStyle.Annotations.Pinning {
/// <summary>
/// Represents a parameter in a dangerous call chain (e.g. serialization using the assembly qualified name) that must be pinned recursively
/// Represents a parameter in the call chain of serialization in order to enforce pinning or otherwise set limitations on serialized types
/// </summary>
[AttributeUsage( AttributeTargets.Parameter | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false )]
public sealed class MustBeRecursivelyPinnedAttribute : Attribute {
public sealed class MustBeDeserializableAttribute : Attribute {
}
}

0 comments on commit ee04d8a

Please sign in to comment.