-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f713475
commit 6191eb0
Showing
3 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
namespace InlineIL.Tests.Common; | ||
|
||
public class TypeFromReferencedAssembly | ||
public unsafe class TypeFromReferencedAssembly | ||
{ | ||
public readonly StructFromReferencedAssembly FieldWithTypeFromThisAssembly = default; | ||
public readonly StructFromReferencedAssembly* PointerField = default; | ||
} | ||
|
||
public unsafe class TypeFromReferencedAssembly<T> | ||
where T : unmanaged | ||
{ | ||
public readonly T* PointerField = default; | ||
} | ||
|
||
public struct StructFromReferencedAssembly; | ||
public struct OtherStructFromReferencedAssembly; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters