Constuctors don't appear to be visible in either the object browser or via the above format. e.g.
PowerShell Code
Double-click the code block to select all.$obj = [System.Numerics.Vector2]::new(4, 5)Is valid code, but primalsense and the object browser do not show the new constructor(s).
However, if I do
PowerShell Code
Double-click the code block to select all.$obj = New-Object -TypeName System.Numerics.Vector2 -ArgsPrimalsense displays the constructors.
Because the first method is the way i generally create .net objects (i think it looks tidier, and also find it quicker if i'm converting c# code), i need at present to go to the powershell ise to get the new constructor(s), and fill in the parameters, and then paste it back into the powershell studio editor.
Hopefully I'm missing something here, but don't seem to be able to find anything else to do.
cheers,
Tim