Method ExpectNotAliased
ExpectNotAliased(void*, void*)
Will cause a compiler error in Burst-compiled code if a and b can alias.
Declaration
public static void ExpectNotAliased(void* a, void* b)
Parameters
Type | Name | Description |
---|---|---|
void* | a | A pointer to do aliasing checks on. |
void* | b | A pointer to do aliasing checks on. |
ExpectNotAliased<A, B>(in A, in B)
Will cause a compiler error in Burst-compiled code if a and b can alias.
Declaration
public static void ExpectNotAliased<A, B>(in A a, in B b) where A : struct where B : struct
Parameters
Type | Name | Description |
---|---|---|
A | a | A reference to do aliasing checks on. |
B | b | A reference to do aliasing checks on. |
Type Parameters
Name | Description |
---|---|
A | The type of a. |
B | The type of b. |
ExpectNotAliased<B>(void*, in B)
Will cause a compiler error in Burst-compiled code if a and b can alias.
Declaration
public static void ExpectNotAliased<B>(void* a, in B b) where B : struct
Parameters
Type | Name | Description |
---|---|---|
void* | a | A pointer to do aliasing checks on. |
B | b | A reference to do aliasing checks on. |
Type Parameters
Name | Description |
---|---|
B | The type of b. |
ExpectNotAliased<A>(in A, void*)
Will cause a compiler error in Burst-compiled code if a and b can alias.
Declaration
public static void ExpectNotAliased<A>(in A a, void* b) where A : struct
Parameters
Type | Name | Description |
---|---|---|
A | a | A reference to do aliasing checks on. |
void* | b | A pointer to do aliasing checks on. |
Type Parameters
Name | Description |
---|---|
A | The type of a. |