docs.unity3d.com
    Show / Hide Table of Contents

    Constructor AssumeRangeAttribute

    AssumeRangeAttribute(Int64, Int64)

    Assume that an integer is in the signed closed interval [min..max].

    Declaration
    public AssumeRangeAttribute(long min, long max)
    Parameters
    Type Name Description
    Int64 min

    The inclusive minimum value.

    Int64 max

    The inclusive maximum value.

    AssumeRangeAttribute(UInt64, UInt64)

    Assume that an integer is in the unsigned closed interval [min..max].

    Declaration
    public AssumeRangeAttribute(ulong min, ulong max)
    Parameters
    Type Name Description
    UInt64 min

    The inclusive minimum value.

    UInt64 max

    The inclusive maximum value.

    Back to top
    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