Replace ToImmutableArray with ImmutableArray.Create
Replace ToImmutableArray with ImmutableArray.Create

When the type is statically known to be an array, using ImmutableArray.Create avoids the type checking performed in the ToImmutableArray extension method.

sean-gilliam/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild