Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Dec 26, 2024
1 parent d08a901 commit e4dad58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ReactWithDotNet/ILCodeGeneration/MetadataHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public sealed class ExternalAttribute : Attribute
public static class console
{
public static extern void log(object data);

Check warning on line 16 in ReactWithDotNet/ILCodeGeneration/MetadataHelper.cs

View workflow job for this annotation

GitHub Actions / build

Method, operator, or accessor 'console.log(object)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
public static extern void time(string label);

Check warning on line 17 in ReactWithDotNet/ILCodeGeneration/MetadataHelper.cs

View workflow job for this annotation

GitHub Actions / build

Method, operator, or accessor 'console.time(string)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
public static extern void timeEnd(string label);

Check warning on line 18 in ReactWithDotNet/ILCodeGeneration/MetadataHelper.cs

View workflow job for this annotation

GitHub Actions / build

Method, operator, or accessor 'console.timeEnd(string)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.

}

[External]
Expand Down

0 comments on commit e4dad58

Please sign in to comment.