PowerShell/test/powershell/Language/Classes
Jason Shirk 71d5439bbe
Fix dynamic class assembly name (#5292)
Using the assembly name to hint at the source of the classes was
problematic in multiple ways.

This change stores the actual filename in an attribute on the assembly.

So for a given type, one can get the assembly this way:

[SomeType].Assembly.GetCustomAttributes() |
    ? { $_ -is [System.Management.Automation.DynamicClassImplementationAssemblyAttribute] } |
    % { $_.ScriptFile }
2017-11-02 10:29:10 -07:00
..
MSFT_778492.psm1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
ProtectedAccess.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
Scripting.Classes.Attributes.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
Scripting.Classes.BasicParsing.Tests.ps1 Fix dynamic class assembly name (#5292) 2017-11-02 10:29:10 -07:00
Scripting.Classes.Break.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
Scripting.Classes.Exceptions.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
scripting.Classes.inheritance.tests.ps1 Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
Scripting.Classes.MiscOps.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
Scripting.Classes.Modules.Tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
scripting.Classes.NestedModules.tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
Scripting.Classes.RunPath.Tests.ps1 Added comma to the list of replaced characters in assemblyname (#4136) 2017-07-06 11:32:54 -07:00
Scripting.Classes.StaticMethod.Tests.ps1 Run PowerShell class static methods in the correct Runspace/SessionState (#4209) 2017-07-14 18:05:48 -07:00
scripting.Classes.using.tests.ps1 Autocorrected CRLF to LF (#4943) 2017-09-29 16:28:15 -07:00
scripting.enums.tests.ps1 Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00