Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vs/
bin/
obj/
module/
Expand Down
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"ms-vscode.azure-account"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ public static object GetPsesAssemblyLoadContext()
/// </summary>
/// <param name="assemblyPath">The absolute path of the assembly to load.</param>
/// <returns>The loaded assembly object.</returns>
public static Assembly LoadAssemblyInPsesLoadContext(string assemblyPath)
#pragma warning disable CA1822 // Mark members as static
public Assembly LoadAssemblyInPsesLoadContext(string assemblyPath)
#pragma warning restore CA1822 // Mark members as static
{
if (!VersionUtils.IsNetCore)
{
Expand Down
4 changes: 2 additions & 2 deletions src/PowerShellEditorServices/Utility/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace Microsoft.PowerShell.EditorServices.Utility
internal static class ObjectExtensions
{
/// <summary>
/// Extension to evaluate an object's ToString() method in an exception safe way. This will
/// extension method will not throw.
/// Extension to evaluate an object's ToString() method in an exception safe way. This extension
/// method will not throw.
/// </summary>
/// <param name="obj">The object on which to call ToString()</param>
/// <returns>The ToString() return value or a suitable error message is that throws.</returns>
Copy link

Copilot AI Jan 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "is that throws" should be "if that throws" for grammatical correctness.

Suggested change
/// <returns>The ToString() return value or a suitable error message is that throws.</returns>
/// <returns>The ToString() return value or a suitable error message if that throws.</returns>

Copilot uses AI. Check for mistakes.
Expand Down