Skip to content

Commit 337d67a

Browse files
authored
Merge pull request #522 from alrun3/unsafe-as
feat: add `Unsafe.As<T>`
2 parents 8c5558e + 15dc470 commit 337d67a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CSharp.lua/System.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,10 @@ limitations under the License.
846846
<method name="op_Inequality" Template="{0} ~= {1}" />
847847
</class>
848848
</namespace>
849-
<namespace name="System.Runtime.CompilerServices" Name="System" />
849+
<namespace name="System.Runtime.CompilerServices" Name="System">
850+
<class name="Unsafe">
851+
<method name="As" Template="{0}" />
852+
</class>
853+
</namespace>
850854
</assembly>
851855
</meta>

0 commit comments

Comments
 (0)