docs.unity3d.com
    Show / Hide Table of Contents

    Class Aliasing

    Compile-time aliasing intrinsics.

    Inheritance
    Object
    Aliasing
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Burst.CompilerServices
    Syntax
    public static class Aliasing

    Methods

    Name Description
    ExpectAliased(Void*, Void*)

    Will cause a compiler error in Burst-compiled code if a and b do not alias.

    ExpectAliased<A>(in A, Void*)

    Will cause a compiler error in Burst-compiled code if a and b do not alias.

    ExpectAliased<B>(Void*, in B)

    Will cause a compiler error in Burst-compiled code if a and b do not alias.

    ExpectAliased<A, B>(in A, in B)

    Will cause a compiler error in Burst-compiled code if a and b do not alias.

    ExpectNotAliased(Void*, Void*)

    Will cause a compiler error in Burst-compiled code if a and b can alias.

    ExpectNotAliased<A>(in A, Void*)

    Will cause a compiler error in Burst-compiled code if a and b can alias.

    ExpectNotAliased<B>(Void*, in B)

    Will cause a compiler error in Burst-compiled code if a and b can alias.

    ExpectNotAliased<A, B>(in A, in B)

    Will cause a compiler error in Burst-compiled code if a and b can alias.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023