Skip to content

Commit

Permalink
[wasm] hide interop delegates from intelisense (#75800)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Sep 19, 2022
1 parent 2f3fcca commit 16cb35f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ public sealed class JSMarshalerType
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public struct JSMarshalerArgument
{
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public delegate void ArgumentToManagedCallback<T>(ref JSMarshalerArgument arg, out T value);
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public delegate void ArgumentToJSCallback<T>(ref JSMarshalerArgument arg, T value);
public void Initialize() { throw null; }
public void ToManaged(out bool value) { throw null; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ public partial struct JSMarshalerArgument
/// Helps with marshaling of the Task result or Function arguments.
/// It's used by JSImport code generator and should not be used by developers in source code.
/// </summary>
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public delegate void ArgumentToManagedCallback<T>(ref JSMarshalerArgument arg, out T value);

/// <summary>
/// Helps with marshaling of the Task result or Function arguments.
/// It's used by JSImport code generator and should not be used by developers in source code.
/// </summary>
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public delegate void ArgumentToJSCallback<T>(ref JSMarshalerArgument arg, T value);

/// <summary>
Expand Down

0 comments on commit 16cb35f

Please sign in to comment.