Skip to content

Embed C# in Add-Type strings #18

Embed C# in Add-Type strings

Embed C# in Add-Type strings #18

Triggered via push December 5, 2025 20:00
Status Failure
Total duration 13s
Artifacts

syntax.yml

on: push
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Syntax Tests (4107)
Process completed with exit code 1.
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1767
Unexpected symbol found ['GetForegroundWindow' global-definition]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
Unexpected symbol found ['ClassGetForegroundWindow' definition]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
[keyword.declaration.class.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded meta.class.cs storage.type.class.cs]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
[keyword.declaration.class.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded meta.class.cs storage.type.class.cs]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
[keyword.declaration.class.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded meta.class.cs storage.type.class.cs]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
[keyword.declaration.class.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded meta.class.cs storage.type.class.cs]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1759
[keyword.declaration.class.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded meta.class.cs storage.type.class.cs]
Syntax Tests (4107): ./Tests/syntax_test_PowerShell.ps1#L1753
[punctuation.terminator.statement.cs] does not match scope [source.powershell meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded punctuation.terminator.cs]
Syntax Tests (stable)
The strategy configuration was canceled because "main._4107_binary" failed
Syntax Tests (stable)
Process completed with exit code 1.
Syntax Tests (stable): ./Tests/syntax_test_PowerShell.ps1#L1767
unexpected symbol `GetForegroundWindow` (global-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1767 | public static extern IntPtr GetForegroundWindow(); | @@@@@@@@@@@@@@@@@@@ this `global-definition` is not tested for
Syntax Tests (stable): ./Tests/syntax_test_PowerShell.ps1#L1767
unexpected symbol ` GetForegroundWindow` (local-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1767 | public static extern IntPtr GetForegroundWindow(); | @@@@@@@@@@@@@@@@@@@ this `local-definition` is not tested for
Syntax Tests (stable): ./Tests/syntax_test_PowerShell.ps1#L1759
unexpected symbol `ClassGetForegroundWindow` (global-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1759 | public class ClassGetForegroundWindow { | @@@@@@@@@@@@@@@@@@@@@@@@ this `global-definition` is not tested for
Syntax Tests (stable): ./Tests/syntax_test_PowerShell.ps1#L1759
unexpected symbol `ClassGetForegroundWindow` (local-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1759 | public class ClassGetForegroundWindow { | @@@@@@@@@@@@@@@@@@@@@@@@ this `local-definition` is not tested for
Syntax Tests (latest)
The strategy configuration was canceled because "main._4107_binary" failed
Syntax Tests (latest)
Process completed with exit code 1.
Syntax Tests (latest): ./Tests/syntax_test_PowerShell.ps1#L1767
unexpected symbol `GetForegroundWindow` (global-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1767 | public static extern IntPtr GetForegroundWindow(); | @@@@@@@@@@@@@@@@@@@ this `global-definition` is not tested for
Syntax Tests (latest): ./Tests/syntax_test_PowerShell.ps1#L1767
unexpected symbol ` GetForegroundWindow` (local-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1767 | public static extern IntPtr GetForegroundWindow(); | @@@@@@@@@@@@@@@@@@@ this `local-definition` is not tested for
Syntax Tests (latest): ./Tests/syntax_test_PowerShell.ps1#L1759
unexpected symbol `ClassGetForegroundWindow` (global-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1759 | public class ClassGetForegroundWindow { | @@@@@@@@@@@@@@@@@@@@@@@@ this `global-definition` is not tested for
Syntax Tests (latest): ./Tests/syntax_test_PowerShell.ps1#L1759
unexpected symbol `ClassGetForegroundWindow` (local-definition) found note: all symbols must be matched unless `partial-symbols` is specified 1759 | public class ClassGetForegroundWindow { | @@@@@@@@@@@@@@@@@@@@@@@@ this `local-definition` is not tested for