Skip to content

Commit

Permalink
Remove block of doc text for generics. Will add
Browse files Browse the repository at this point in the history
back when supported is added.
  • Loading branch information
AaronRobinsonMSFT committed Jun 12, 2023
1 parent 3663bad commit c2be6fc
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,21 @@ public enum UnsafeAccessorKind
/// The first argument must be passed as <code>ref</code> for instance fields and methods on structs.
/// The value of the first argument is not used by the implementation for <code>static</code> fields and methods.
///
/// The generic parameters of the <code>extern static</code> method are a concatenation of the type and
/// method generic arguments of the target method. For example,
/// <code>extern static void Method1&lt;T1, T2&gt;(Class1&lt;T1&gt; @this)</code>
/// can be used to call <code>Class1&lt;T1&gt;.Method1&lt;T2&gt;()</code>. The generic constraints of the
/// <code>extern static</code> method must match generic constraints of the target type, field or method.
///
/// Return type is considered for the signature match. modreqs and modopts are initially not considered for
/// the signature match. However, if an ambiguity exists ignoring modreqs and modopts, a precise match
/// is attempted. If an ambiguity still exists <see cref="System.Reflection.AmbiguousMatchException" /> is thrown.
/// </remarks>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class UnsafeAccessorAttribute : Attribute
{
// Block of text to include above when Generics support is added:
//
// The generic parameters of the <code>extern static</code> method are a concatenation of the type and
// method generic arguments of the target method. For example,
// <code>extern static void Method1&lt;T1, T2&gt;(Class1&lt;T1&gt; @this)</code>
// can be used to call <code>Class1&lt;T1&gt;.Method1&lt;T2&gt;()</code>. The generic constraints of the
// <code>extern static</code> method must match generic constraints of the target type, field or method.

/// <summary>
/// Instantiates an <see cref="UnsafeAccessorAttribute"/> providing access to a member of kind <see cref="UnsafeAccessorKind"/>.
/// </summary>
Expand Down

0 comments on commit c2be6fc

Please sign in to comment.