How to use List<Vector3>.Contain() function with Unity Jobs system?

Hello everybody :)
I started to learn about Unity Jobs and have some problems with Burst compilator.
So, I have a simple job

private struct JobCheckSun : IJobParallelForTransform
    {
        public NativeArray<int> have_sun;
        public NativeArray<int> cell_lvl;

        public void Execute(int index, TransformAccess transform)
        {
            var pos = transform.position;
            var lvl = 3;

            for (var i = 0; i < 3; i++)
            {
                pos += Vector3.up;
                if (WorldController.CheckCoords(pos))
                {
                    --lvl;
                }
            }

            if (lvl == 0)
            {
                have_sun[0] = 0;
            }
            else
            {
                have_sun[0] = 1;
            }

            cell_lvl[0] = lvl;
        }
    }

WorldController.CheckCoords(pos)[/code] in 14th line is static readonly function from another static script

public static bool CheckCoords(Vector3 need_coord)
    {
        return _coordMap.Contains(need_coord);
    }

The job works fine, except when I try to use [BurstCompile] tag. What I do this, Unity get an error

C:\projects\3D-tree-evolution\Assets\Scripts\WorldController.cs(130,9): Burst error BC1016: The managed function System.Collections.Generic.List1.Contains(System.Collections.Generic.List1<UnityEngine.Vector3>* this, UnityEngine.Vector3 item) is not supported

at WorldController.CheckCoords(UnityEngine.Vector3 need_coord) (at C:\projects\3D-tree-evolution\Assets\Scripts\WorldController.cs:130)
at CellController.JobCheckSun.Execute(CellController.JobCheckSun* this, int index, UnityEngine.Jobs.TransformAccess transform) (at C:\projects\3D-tree-evolution\Assets\Scripts\CellController.cs:121)
at UnityEngine.Jobs.IJobParallelForTransformExtensions.TransformParallelForLoopStruct`1.Execute(ref CellController.JobCheckSun jobData, System.IntPtr jobData2, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex)

While compiling job: System.Void UnityEngine.Jobs.IJobParallelForTransformExtensions/TransformParallelForLoopStruct`1::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
at C:\projects\3D-tree-evolution\Assets\Scripts\WorldController.cs:line 130

What do I need to do? Can somebody explain to me, how I can change List type to something else (maybe NativeList, idk) to make it works?

Thank you for help :)

https://docs.unity3d.com/Packages/com.unity.burst@1.3/manual/index.html#cnet-language-support

You could use something like NativeArray - there's a Contains extension method for it.

NativeArray<Vector3> _coordMap; // Initialize this somewhere

public static bool CheckCoords(Vector3 needCoord)
{
    return _coordMap.Contains(needCoord);
}