Commit Graph
300 Commits
Author SHA1 Message Date
James Truher [MSFT] e9682c151d Fix using assembly to use Path.Combine when constructing assembly paths (#21169) 2024-02-01 09:49:20 -08:00
Dongbo Wang 783fb46e65 Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces (#21162) 2024-02-01 09:42:37 -08:00
Ikko Eltociear Ashimine 6c96bdc81c Fix typo in ast.cs (#20492)
statments -> statements
2023-10-16 22:00:32 +05:00
Aditya Patwardhan f71404d834 Update .NET SDK to version 8.0.100-rc.1.23455.8 (#20269) 2023-09-20 14:33:49 -07:00
Steve Lee e97105bf7d Move build to .NET 8 preview 6 (#19991) 2023-08-07 21:30:33 +00:00
Sean Wheeler b58ff3b8ea Fix ///-comments that violate the docs schema (#19957) 2023-07-13 08:16:57 +05:00
MartinGC94 f093f538fa Fix variable type inference precedence (#18691) 2023-06-12 10:38:17 -07:00
MartinGC94 79d99b501b Fix member completion for PowerShell Enum class (#19740) 2023-06-05 17:04:19 -07:00
MartinGC94 6520c05949 Fix parsing for array literals in index expressions in method calls (#19224) 2023-06-05 14:10:03 -07:00
MartinGC94 31dd6483b2 Fix incorrect string to type conversion (#19560)
Fixes incorrect string to type conversions like: [Type] 'int]whatever' so they are no longer parsed as types.
This was fixed by adding a check for ScanType to also check that the parsed type name matches the input type name.
2023-05-31 09:39:38 +05:00
Jakub Jareš d8decdc194 Fix slow execution when many breakpoints are used (#14953) 2023-05-22 17:11:53 -07:00
Paul Higinbotham e5728b63bf Add WDAC Audit logging (#19641) 2023-05-22 16:40:55 -07:00
MartinGC94 1c8b58c0b4 Fix array type parsing in generic types (#19205) 2023-05-08 16:21:51 -07:00
MartinGC94 5605b24b08 Improve Hashtable key completion for type constrained variable assignments, nested Hashtables and more (#17660) 2023-05-01 16:26:41 -07:00
Ikko Eltociear Ashimine af2f2f454e Fix typo in Compiler.cs (#19491)
inital -> initial
2023-04-12 09:51:22 +05:00
Steve Lee 7c0fe762a9 Remove code related to #requires -pssnapin (#19320) 2023-04-03 14:56:40 -07:00
MartinGC94 25651ef6e9 Fix a crash in the type inference code (#19400) 2023-03-23 14:40:50 -07:00
MartinGC94 39d48f9c62 Infer external application output as strings (#19193) 2023-03-14 11:24:43 -07:00
MartinGC94 e6655d1f17 Fix completion for PSCustomObject variable properties (#18682) 2023-03-13 17:38:21 -07:00
MartinGC94 0ae521b7b5 Improve type inference for Get-Random (#18972) 2023-03-13 15:44:38 -07:00
CarloToso 4e3f4ca62d Fix codefactor if part 3 (#19269) 2023-03-06 09:59:56 +05:00
CarloToso 0d6b93a23f Fix codefactor if part 2 (#19267) 2023-03-04 22:30:14 +05:00
Dongbo Wang 77fcd471bb Revert a few change to not use 'ArgumentNullException.ThrowIfNull' (#19151) 2023-02-22 13:31:14 -08:00
MartinGC94 290fe28104 Fix class member completion for classes with base types (#19179) 2023-02-22 22:10:22 +05:00
Trey 91d8fb0367 Corrected some minor spelling mistakes (#19176) 2023-02-22 22:09:04 +05:00
spaette ec0eb22062 Fix typos in comments (#19064) 2023-02-03 10:40:43 +05:00
spaette d29f34b5c2 typos (#19058) 2023-01-30 09:48:00 -08:00
Dongbo Wang b195088c5a Revert some of the interpolated string changes (#19018) 2023-01-25 09:46:47 -08:00
CarloToso 4c586a7a86 Use interpolated strings 11 (#19002) 2023-01-23 22:36:26 +05:00
CarloToso c156c9cadb Use interpolated strings 4 (#18980) 2023-01-21 21:27:21 +05:00
CarloToso a01fb37243 Use interpolated strings 8 (#18988) 2023-01-20 09:50:51 +05:00
James Truher [MSFT] 4f57804f46 Fix up all comments to be in the proper order with proper spacing (#18619) 2023-01-03 12:12:42 -08:00
MartinGC94 8f7c980ca3 Fix type inference for all scope vars (#18758) 2022-12-20 15:38:25 +05:00
CarloToso b48943ce31 Replace ArgumentNullException(nameof()) -> ArgumentNullException.ThrowIfNull() 2 (#18792) 2022-12-16 16:46:45 +05:00
MartinGC94 30d56b6586 Use Pattern matching in ast.cs (#18794) 2022-12-15 23:11:27 +05:00
CarloToso 2ddc63f151 Replace ArgumentNullException(nameof()) -> ArgumentNullException.ThrowIfNull() (#18784) 2022-12-14 18:30:33 +05:00
MartinGC94 b5ffd043c5 Improve type inference of hashtable keys (#17907) 2022-11-07 17:10:03 -08:00
Berkan Diler c16521ac87 Use new LINQ Order() methods instead of OrderBy(static x => x) (#18395)
Less code, a bit faster, less allocations
2022-11-01 13:31:58 +05:00
Berkan Diler 9016adf1c2 Replace some string.Join(string) calls with string.Join(char) (#18411) 2022-10-31 09:56:15 -07:00
MartinGC94 ab7f206271 Fix type inference error for empty return statements (#18351) 2022-10-24 14:39:34 -07:00
Ilya ece26bcf11 Remove FusionAssemblyIdentity and GlobalAssemblyCache as they are not used (#18334) 2022-10-24 12:16:22 -07:00
Dongbo Wang 79b8140199 Make PowerShell class not affiliate with Runspace when declaring the NoRunspaceAffinity attribute (#18138) 2022-09-22 10:49:08 -07:00
Steve Lee 6e36446b6f Make experimental feature PSCleanBlock stable (#18043) 2022-09-07 10:26:21 -07:00
Dongbo Wang 2c9c97ac86 Do not preserve temporary results when no need to do so (#17856) 2022-08-10 09:36:33 -07:00
WJKM d75d3b6178 Add the ValidateNotNullOrWhiteSpace attribute (#17191) 2022-08-09 10:48:08 -07:00
MartinGC94 15dcf634e2 Improve enumeration of inferred types in pipeline (#17799) 2022-08-09 10:37:56 -07:00
Frode Flaten 0d52375adc Add type accelerator ordered for OrderedDictionary (#17804) 2022-08-01 09:15:14 -07:00
Frode Flaten 4b4f1d144f Use null propagation operator in /engine (#17789) 2022-07-29 09:06:07 +05:00
MartinGC94 3d4e294262 Improve type inference for $_ (#17716) 2022-07-25 11:27:23 -07:00
MartinGC94 5ccbb97ae3 Fix type inference for ICollection (#17752) 2022-07-25 11:15:19 -07:00