public static void CollectSources(Bounds includedWorldBounds, int includedLayerMask, NavMeshCollectGeometry geometry, int defaultArea, List <NavMeshBuildMarkup> markups, List <NavMeshBuildSource> results)
        {
            bool flag = markups == null;

            if (flag)
            {
                throw new ArgumentNullException("markups");
            }
            bool flag2 = results == null;

            if (flag2)
            {
                throw new ArgumentNullException("results");
            }
            includedWorldBounds.extents = Vector3.Max(includedWorldBounds.extents, 0.001f * Vector3.one);
            NavMeshBuildSource[] collection = NavMeshBuilder.CollectSourcesInternal(includedLayerMask, includedWorldBounds, null, true, geometry, defaultArea, markups.ToArray());
            results.Clear();
            results.AddRange(collection);
        }