Method ExpectAliased
ExpectAliased(Void*, Void*)
Will cause a compiler error in Burst-compiled code if a and b do not alias.
Declaration
public static void ExpectAliased(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.  | 
ExpectAliased<A, B>(in A, in B)
Will cause a compiler error in Burst-compiled code if a and b do not alias.
Declaration
public static void ExpectAliased<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.  | 
ExpectAliased<B>(Void*, in B)
Will cause a compiler error in Burst-compiled code if a and b do not alias.
Declaration
public static void ExpectAliased<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.  | 
ExpectAliased<A>(in A, Void*)
Will cause a compiler error in Burst-compiled code if a and b do not alias.
Declaration
public static void ExpectAliased<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.  |