@alloy-js/csharp 0.21.0-dev.2 → 0.21.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scripts/components/library-interface.d.ts +9 -0
- package/dist/scripts/components/library-interface.d.ts.map +1 -0
- package/dist/scripts/components/library-interface.js +43 -0
- package/dist/scripts/components/library-interface.js.map +1 -0
- package/dist/scripts/components/namespace-directory.d.ts +7 -0
- package/dist/scripts/components/namespace-directory.d.ts.map +1 -0
- package/dist/scripts/components/namespace-directory.js +96 -0
- package/dist/scripts/components/namespace-directory.js.map +1 -0
- package/dist/scripts/generate-builtins.d.ts +11 -0
- package/dist/scripts/generate-builtins.d.ts.map +1 -0
- package/dist/scripts/generate-builtins.js +37 -0
- package/dist/scripts/generate-builtins.js.map +1 -0
- package/dist/scripts/process-docfx.d.ts +3 -0
- package/dist/scripts/process-docfx.d.ts.map +1 -0
- package/dist/scripts/process-docfx.js +300 -0
- package/dist/scripts/process-docfx.js.map +1 -0
- package/dist/src/access.d.ts +13 -0
- package/dist/src/access.d.ts.map +1 -0
- package/dist/src/access.js +65 -0
- package/dist/src/access.js.map +1 -0
- package/dist/src/access.test.d.ts +2 -0
- package/dist/src/access.test.d.ts.map +1 -0
- package/dist/src/access.test.js +43 -0
- package/dist/src/access.test.js.map +1 -0
- package/dist/src/builtins/Microsoft/CSharp/RuntimeBinder/index.d.ts +12 -0
- package/dist/src/builtins/Microsoft/CSharp/RuntimeBinder/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/CSharp/RuntimeBinder/index.js +23 -0
- package/dist/src/builtins/Microsoft/CSharp/RuntimeBinder/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/CSharp/index.d.ts +6 -0
- package/dist/src/builtins/Microsoft/CSharp/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/CSharp/index.js +5 -0
- package/dist/src/builtins/Microsoft/CSharp/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/VisualBasic/FileIO/index.d.ts +102 -0
- package/dist/src/builtins/Microsoft/VisualBasic/FileIO/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/VisualBasic/FileIO/index.js +473 -0
- package/dist/src/builtins/Microsoft/VisualBasic/FileIO/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/VisualBasic/index.d.ts +491 -0
- package/dist/src/builtins/Microsoft/VisualBasic/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/VisualBasic/index.js +2534 -0
- package/dist/src/builtins/Microsoft/VisualBasic/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/Win32/SafeHandles/index.d.ts +82 -0
- package/dist/src/builtins/Microsoft/Win32/SafeHandles/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/Win32/SafeHandles/index.js +320 -0
- package/dist/src/builtins/Microsoft/Win32/SafeHandles/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/Win32/index.d.ts +79 -0
- package/dist/src/builtins/Microsoft/Win32/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/Win32/index.js +362 -0
- package/dist/src/builtins/Microsoft/Win32/index.js.map +1 -0
- package/dist/src/builtins/Microsoft/index.d.ts +8 -0
- package/dist/src/builtins/Microsoft/index.d.ts.map +1 -0
- package/dist/src/builtins/Microsoft/index.js +7 -0
- package/dist/src/builtins/Microsoft/index.js.map +1 -0
- package/dist/src/builtins/System/Buffers/Binary/index.d.ts +113 -0
- package/dist/src/builtins/System/Buffers/Binary/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Buffers/Binary/index.js +536 -0
- package/dist/src/builtins/System/Buffers/Binary/index.js.map +1 -0
- package/dist/src/builtins/System/Buffers/Text/index.d.ts +37 -0
- package/dist/src/builtins/System/Buffers/Text/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Buffers/Text/index.js +144 -0
- package/dist/src/builtins/System/Buffers/Text/index.js.map +1 -0
- package/dist/src/builtins/System/Buffers/index.d.ts +142 -0
- package/dist/src/builtins/System/Buffers/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Buffers/index.js +605 -0
- package/dist/src/builtins/System/Buffers/index.js.map +1 -0
- package/dist/src/builtins/System/CodeDom/Compiler/index.d.ts +31 -0
- package/dist/src/builtins/System/CodeDom/Compiler/index.d.ts.map +1 -0
- package/dist/src/builtins/System/CodeDom/Compiler/index.js +131 -0
- package/dist/src/builtins/System/CodeDom/Compiler/index.js.map +1 -0
- package/dist/src/builtins/System/CodeDom/index.d.ts +6 -0
- package/dist/src/builtins/System/CodeDom/index.d.ts.map +1 -0
- package/dist/src/builtins/System/CodeDom/index.js +5 -0
- package/dist/src/builtins/System/CodeDom/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/Concurrent/index.d.ts +100 -0
- package/dist/src/builtins/System/Collections/Concurrent/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/Concurrent/index.js +399 -0
- package/dist/src/builtins/System/Collections/Concurrent/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/Frozen/index.d.ts +29 -0
- package/dist/src/builtins/System/Collections/Frozen/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/Frozen/index.js +88 -0
- package/dist/src/builtins/System/Collections/Frozen/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/Generic/index.d.ts +275 -0
- package/dist/src/builtins/System/Collections/Generic/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/Generic/index.js +978 -0
- package/dist/src/builtins/System/Collections/Generic/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/Immutable/index.d.ts +273 -0
- package/dist/src/builtins/System/Collections/Immutable/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/Immutable/index.js +1049 -0
- package/dist/src/builtins/System/Collections/Immutable/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/ObjectModel/index.d.ts +97 -0
- package/dist/src/builtins/System/Collections/ObjectModel/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/ObjectModel/index.js +394 -0
- package/dist/src/builtins/System/Collections/ObjectModel/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/Specialized/index.d.ts +162 -0
- package/dist/src/builtins/System/Collections/Specialized/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/Specialized/index.js +716 -0
- package/dist/src/builtins/System/Collections/Specialized/index.js.map +1 -0
- package/dist/src/builtins/System/Collections/index.d.ts +293 -0
- package/dist/src/builtins/System/Collections/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Collections/index.js +1355 -0
- package/dist/src/builtins/System/Collections/index.js.map +1 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/Schema/index.d.ts +40 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/Schema/index.d.ts.map +1 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/Schema/index.js +143 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/Schema/index.js.map +1 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/index.d.ts +274 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/index.d.ts.map +1 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/index.js +1237 -0
- package/dist/src/builtins/System/ComponentModel/DataAnnotations/index.js.map +1 -0
- package/dist/src/builtins/System/ComponentModel/Design/Serialization/index.d.ts +128 -0
- package/dist/src/builtins/System/ComponentModel/Design/Serialization/index.d.ts.map +1 -0
- package/dist/src/builtins/System/ComponentModel/Design/Serialization/index.js +535 -0
- package/dist/src/builtins/System/ComponentModel/Design/Serialization/index.js.map +1 -0
- package/dist/src/builtins/System/ComponentModel/Design/index.d.ts +428 -0
- package/dist/src/builtins/System/ComponentModel/Design/index.d.ts.map +1 -0
- package/dist/src/builtins/System/ComponentModel/Design/index.js +2008 -0
- package/dist/src/builtins/System/ComponentModel/Design/index.js.map +1 -0
- package/dist/src/builtins/System/ComponentModel/index.d.ts +1431 -0
- package/dist/src/builtins/System/ComponentModel/index.d.ts.map +1 -0
- package/dist/src/builtins/System/ComponentModel/index.js +6649 -0
- package/dist/src/builtins/System/ComponentModel/index.js.map +1 -0
- package/dist/src/builtins/System/Configuration/Assemblies/index.d.ts +19 -0
- package/dist/src/builtins/System/Configuration/Assemblies/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Configuration/Assemblies/index.js +69 -0
- package/dist/src/builtins/System/Configuration/Assemblies/index.js.map +1 -0
- package/dist/src/builtins/System/Configuration/index.d.ts +6 -0
- package/dist/src/builtins/System/Configuration/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Configuration/index.js +5 -0
- package/dist/src/builtins/System/Configuration/index.js.map +1 -0
- package/dist/src/builtins/System/Data/Common/index.d.ts +611 -0
- package/dist/src/builtins/System/Data/Common/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Data/Common/index.js +3279 -0
- package/dist/src/builtins/System/Data/Common/index.js.map +1 -0
- package/dist/src/builtins/System/Data/SqlTypes/index.d.ts +541 -0
- package/dist/src/builtins/System/Data/SqlTypes/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Data/SqlTypes/index.js +2655 -0
- package/dist/src/builtins/System/Data/SqlTypes/index.js.map +1 -0
- package/dist/src/builtins/System/Data/index.d.ts +967 -0
- package/dist/src/builtins/System/Data/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Data/index.js +4504 -0
- package/dist/src/builtins/System/Data/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/CodeAnalysis/index.d.ts +155 -0
- package/dist/src/builtins/System/Diagnostics/CodeAnalysis/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/CodeAnalysis/index.js +705 -0
- package/dist/src/builtins/System/Diagnostics/CodeAnalysis/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Contracts/index.d.ts +76 -0
- package/dist/src/builtins/System/Diagnostics/Contracts/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Contracts/index.js +309 -0
- package/dist/src/builtins/System/Diagnostics/Contracts/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Metrics/index.d.ts +83 -0
- package/dist/src/builtins/System/Diagnostics/Metrics/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Metrics/index.js +323 -0
- package/dist/src/builtins/System/Diagnostics/Metrics/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/SymbolStore/index.d.ts +138 -0
- package/dist/src/builtins/System/Diagnostics/SymbolStore/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/SymbolStore/index.js +610 -0
- package/dist/src/builtins/System/Diagnostics/SymbolStore/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Tracing/index.d.ts +206 -0
- package/dist/src/builtins/System/Diagnostics/Tracing/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/Tracing/index.js +954 -0
- package/dist/src/builtins/System/Diagnostics/Tracing/index.js.map +1 -0
- package/dist/src/builtins/System/Diagnostics/index.d.ts +800 -0
- package/dist/src/builtins/System/Diagnostics/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Diagnostics/index.js +3826 -0
- package/dist/src/builtins/System/Diagnostics/index.js.map +1 -0
- package/dist/src/builtins/System/Drawing/index.d.ts +558 -0
- package/dist/src/builtins/System/Drawing/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Drawing/index.js +3305 -0
- package/dist/src/builtins/System/Drawing/index.js.map +1 -0
- package/dist/src/builtins/System/Dynamic/index.d.ts +170 -0
- package/dist/src/builtins/System/Dynamic/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Dynamic/index.js +795 -0
- package/dist/src/builtins/System/Dynamic/index.js.map +1 -0
- package/dist/src/builtins/System/Formats/Asn1/index.d.ts +173 -0
- package/dist/src/builtins/System/Formats/Asn1/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Formats/Asn1/index.js +843 -0
- package/dist/src/builtins/System/Formats/Asn1/index.js.map +1 -0
- package/dist/src/builtins/System/Formats/Tar/index.d.ts +96 -0
- package/dist/src/builtins/System/Formats/Tar/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Formats/Tar/index.js +436 -0
- package/dist/src/builtins/System/Formats/Tar/index.js.map +1 -0
- package/dist/src/builtins/System/Formats/index.d.ts +7 -0
- package/dist/src/builtins/System/Formats/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Formats/index.js +6 -0
- package/dist/src/builtins/System/Formats/index.js.map +1 -0
- package/dist/src/builtins/System/Globalization/index.d.ts +737 -0
- package/dist/src/builtins/System/Globalization/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Globalization/index.js +3848 -0
- package/dist/src/builtins/System/Globalization/index.js.map +1 -0
- package/dist/src/builtins/System/IO/Compression/index.d.ts +186 -0
- package/dist/src/builtins/System/IO/Compression/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/Compression/index.js +894 -0
- package/dist/src/builtins/System/IO/Compression/index.js.map +1 -0
- package/dist/src/builtins/System/IO/Enumeration/index.d.ts +53 -0
- package/dist/src/builtins/System/IO/Enumeration/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/Enumeration/index.js +218 -0
- package/dist/src/builtins/System/IO/Enumeration/index.js.map +1 -0
- package/dist/src/builtins/System/IO/IsolatedStorage/index.d.ts +103 -0
- package/dist/src/builtins/System/IO/IsolatedStorage/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/IsolatedStorage/index.js +495 -0
- package/dist/src/builtins/System/IO/IsolatedStorage/index.js.map +1 -0
- package/dist/src/builtins/System/IO/MemoryMappedFiles/index.d.ts +56 -0
- package/dist/src/builtins/System/IO/MemoryMappedFiles/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/MemoryMappedFiles/index.js +251 -0
- package/dist/src/builtins/System/IO/MemoryMappedFiles/index.js.map +1 -0
- package/dist/src/builtins/System/IO/Pipelines/index.d.ts +93 -0
- package/dist/src/builtins/System/IO/Pipelines/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/Pipelines/index.js +415 -0
- package/dist/src/builtins/System/IO/Pipelines/index.js.map +1 -0
- package/dist/src/builtins/System/IO/Pipes/index.d.ts +157 -0
- package/dist/src/builtins/System/IO/Pipes/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/Pipes/index.js +723 -0
- package/dist/src/builtins/System/IO/Pipes/index.js.map +1 -0
- package/dist/src/builtins/System/IO/index.d.ts +762 -0
- package/dist/src/builtins/System/IO/index.d.ts.map +1 -0
- package/dist/src/builtins/System/IO/index.js +3713 -0
- package/dist/src/builtins/System/IO/index.js.map +1 -0
- package/dist/src/builtins/System/Linq/Expressions/index.d.ts +429 -0
- package/dist/src/builtins/System/Linq/Expressions/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Linq/Expressions/index.js +2253 -0
- package/dist/src/builtins/System/Linq/Expressions/index.js.map +1 -0
- package/dist/src/builtins/System/Linq/index.d.ts +73 -0
- package/dist/src/builtins/System/Linq/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Linq/index.js +275 -0
- package/dist/src/builtins/System/Linq/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Cache/index.d.ts +48 -0
- package/dist/src/builtins/System/Net/Cache/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Cache/index.js +217 -0
- package/dist/src/builtins/System/Net/Cache/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Http/Headers/index.d.ts +335 -0
- package/dist/src/builtins/System/Net/Http/Headers/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Http/Headers/index.js +1668 -0
- package/dist/src/builtins/System/Net/Http/Headers/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Http/Json/index.d.ts +21 -0
- package/dist/src/builtins/System/Net/Http/Json/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Http/Json/index.js +72 -0
- package/dist/src/builtins/System/Net/Http/Json/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Http/Metrics/index.d.ts +13 -0
- package/dist/src/builtins/System/Net/Http/Metrics/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Http/Metrics/index.js +40 -0
- package/dist/src/builtins/System/Net/Http/Metrics/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Http/index.d.ts +305 -0
- package/dist/src/builtins/System/Net/Http/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Http/index.js +1458 -0
- package/dist/src/builtins/System/Net/Http/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Mail/index.d.ts +182 -0
- package/dist/src/builtins/System/Net/Mail/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Mail/index.js +871 -0
- package/dist/src/builtins/System/Net/Mail/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Mime/index.d.ts +100 -0
- package/dist/src/builtins/System/Net/Mime/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Mime/index.js +500 -0
- package/dist/src/builtins/System/Net/Mime/index.js.map +1 -0
- package/dist/src/builtins/System/Net/NetworkInformation/index.d.ts +506 -0
- package/dist/src/builtins/System/Net/NetworkInformation/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/NetworkInformation/index.js +2776 -0
- package/dist/src/builtins/System/Net/NetworkInformation/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Quic/index.d.ts +129 -0
- package/dist/src/builtins/System/Net/Quic/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Quic/index.js +635 -0
- package/dist/src/builtins/System/Net/Quic/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Security/index.d.ts +277 -0
- package/dist/src/builtins/System/Net/Security/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Security/index.js +1432 -0
- package/dist/src/builtins/System/Net/Security/index.js.map +1 -0
- package/dist/src/builtins/System/Net/Sockets/index.d.ts +593 -0
- package/dist/src/builtins/System/Net/Sockets/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/Sockets/index.js +3095 -0
- package/dist/src/builtins/System/Net/Sockets/index.js.map +1 -0
- package/dist/src/builtins/System/Net/WebSockets/index.d.ts +165 -0
- package/dist/src/builtins/System/Net/WebSockets/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/WebSockets/index.js +876 -0
- package/dist/src/builtins/System/Net/WebSockets/index.js.map +1 -0
- package/dist/src/builtins/System/Net/index.d.ts +1066 -0
- package/dist/src/builtins/System/Net/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Net/index.js +5481 -0
- package/dist/src/builtins/System/Net/index.js.map +1 -0
- package/dist/src/builtins/System/Numerics/index.d.ts +673 -0
- package/dist/src/builtins/System/Numerics/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Numerics/index.js +3425 -0
- package/dist/src/builtins/System/Numerics/index.js.map +1 -0
- package/dist/src/builtins/System/Reflection/Emit/index.d.ts +769 -0
- package/dist/src/builtins/System/Reflection/Emit/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Reflection/Emit/index.js +4293 -0
- package/dist/src/builtins/System/Reflection/Emit/index.js.map +1 -0
- package/dist/src/builtins/System/Reflection/Metadata/Ecma335/index.d.ts +513 -0
- package/dist/src/builtins/System/Reflection/Metadata/Ecma335/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Reflection/Metadata/Ecma335/index.js +2218 -0
- package/dist/src/builtins/System/Reflection/Metadata/Ecma335/index.js.map +1 -0
- package/dist/src/builtins/System/Reflection/Metadata/index.d.ts +1333 -0
- package/dist/src/builtins/System/Reflection/Metadata/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Reflection/Metadata/index.js +6045 -0
- package/dist/src/builtins/System/Reflection/Metadata/index.js.map +1 -0
- package/dist/src/builtins/System/Reflection/PortableExecutable/index.d.ts +383 -0
- package/dist/src/builtins/System/Reflection/PortableExecutable/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Reflection/PortableExecutable/index.js +2020 -0
- package/dist/src/builtins/System/Reflection/PortableExecutable/index.js.map +1 -0
- package/dist/src/builtins/System/Reflection/index.d.ts +1038 -0
- package/dist/src/builtins/System/Reflection/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Reflection/index.js +5244 -0
- package/dist/src/builtins/System/Reflection/index.js.map +1 -0
- package/dist/src/builtins/System/Resources/index.d.ts +70 -0
- package/dist/src/builtins/System/Resources/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Resources/index.js +289 -0
- package/dist/src/builtins/System/Resources/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/CompilerServices/index.d.ts +486 -0
- package/dist/src/builtins/System/Runtime/CompilerServices/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/CompilerServices/index.js +1896 -0
- package/dist/src/builtins/System/Runtime/CompilerServices/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/ConstrainedExecution/index.d.ts +29 -0
- package/dist/src/builtins/System/Runtime/ConstrainedExecution/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/ConstrainedExecution/index.js +103 -0
- package/dist/src/builtins/System/Runtime/ConstrainedExecution/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/ExceptionServices/index.d.ts +20 -0
- package/dist/src/builtins/System/Runtime/ExceptionServices/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/ExceptionServices/index.js +62 -0
- package/dist/src/builtins/System/Runtime/ExceptionServices/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ComTypes/index.d.ts +23 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ComTypes/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ComTypes/index.js +67 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ComTypes/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/JavaScript/index.d.ts +54 -0
- package/dist/src/builtins/System/Runtime/InteropServices/JavaScript/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/JavaScript/index.js +210 -0
- package/dist/src/builtins/System/Runtime/InteropServices/JavaScript/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Marshalling/index.d.ts +259 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Marshalling/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Marshalling/index.js +1012 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Marshalling/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ObjectiveC/index.d.ts +24 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ObjectiveC/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ObjectiveC/index.js +79 -0
- package/dist/src/builtins/System/Runtime/InteropServices/ObjectiveC/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Swift/index.d.ts +18 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Swift/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Swift/index.js +49 -0
- package/dist/src/builtins/System/Runtime/InteropServices/Swift/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/index.d.ts +781 -0
- package/dist/src/builtins/System/Runtime/InteropServices/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/InteropServices/index.js +3626 -0
- package/dist/src/builtins/System/Runtime/InteropServices/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Arm/index.d.ts +273 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Arm/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Arm/index.js +1297 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Arm/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Wasm/index.d.ts +73 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Wasm/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Wasm/index.js +338 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/Wasm/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/X86/index.d.ts +311 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/X86/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/X86/index.js +1372 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/X86/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/index.d.ts +57 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/index.js +273 -0
- package/dist/src/builtins/System/Runtime/Intrinsics/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Loader/index.d.ts +35 -0
- package/dist/src/builtins/System/Runtime/Loader/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Loader/index.js +140 -0
- package/dist/src/builtins/System/Runtime/Loader/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Remoting/index.d.ts +10 -0
- package/dist/src/builtins/System/Runtime/Remoting/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Remoting/index.js +18 -0
- package/dist/src/builtins/System/Runtime/Remoting/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/DataContracts/index.d.ts +51 -0
- package/dist/src/builtins/System/Runtime/Serialization/DataContracts/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/DataContracts/index.js +265 -0
- package/dist/src/builtins/System/Runtime/Serialization/DataContracts/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/Binary/index.d.ts +17 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/Binary/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/Binary/index.js +61 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/Binary/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/index.d.ts +24 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/index.js +83 -0
- package/dist/src/builtins/System/Runtime/Serialization/Formatters/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Json/index.d.ts +45 -0
- package/dist/src/builtins/System/Runtime/Serialization/Json/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/Json/index.js +192 -0
- package/dist/src/builtins/System/Runtime/Serialization/Json/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/index.d.ts +374 -0
- package/dist/src/builtins/System/Runtime/Serialization/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Serialization/index.js +1611 -0
- package/dist/src/builtins/System/Runtime/Serialization/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/Versioning/index.d.ts +81 -0
- package/dist/src/builtins/System/Runtime/Versioning/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/Versioning/index.js +336 -0
- package/dist/src/builtins/System/Runtime/Versioning/index.js.map +1 -0
- package/dist/src/builtins/System/Runtime/index.d.ts +67 -0
- package/dist/src/builtins/System/Runtime/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Runtime/index.js +245 -0
- package/dist/src/builtins/System/Runtime/index.js.map +1 -0
- package/dist/src/builtins/System/Security/AccessControl/index.d.ts +485 -0
- package/dist/src/builtins/System/Security/AccessControl/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/AccessControl/index.js +2343 -0
- package/dist/src/builtins/System/Security/AccessControl/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Authentication/ExtendedProtection/index.d.ts +43 -0
- package/dist/src/builtins/System/Security/Authentication/ExtendedProtection/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Authentication/ExtendedProtection/index.js +169 -0
- package/dist/src/builtins/System/Security/Authentication/ExtendedProtection/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Authentication/index.d.ts +49 -0
- package/dist/src/builtins/System/Security/Authentication/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Authentication/index.js +212 -0
- package/dist/src/builtins/System/Security/Authentication/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Claims/index.d.ts +152 -0
- package/dist/src/builtins/System/Security/Claims/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Claims/index.js +844 -0
- package/dist/src/builtins/System/Security/Claims/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Cryptography/X509Certificates/index.d.ts +551 -0
- package/dist/src/builtins/System/Security/Cryptography/X509Certificates/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Cryptography/X509Certificates/index.js +2633 -0
- package/dist/src/builtins/System/Security/Cryptography/X509Certificates/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Cryptography/index.d.ts +1378 -0
- package/dist/src/builtins/System/Security/Cryptography/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Cryptography/index.js +6673 -0
- package/dist/src/builtins/System/Security/Cryptography/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Permissions/index.d.ts +67 -0
- package/dist/src/builtins/System/Security/Permissions/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Permissions/index.js +325 -0
- package/dist/src/builtins/System/Security/Permissions/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Policy/index.d.ts +28 -0
- package/dist/src/builtins/System/Security/Policy/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Policy/index.js +101 -0
- package/dist/src/builtins/System/Security/Policy/index.js.map +1 -0
- package/dist/src/builtins/System/Security/Principal/index.d.ts +252 -0
- package/dist/src/builtins/System/Security/Principal/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/Principal/index.js +1338 -0
- package/dist/src/builtins/System/Security/Principal/index.js.map +1 -0
- package/dist/src/builtins/System/Security/index.d.ts +164 -0
- package/dist/src/builtins/System/Security/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Security/index.js +672 -0
- package/dist/src/builtins/System/Security/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Encodings/Web/index.d.ts +41 -0
- package/dist/src/builtins/System/Text/Encodings/Web/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Encodings/Web/index.js +162 -0
- package/dist/src/builtins/System/Text/Encodings/Web/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Encodings/index.d.ts +6 -0
- package/dist/src/builtins/System/Text/Encodings/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Encodings/index.js +5 -0
- package/dist/src/builtins/System/Text/Encodings/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Json/Nodes/index.d.ts +63 -0
- package/dist/src/builtins/System/Text/Json/Nodes/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Json/Nodes/index.js +250 -0
- package/dist/src/builtins/System/Text/Json/Nodes/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Json/Schema/index.d.ts +21 -0
- package/dist/src/builtins/System/Text/Json/Schema/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Json/Schema/index.js +78 -0
- package/dist/src/builtins/System/Text/Json/Schema/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Json/Serialization/Metadata/index.d.ts +69 -0
- package/dist/src/builtins/System/Text/Json/Serialization/Metadata/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Json/Serialization/Metadata/index.js +328 -0
- package/dist/src/builtins/System/Text/Json/Serialization/Metadata/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Json/Serialization/index.d.ts +194 -0
- package/dist/src/builtins/System/Text/Json/Serialization/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Json/Serialization/index.js +840 -0
- package/dist/src/builtins/System/Text/Json/Serialization/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Json/index.d.ts +251 -0
- package/dist/src/builtins/System/Text/Json/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Json/index.js +1185 -0
- package/dist/src/builtins/System/Text/Json/index.js.map +1 -0
- package/dist/src/builtins/System/Text/RegularExpressions/index.d.ts +152 -0
- package/dist/src/builtins/System/Text/RegularExpressions/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/RegularExpressions/index.js +732 -0
- package/dist/src/builtins/System/Text/RegularExpressions/index.js.map +1 -0
- package/dist/src/builtins/System/Text/Unicode/index.d.ts +182 -0
- package/dist/src/builtins/System/Text/Unicode/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/Unicode/index.js +1199 -0
- package/dist/src/builtins/System/Text/Unicode/index.js.map +1 -0
- package/dist/src/builtins/System/Text/index.d.ts +372 -0
- package/dist/src/builtins/System/Text/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Text/index.js +1748 -0
- package/dist/src/builtins/System/Text/index.js.map +1 -0
- package/dist/src/builtins/System/Threading/Channels/index.d.ts +56 -0
- package/dist/src/builtins/System/Threading/Channels/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Threading/Channels/index.js +229 -0
- package/dist/src/builtins/System/Threading/Channels/index.js.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/Dataflow/index.d.ts +159 -0
- package/dist/src/builtins/System/Threading/Tasks/Dataflow/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/Dataflow/index.js +676 -0
- package/dist/src/builtins/System/Threading/Tasks/Dataflow/index.js.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/Sources/index.d.ts +32 -0
- package/dist/src/builtins/System/Threading/Tasks/Sources/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/Sources/index.js +117 -0
- package/dist/src/builtins/System/Threading/Tasks/Sources/index.js.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/index.d.ts +163 -0
- package/dist/src/builtins/System/Threading/Tasks/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Threading/Tasks/index.js +721 -0
- package/dist/src/builtins/System/Threading/Tasks/index.js.map +1 -0
- package/dist/src/builtins/System/Threading/index.d.ts +533 -0
- package/dist/src/builtins/System/Threading/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Threading/index.js +2292 -0
- package/dist/src/builtins/System/Threading/index.js.map +1 -0
- package/dist/src/builtins/System/Timers/index.d.ts +34 -0
- package/dist/src/builtins/System/Timers/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Timers/index.js +129 -0
- package/dist/src/builtins/System/Timers/index.js.map +1 -0
- package/dist/src/builtins/System/Transactions/index.d.ts +183 -0
- package/dist/src/builtins/System/Transactions/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Transactions/index.js +727 -0
- package/dist/src/builtins/System/Transactions/index.js.map +1 -0
- package/dist/src/builtins/System/Web/index.d.ts +24 -0
- package/dist/src/builtins/System/Web/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Web/index.js +84 -0
- package/dist/src/builtins/System/Web/index.js.map +1 -0
- package/dist/src/builtins/System/Windows/Input/index.d.ts +10 -0
- package/dist/src/builtins/System/Windows/Input/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Windows/Input/index.js +18 -0
- package/dist/src/builtins/System/Windows/Input/index.js.map +1 -0
- package/dist/src/builtins/System/Windows/Markup/index.d.ts +11 -0
- package/dist/src/builtins/System/Windows/Markup/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Windows/Markup/index.js +28 -0
- package/dist/src/builtins/System/Windows/Markup/index.js.map +1 -0
- package/dist/src/builtins/System/Windows/index.d.ts +7 -0
- package/dist/src/builtins/System/Windows/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Windows/index.js +6 -0
- package/dist/src/builtins/System/Windows/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/Linq/index.d.ts +234 -0
- package/dist/src/builtins/System/Xml/Linq/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/Linq/index.js +1086 -0
- package/dist/src/builtins/System/Xml/Linq/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/Resolvers/index.d.ts +23 -0
- package/dist/src/builtins/System/Xml/Resolvers/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/Resolvers/index.js +86 -0
- package/dist/src/builtins/System/Xml/Resolvers/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/Schema/index.d.ts +630 -0
- package/dist/src/builtins/System/Xml/Schema/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/Schema/index.js +2993 -0
- package/dist/src/builtins/System/Xml/Schema/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/Serialization/index.d.ts +534 -0
- package/dist/src/builtins/System/Xml/Serialization/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/Serialization/index.js +2356 -0
- package/dist/src/builtins/System/Xml/Serialization/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/XPath/index.d.ts +180 -0
- package/dist/src/builtins/System/Xml/XPath/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/XPath/index.js +917 -0
- package/dist/src/builtins/System/Xml/XPath/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/Xsl/index.d.ts +76 -0
- package/dist/src/builtins/System/Xml/Xsl/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/Xsl/index.js +315 -0
- package/dist/src/builtins/System/Xml/Xsl/index.js.map +1 -0
- package/dist/src/builtins/System/Xml/index.d.ts +1114 -0
- package/dist/src/builtins/System/Xml/index.d.ts.map +1 -0
- package/dist/src/builtins/System/Xml/index.js +5736 -0
- package/dist/src/builtins/System/Xml/index.js.map +1 -0
- package/dist/src/builtins/System/index.d.ts +3029 -0
- package/dist/src/builtins/System/index.d.ts.map +1 -0
- package/dist/src/builtins/System/index.js +14587 -0
- package/dist/src/builtins/System/index.js.map +1 -0
- package/dist/src/builtins/index.d.ts +3 -0
- package/dist/src/builtins/index.d.ts.map +1 -0
- package/dist/src/builtins/index.js +3 -0
- package/dist/src/builtins/index.js.map +1 -0
- package/dist/src/components/access-expression/access-expression.d.ts +8 -3
- package/dist/src/components/access-expression/access-expression.d.ts.map +1 -1
- package/dist/src/components/access-expression/access-expression.js.map +1 -1
- package/dist/src/components/access-expression/part-descriptors.d.ts +8 -0
- package/dist/src/components/access-expression/part-descriptors.d.ts.map +1 -1
- package/dist/src/components/access-expression/part-descriptors.js +22 -2
- package/dist/src/components/access-expression/part-descriptors.js.map +1 -1
- package/dist/src/components/attributes/attributes.d.ts +2 -6
- package/dist/src/components/attributes/attributes.d.ts.map +1 -1
- package/dist/src/components/attributes/attributes.js +15 -1
- package/dist/src/components/attributes/attributes.js.map +1 -1
- package/dist/src/components/attributes/attributes.test.js +54 -1
- package/dist/src/components/attributes/attributes.test.js.map +1 -1
- package/dist/src/components/csproj-file/csproj-file.d.ts +15 -0
- package/dist/src/components/csproj-file/csproj-file.d.ts.map +1 -0
- package/dist/src/components/csproj-file/csproj-file.js +24 -0
- package/dist/src/components/csproj-file/csproj-file.js.map +1 -0
- package/dist/src/components/csproj-file/csproj-file.test.d.ts +2 -0
- package/dist/src/components/csproj-file/csproj-file.test.d.ts.map +1 -0
- package/dist/src/components/csproj-file/csproj-file.test.js +21 -0
- package/dist/src/components/csproj-file/csproj-file.test.js.map +1 -0
- package/dist/src/components/enum/declaration.ref.test.js +1 -1
- package/dist/src/components/if/if-statement.d.ts +25 -0
- package/dist/src/components/if/if-statement.d.ts.map +1 -0
- package/dist/src/components/if/if-statement.js +36 -0
- package/dist/src/components/if/if-statement.js.map +1 -0
- package/dist/src/components/if/if-statement.test.d.ts +2 -0
- package/dist/src/components/if/if-statement.test.d.ts.map +1 -0
- package/dist/src/components/if/if-statement.test.js +29 -0
- package/dist/src/components/if/if-statement.test.js.map +1 -0
- package/dist/src/components/index.d.ts +4 -2
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +4 -3
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/method/method.js +10 -2
- package/dist/src/components/method/method.js.map +1 -1
- package/dist/src/components/method/method.test.js +61 -0
- package/dist/src/components/method/method.test.js.map +1 -1
- package/dist/src/components/namespace/namespace-name.d.ts +10 -0
- package/dist/src/components/namespace/namespace-name.d.ts.map +1 -0
- package/dist/src/components/namespace/namespace-name.js +20 -0
- package/dist/src/components/namespace/namespace-name.js.map +1 -0
- package/dist/src/components/{namespace.d.ts → namespace/namespace.d.ts} +1 -1
- package/dist/src/components/namespace/namespace.d.ts.map +1 -0
- package/dist/src/components/{namespace.js → namespace/namespace.js} +9 -12
- package/dist/src/components/namespace/namespace.js.map +1 -0
- package/dist/src/components/namespace/namespace.test.d.ts.map +1 -0
- package/dist/src/components/namespace/namespace.test.js +207 -0
- package/dist/src/components/namespace/namespace.test.js.map +1 -0
- package/dist/src/components/namespace.ref.test.js +1 -1
- package/dist/src/components/parameters/parameters.d.ts +35 -0
- package/dist/src/components/parameters/parameters.d.ts.map +1 -1
- package/dist/src/components/parameters/parameters.js +16 -3
- package/dist/src/components/parameters/parameters.js.map +1 -1
- package/dist/src/components/parameters/parameters.test.js +67 -0
- package/dist/src/components/parameters/parameters.test.js.map +1 -1
- package/dist/src/components/property/property.d.ts.map +1 -1
- package/dist/src/components/property/property.js +21 -12
- package/dist/src/components/property/property.js.map +1 -1
- package/dist/src/components/property/property.test.js +28 -0
- package/dist/src/components/property/property.test.js.map +1 -1
- package/dist/src/components/source-file/source-file.d.ts.map +1 -1
- package/dist/src/components/source-file/source-file.js +4 -2
- package/dist/src/components/source-file/source-file.js.map +1 -1
- package/dist/src/components/source-file/source-file.test.js +1 -1
- package/dist/src/components/source-file/using.test.js +1 -1
- package/dist/src/components/stc/index.d.ts +0 -1
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +0 -1
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/components/var/declaration.d.ts +7 -1
- package/dist/src/components/var/declaration.d.ts.map +1 -1
- package/dist/src/components/var/declaration.js +20 -3
- package/dist/src/components/var/declaration.js.map +1 -1
- package/dist/src/components/var/declaration.test.js +19 -2
- package/dist/src/components/var/declaration.test.js.map +1 -1
- package/dist/src/contexts/global-namespace.d.ts +1 -0
- package/dist/src/contexts/global-namespace.d.ts.map +1 -1
- package/dist/src/contexts/global-namespace.js +6 -1
- package/dist/src/contexts/global-namespace.js.map +1 -1
- package/dist/src/contexts/reference-context.d.ts +12 -0
- package/dist/src/contexts/reference-context.d.ts.map +1 -0
- package/dist/src/contexts/reference-context.js +15 -0
- package/dist/src/contexts/reference-context.js.map +1 -0
- package/dist/src/create-library.d.ts +62 -0
- package/dist/src/create-library.d.ts.map +1 -0
- package/dist/src/create-library.js +136 -0
- package/dist/src/create-library.js.map +1 -0
- package/dist/src/create-library.test.d.ts +2 -0
- package/dist/src/create-library.test.d.ts.map +1 -0
- package/dist/src/create-library.test.js +237 -0
- package/dist/src/create-library.test.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/symbols/factories.d.ts +1 -1
- package/dist/src/symbols/factories.d.ts.map +1 -1
- package/dist/src/symbols/factories.js +24 -6
- package/dist/src/symbols/factories.js.map +1 -1
- package/dist/src/symbols/named-type.d.ts +3 -3
- package/dist/src/symbols/named-type.d.ts.map +1 -1
- package/dist/src/symbols/named-type.js.map +1 -1
- package/dist/src/symbols/reference.d.ts.map +1 -1
- package/dist/src/symbols/reference.js +7 -4
- package/dist/src/symbols/reference.js.map +1 -1
- package/dist/test/utils.d.ts +4 -2
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/test/utils.js +5 -4
- package/dist/test/utils.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -2
- package/scripts/components/library-interface.tsx +41 -0
- package/scripts/components/namespace-directory.tsx +104 -0
- package/scripts/generate-builtins.tsx +36 -0
- package/scripts/process-docfx.tsx +321 -0
- package/src/access.test.tsx +49 -0
- package/src/access.tsx +70 -0
- package/src/builtins/Microsoft/CSharp/RuntimeBinder/index.ts +32 -0
- package/src/builtins/Microsoft/CSharp/index.ts +8 -0
- package/src/builtins/Microsoft/VisualBasic/FileIO/index.ts +573 -0
- package/src/builtins/Microsoft/VisualBasic/index.ts +3021 -0
- package/src/builtins/Microsoft/Win32/SafeHandles/index.ts +400 -0
- package/src/builtins/Microsoft/Win32/index.ts +437 -0
- package/src/builtins/Microsoft/index.ts +10 -0
- package/src/builtins/System/Buffers/Binary/index.ts +646 -0
- package/src/builtins/System/Buffers/Text/index.ts +178 -0
- package/src/builtins/System/Buffers/index.ts +744 -0
- package/src/builtins/System/CodeDom/Compiler/index.ts +160 -0
- package/src/builtins/System/CodeDom/index.ts +8 -0
- package/src/builtins/System/Collections/Concurrent/index.ts +497 -0
- package/src/builtins/System/Collections/Frozen/index.ts +115 -0
- package/src/builtins/System/Collections/Generic/index.ts +1253 -0
- package/src/builtins/System/Collections/Immutable/index.ts +1322 -0
- package/src/builtins/System/Collections/ObjectModel/index.ts +489 -0
- package/src/builtins/System/Collections/Specialized/index.ts +878 -0
- package/src/builtins/System/Collections/index.ts +1639 -0
- package/src/builtins/System/ComponentModel/DataAnnotations/Schema/index.ts +181 -0
- package/src/builtins/System/ComponentModel/DataAnnotations/index.ts +1507 -0
- package/src/builtins/System/ComponentModel/Design/Serialization/index.ts +661 -0
- package/src/builtins/System/ComponentModel/Design/index.ts +2432 -0
- package/src/builtins/System/ComponentModel/index.ts +8079 -0
- package/src/builtins/System/Configuration/Assemblies/index.ts +85 -0
- package/src/builtins/System/Configuration/index.ts +8 -0
- package/src/builtins/System/Data/Common/index.ts +3888 -0
- package/src/builtins/System/Data/SqlTypes/index.ts +3194 -0
- package/src/builtins/System/Data/index.ts +5476 -0
- package/src/builtins/System/Diagnostics/CodeAnalysis/index.ts +858 -0
- package/src/builtins/System/Diagnostics/Contracts/index.ts +383 -0
- package/src/builtins/System/Diagnostics/Metrics/index.ts +404 -0
- package/src/builtins/System/Diagnostics/SymbolStore/index.ts +746 -0
- package/src/builtins/System/Diagnostics/Tracing/index.ts +1160 -0
- package/src/builtins/System/Diagnostics/index.ts +4618 -0
- package/src/builtins/System/Drawing/index.ts +3861 -0
- package/src/builtins/System/Dynamic/index.ts +963 -0
- package/src/builtins/System/Formats/Asn1/index.ts +1014 -0
- package/src/builtins/System/Formats/Tar/index.ts +530 -0
- package/src/builtins/System/Formats/index.ts +9 -0
- package/src/builtins/System/Globalization/index.ts +4583 -0
- package/src/builtins/System/IO/Compression/index.ts +1078 -0
- package/src/builtins/System/IO/Enumeration/index.ts +269 -0
- package/src/builtins/System/IO/IsolatedStorage/index.ts +596 -0
- package/src/builtins/System/IO/MemoryMappedFiles/index.ts +305 -0
- package/src/builtins/System/IO/Pipelines/index.ts +506 -0
- package/src/builtins/System/IO/Pipes/index.ts +878 -0
- package/src/builtins/System/IO/index.ts +4466 -0
- package/src/builtins/System/Linq/Expressions/index.ts +2680 -0
- package/src/builtins/System/Linq/index.ts +352 -0
- package/src/builtins/System/Net/Cache/index.ts +263 -0
- package/src/builtins/System/Net/Http/Headers/index.ts +2001 -0
- package/src/builtins/System/Net/Http/Json/index.ts +91 -0
- package/src/builtins/System/Net/Http/Metrics/index.ts +51 -0
- package/src/builtins/System/Net/Http/index.ts +1757 -0
- package/src/builtins/System/Net/Mail/index.ts +1051 -0
- package/src/builtins/System/Net/Mime/index.ts +598 -0
- package/src/builtins/System/Net/NetworkInformation/index.ts +3282 -0
- package/src/builtins/System/Net/Quic/index.ts +762 -0
- package/src/builtins/System/Net/Security/index.ts +1709 -0
- package/src/builtins/System/Net/Sockets/index.ts +3686 -0
- package/src/builtins/System/Net/WebSockets/index.ts +1039 -0
- package/src/builtins/System/Net/index.ts +6535 -0
- package/src/builtins/System/Numerics/index.ts +4126 -0
- package/src/builtins/System/Reflection/Emit/index.ts +5060 -0
- package/src/builtins/System/Reflection/Metadata/Ecma335/index.ts +2729 -0
- package/src/builtins/System/Reflection/Metadata/index.ts +7374 -0
- package/src/builtins/System/Reflection/PortableExecutable/index.ts +2401 -0
- package/src/builtins/System/Reflection/index.ts +6276 -0
- package/src/builtins/System/Resources/index.ts +357 -0
- package/src/builtins/System/Runtime/CompilerServices/index.ts +2406 -0
- package/src/builtins/System/Runtime/ConstrainedExecution/index.ts +129 -0
- package/src/builtins/System/Runtime/ExceptionServices/index.ts +80 -0
- package/src/builtins/System/Runtime/InteropServices/ComTypes/index.ts +87 -0
- package/src/builtins/System/Runtime/InteropServices/JavaScript/index.ts +290 -0
- package/src/builtins/System/Runtime/InteropServices/Marshalling/index.ts +1271 -0
- package/src/builtins/System/Runtime/InteropServices/ObjectiveC/index.ts +100 -0
- package/src/builtins/System/Runtime/InteropServices/Swift/index.ts +65 -0
- package/src/builtins/System/Runtime/InteropServices/index.ts +4405 -0
- package/src/builtins/System/Runtime/Intrinsics/Arm/index.ts +1568 -0
- package/src/builtins/System/Runtime/Intrinsics/Wasm/index.ts +409 -0
- package/src/builtins/System/Runtime/Intrinsics/X86/index.ts +1681 -0
- package/src/builtins/System/Runtime/Intrinsics/index.ts +324 -0
- package/src/builtins/System/Runtime/Loader/index.ts +173 -0
- package/src/builtins/System/Runtime/Remoting/index.ts +25 -0
- package/src/builtins/System/Runtime/Serialization/DataContracts/index.ts +314 -0
- package/src/builtins/System/Runtime/Serialization/Formatters/Binary/index.ts +76 -0
- package/src/builtins/System/Runtime/Serialization/Formatters/index.ts +103 -0
- package/src/builtins/System/Runtime/Serialization/Json/index.ts +235 -0
- package/src/builtins/System/Runtime/Serialization/index.ts +1981 -0
- package/src/builtins/System/Runtime/Versioning/index.ts +415 -0
- package/src/builtins/System/Runtime/index.ts +300 -0
- package/src/builtins/System/Security/AccessControl/index.ts +2826 -0
- package/src/builtins/System/Security/Authentication/ExtendedProtection/index.ts +210 -0
- package/src/builtins/System/Security/Authentication/index.ts +256 -0
- package/src/builtins/System/Security/Claims/index.ts +994 -0
- package/src/builtins/System/Security/Cryptography/X509Certificates/index.ts +3182 -0
- package/src/builtins/System/Security/Cryptography/index.ts +8047 -0
- package/src/builtins/System/Security/Permissions/index.ts +390 -0
- package/src/builtins/System/Security/Policy/index.ts +127 -0
- package/src/builtins/System/Security/Principal/index.ts +1588 -0
- package/src/builtins/System/Security/index.ts +826 -0
- package/src/builtins/System/Text/Encodings/Web/index.ts +200 -0
- package/src/builtins/System/Text/Encodings/index.ts +8 -0
- package/src/builtins/System/Text/Json/Nodes/index.ts +311 -0
- package/src/builtins/System/Text/Json/Schema/index.ts +97 -0
- package/src/builtins/System/Text/Json/Serialization/Metadata/index.ts +395 -0
- package/src/builtins/System/Text/Json/Serialization/index.ts +1030 -0
- package/src/builtins/System/Text/Json/index.ts +1430 -0
- package/src/builtins/System/Text/RegularExpressions/index.ts +882 -0
- package/src/builtins/System/Text/Unicode/index.ts +1379 -0
- package/src/builtins/System/Text/index.ts +2113 -0
- package/src/builtins/System/Threading/Channels/index.ts +283 -0
- package/src/builtins/System/Threading/Tasks/Dataflow/index.ts +837 -0
- package/src/builtins/System/Threading/Tasks/Sources/index.ts +147 -0
- package/src/builtins/System/Threading/Tasks/index.ts +879 -0
- package/src/builtins/System/Threading/index.ts +2824 -0
- package/src/builtins/System/Timers/index.ts +161 -0
- package/src/builtins/System/Transactions/index.ts +908 -0
- package/src/builtins/System/Web/index.ts +105 -0
- package/src/builtins/System/Windows/Input/index.ts +25 -0
- package/src/builtins/System/Windows/Markup/index.ts +37 -0
- package/src/builtins/System/Windows/index.ts +9 -0
- package/src/builtins/System/Xml/Linq/index.ts +1318 -0
- package/src/builtins/System/Xml/Resolvers/index.ts +107 -0
- package/src/builtins/System/Xml/Schema/index.ts +3621 -0
- package/src/builtins/System/Xml/Serialization/index.ts +2890 -0
- package/src/builtins/System/Xml/XPath/index.ts +1095 -0
- package/src/builtins/System/Xml/Xsl/index.ts +389 -0
- package/src/builtins/System/Xml/index.ts +6841 -0
- package/src/builtins/System/index.ts +17593 -0
- package/src/builtins/index.ts +2 -0
- package/src/components/access-expression/access-expression.tsx +8 -2
- package/src/components/access-expression/part-descriptors.ts +26 -2
- package/src/components/attributes/attributes.test.tsx +43 -1
- package/src/components/attributes/attributes.tsx +14 -7
- package/src/components/csproj-file/csproj-file.test.tsx +19 -0
- package/src/components/csproj-file/csproj-file.tsx +32 -0
- package/src/components/enum/declaration.ref.test.tsx +1 -1
- package/src/components/if/if-statement.test.tsx +26 -0
- package/src/components/if/if-statement.tsx +50 -0
- package/src/components/index.ts +4 -2
- package/src/components/method/method.test.tsx +49 -0
- package/src/components/method/method.tsx +7 -4
- package/src/components/namespace/namespace-name.tsx +31 -0
- package/src/components/namespace/namespace.test.tsx +145 -0
- package/src/components/{namespace.tsx → namespace/namespace.tsx} +7 -13
- package/src/components/namespace.ref.test.tsx +1 -1
- package/src/components/parameters/parameters.test.tsx +70 -0
- package/src/components/parameters/parameters.tsx +62 -2
- package/src/components/property/property.test.tsx +25 -0
- package/src/components/property/property.tsx +22 -11
- package/src/components/source-file/source-file.test.tsx +1 -1
- package/src/components/source-file/source-file.tsx +2 -2
- package/src/components/source-file/using.test.tsx +1 -1
- package/src/components/stc/index.ts +0 -1
- package/src/components/var/declaration.test.tsx +15 -1
- package/src/components/var/declaration.tsx +25 -2
- package/src/contexts/global-namespace.ts +8 -1
- package/src/contexts/reference-context.ts +18 -0
- package/src/create-library.test.tsx +213 -0
- package/src/create-library.ts +306 -0
- package/src/index.ts +2 -0
- package/src/symbols/factories.ts +39 -10
- package/src/symbols/named-type.ts +3 -3
- package/src/symbols/reference.tsx +19 -4
- package/temp/api.json +5560 -2489
- package/test/utils.tsx +6 -3
- package/tsconfig.json +11 -2
- package/tsdoc.json +4 -0
- package/dist/src/components/ProjectDirectory.d.ts +0 -12
- package/dist/src/components/ProjectDirectory.d.ts.map +0 -1
- package/dist/src/components/ProjectDirectory.js +0 -47
- package/dist/src/components/ProjectDirectory.js.map +0 -1
- package/dist/src/components/namespace.d.ts.map +0 -1
- package/dist/src/components/namespace.js.map +0 -1
- package/dist/src/components/namespace.test.d.ts.map +0 -1
- package/dist/src/components/namespace.test.js +0 -93
- package/dist/src/components/namespace.test.js.map +0 -1
- package/dist/test/project-directory.test.d.ts +0 -2
- package/dist/test/project-directory.test.d.ts.map +0 -1
- package/dist/test/project-directory.test.js +0 -133
- package/dist/test/project-directory.test.js.map +0 -1
- package/src/components/ProjectDirectory.tsx +0 -56
- package/src/components/namespace.test.tsx +0 -65
- package/test/project-directory.test.tsx +0 -121
- /package/dist/src/components/{namespace.test.d.ts → namespace/namespace.test.d.ts} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Attribute } from "#components/attributes/attributes.jsx";
|
|
1
2
|
import { ClassDeclaration } from "#components/class/declaration.jsx";
|
|
2
3
|
import { Method } from "#components/method/method.jsx";
|
|
3
4
|
import { Property } from "#components/property/property.jsx";
|
|
@@ -115,3 +116,72 @@ it("members can be referenced when the parameter is nullable", () => {
|
|
|
115
116
|
}
|
|
116
117
|
`);
|
|
117
118
|
});
|
|
119
|
+
|
|
120
|
+
it("can attach attributes", () => {
|
|
121
|
+
expect(
|
|
122
|
+
<Wrapper>
|
|
123
|
+
<Method
|
|
124
|
+
name="MethodOne"
|
|
125
|
+
parameters={[
|
|
126
|
+
{
|
|
127
|
+
name: "param1",
|
|
128
|
+
type: "T1",
|
|
129
|
+
attributes: [<Attribute name="Test" />],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "param2",
|
|
133
|
+
type: "T2",
|
|
134
|
+
attributes: [<Attribute name="Test2" args={["arg1", "arg2"]} />],
|
|
135
|
+
},
|
|
136
|
+
]}
|
|
137
|
+
/>
|
|
138
|
+
</Wrapper>,
|
|
139
|
+
).toRenderTo(`
|
|
140
|
+
public class TestClass
|
|
141
|
+
{
|
|
142
|
+
void MethodOne(
|
|
143
|
+
[Test]
|
|
144
|
+
T1 param1,
|
|
145
|
+
[Test2(arg1, arg2)]
|
|
146
|
+
T2 param2
|
|
147
|
+
) {}
|
|
148
|
+
}
|
|
149
|
+
`);
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
it("can add modifiers: in | out | ref", () => {
|
|
153
|
+
expect(
|
|
154
|
+
<Wrapper>
|
|
155
|
+
<Method
|
|
156
|
+
name="MethodOne"
|
|
157
|
+
parameters={[
|
|
158
|
+
{
|
|
159
|
+
name: "param1",
|
|
160
|
+
type: "T1",
|
|
161
|
+
ref: true,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "param2",
|
|
165
|
+
type: "T2",
|
|
166
|
+
in: true,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: "param3",
|
|
170
|
+
type: "T3",
|
|
171
|
+
out: true,
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "param4",
|
|
175
|
+
type: "T4",
|
|
176
|
+
refReadonly: true,
|
|
177
|
+
},
|
|
178
|
+
]}
|
|
179
|
+
/>
|
|
180
|
+
</Wrapper>,
|
|
181
|
+
).toRenderTo(`
|
|
182
|
+
public class TestClass
|
|
183
|
+
{
|
|
184
|
+
void MethodOne(ref T1 param1, in T2 param2, out T3 param3, ref readonly T4 param4) {}
|
|
185
|
+
}
|
|
186
|
+
`);
|
|
187
|
+
});
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
Refkey,
|
|
10
10
|
} from "@alloy-js/core";
|
|
11
11
|
import { createParameterSymbol } from "../../symbols/factories.js";
|
|
12
|
+
import { AttributeList, AttributesProp } from "../attributes/attributes.jsx";
|
|
12
13
|
import { Name } from "../Name.jsx";
|
|
13
14
|
|
|
14
15
|
export interface ParameterProps {
|
|
@@ -20,6 +21,42 @@ export interface ParameterProps {
|
|
|
20
21
|
default?: Children;
|
|
21
22
|
|
|
22
23
|
refkey?: Refkey;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Parameter modifier: The argument must be initialized before calling the method. The method can't assign a new value to the parameter. The compiler might create a temporary variable to hold a copy of the argument to in parameters.
|
|
27
|
+
* @see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#in-parameter-modifier
|
|
28
|
+
* */
|
|
29
|
+
in?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Parameter modifier: The calling method isn't required to initialize the argument before calling the method. The method must assign a value to the parameter.
|
|
32
|
+
* @see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#out-parameter-modifier
|
|
33
|
+
* */
|
|
34
|
+
out?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Parameter modifier: The argument must be initialized before calling the method. The method can assign a new value to the parameter, but isn't required to do so.
|
|
37
|
+
* @see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#ref-parameter-modifier
|
|
38
|
+
*/
|
|
39
|
+
ref?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Parameter modifier: The argument must be initialized before calling the method. The method can't assign a new value to the parameter.
|
|
42
|
+
* @see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#ref-readonly-modifier
|
|
43
|
+
*/
|
|
44
|
+
refReadonly?: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Define attributes to attach
|
|
48
|
+
* @example
|
|
49
|
+
* ```tsx
|
|
50
|
+
* <Parameter name="foo" type="string" attributes={[
|
|
51
|
+
* <Attribute name="Test" />
|
|
52
|
+
* ]}>
|
|
53
|
+
* ```
|
|
54
|
+
* This will produce:
|
|
55
|
+
* ```csharp
|
|
56
|
+
* [Test] string foo
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
attributes?: AttributesProp;
|
|
23
60
|
}
|
|
24
61
|
|
|
25
62
|
/** Define a parameter to be used in class or interface method. */
|
|
@@ -32,8 +69,26 @@ export function Parameter(props: ParameterProps) {
|
|
|
32
69
|
isNullable: props.optional,
|
|
33
70
|
});
|
|
34
71
|
|
|
72
|
+
// Only one of in, out, ref, ref readonly can be specified
|
|
73
|
+
const modifiers: (keyof ParameterProps)[] = (
|
|
74
|
+
["in", "out", "ref", "refReadonly"] as (keyof ParameterProps)[]
|
|
75
|
+
).filter((k) => props[k]);
|
|
76
|
+
|
|
77
|
+
if (modifiers.length > 1) {
|
|
78
|
+
throw new Error(
|
|
79
|
+
`Only one of 'in', 'out', 'ref', 'ref readonly' can be specified for parameter '${
|
|
80
|
+
typeof props.name === "string" ? props.name : props.name.name
|
|
81
|
+
}'`,
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
const modifier =
|
|
85
|
+
modifiers.length === 0 ? ""
|
|
86
|
+
: modifiers[0] === "refReadonly" ? "ref readonly "
|
|
87
|
+
: modifiers[0] + " ";
|
|
35
88
|
return (
|
|
36
89
|
<Declaration symbol={memberSymbol}>
|
|
90
|
+
<AttributeList attributes={props.attributes} endline />
|
|
91
|
+
<>{modifier}</>
|
|
37
92
|
<TypeSlot>{props.type}</TypeSlot>
|
|
38
93
|
{props.optional ? "?" : ""} <Name />
|
|
39
94
|
{props.default ? code` = ${props.default}` : ""}
|
|
@@ -51,9 +106,14 @@ export function Parameters(props: ParametersProps) {
|
|
|
51
106
|
<group>
|
|
52
107
|
{"("}
|
|
53
108
|
{props.parameters && (
|
|
54
|
-
<Indent
|
|
109
|
+
<Indent nobreak>
|
|
55
110
|
<For each={props.parameters} joiner={", "}>
|
|
56
|
-
{(param) =>
|
|
111
|
+
{(param) => (
|
|
112
|
+
<>
|
|
113
|
+
<softline />
|
|
114
|
+
<Parameter {...param} />
|
|
115
|
+
</>
|
|
116
|
+
)}
|
|
57
117
|
</For>
|
|
58
118
|
</Indent>
|
|
59
119
|
)}
|
|
@@ -207,3 +207,28 @@ it("specify attributes", () => {
|
|
|
207
207
|
}
|
|
208
208
|
`);
|
|
209
209
|
});
|
|
210
|
+
|
|
211
|
+
describe("format", () => {
|
|
212
|
+
it("split after = if initializer too long", () => {
|
|
213
|
+
expect(
|
|
214
|
+
<TestNamespace printWidth={60}>
|
|
215
|
+
<ClassDeclaration name="Test">
|
|
216
|
+
<Property
|
|
217
|
+
public
|
|
218
|
+
get
|
|
219
|
+
set
|
|
220
|
+
name="ThisIsAVeryLongPropertyName"
|
|
221
|
+
type="string"
|
|
222
|
+
initializer={`"Some very long initializer value"`}
|
|
223
|
+
/>
|
|
224
|
+
</ClassDeclaration>
|
|
225
|
+
</TestNamespace>,
|
|
226
|
+
).toRenderTo(`
|
|
227
|
+
class Test
|
|
228
|
+
{
|
|
229
|
+
public string ThisIsAVeryLongPropertyName { get; set; } =
|
|
230
|
+
"Some very long initializer value";
|
|
231
|
+
}
|
|
232
|
+
`);
|
|
233
|
+
});
|
|
234
|
+
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Block,
|
|
3
2
|
Children,
|
|
4
|
-
code,
|
|
5
3
|
createSymbolSlot,
|
|
6
4
|
List,
|
|
7
5
|
MemberDeclaration,
|
|
@@ -142,15 +140,28 @@ export function Property(props: PropertyProps) {
|
|
|
142
140
|
<AttributeList attributes={props.attributes} endline />
|
|
143
141
|
{modifiers}
|
|
144
142
|
<TypeSlot>{props.type}</TypeSlot>
|
|
145
|
-
{props.nullable && "?"} <MemberName />{" "}
|
|
146
|
-
<
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
143
|
+
{props.nullable && "?"} <MemberName /> {"{ "}
|
|
144
|
+
<List joiner=" ">
|
|
145
|
+
{props.get && "get;"}
|
|
146
|
+
{props.set && "set;"}
|
|
147
|
+
{props.init && "init;"}
|
|
148
|
+
</List>
|
|
149
|
+
{" }"}
|
|
150
|
+
{props.initializer && (
|
|
151
|
+
<PropertyInitializer>{props.initializer}</PropertyInitializer>
|
|
152
|
+
)}
|
|
154
153
|
</MemberDeclaration>
|
|
155
154
|
);
|
|
156
155
|
}
|
|
156
|
+
|
|
157
|
+
function PropertyInitializer(props: { children: Children }) {
|
|
158
|
+
return (
|
|
159
|
+
<group>
|
|
160
|
+
{" ="}
|
|
161
|
+
<indent>
|
|
162
|
+
<line />
|
|
163
|
+
{props.children};
|
|
164
|
+
</indent>
|
|
165
|
+
</group>
|
|
166
|
+
);
|
|
167
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClassDeclaration } from "#components/class/declaration.jsx";
|
|
2
|
-
import { Namespace } from "#components/namespace.jsx";
|
|
2
|
+
import { Namespace } from "#components/namespace/namespace.jsx";
|
|
3
3
|
import { Children, FormatOptions, Indent, Output, Prose } from "@alloy-js/core";
|
|
4
4
|
import { describe, expect, it } from "vitest";
|
|
5
5
|
import { CSharpFormatOptions } from "../../contexts/format-options.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NamespaceScopes } from "#components/namespace-scopes.jsx";
|
|
2
|
+
import { NamespaceName } from "#components/namespace/namespace-name.jsx";
|
|
2
3
|
import { Reference } from "#components/Reference.jsx";
|
|
3
4
|
import { Usings } from "#components/using/using.jsx";
|
|
4
5
|
import {
|
|
@@ -42,7 +43,6 @@ export function SourceFile(props: SourceFileProps) {
|
|
|
42
43
|
const nsContext = useNamespaceContext();
|
|
43
44
|
const globalNs = getGlobalNamespace(useBinder());
|
|
44
45
|
const nsSymbol = nsContext ? nsContext.symbol : globalNs;
|
|
45
|
-
const nsRef = nsContext ? nsContext.symbol.name : undefined;
|
|
46
46
|
const usings = computed(() => {
|
|
47
47
|
return (
|
|
48
48
|
Array.from(sourceFileScope.usings) as (NamespaceSymbol | string)[]
|
|
@@ -78,7 +78,7 @@ export function SourceFile(props: SourceFileProps) {
|
|
|
78
78
|
{nsSymbol === globalNs ?
|
|
79
79
|
content
|
|
80
80
|
: <>
|
|
81
|
-
namespace {
|
|
81
|
+
namespace <NamespaceName symbol={nsSymbol} />
|
|
82
82
|
{sourceFileScope.hasBlockNamespace ?
|
|
83
83
|
<>
|
|
84
84
|
{" "}
|
|
@@ -2,7 +2,7 @@ import { ClassDeclaration } from "#components/class/declaration.jsx";
|
|
|
2
2
|
import { EnumDeclaration } from "#components/enum/declaration.jsx";
|
|
3
3
|
import { EnumMember } from "#components/enum/member.jsx";
|
|
4
4
|
import { Method } from "#components/method/method.jsx";
|
|
5
|
-
import { Namespace } from "#components/namespace.jsx";
|
|
5
|
+
import { Namespace } from "#components/namespace/namespace.jsx";
|
|
6
6
|
import { SourceFile } from "#components/source-file/source-file.jsx";
|
|
7
7
|
import { Output, refkey } from "@alloy-js/core";
|
|
8
8
|
import * as coretest from "@alloy-js/core/testing";
|
|
@@ -9,6 +9,5 @@ export const EnumDeclaration = core.stc(base.EnumDeclaration);
|
|
|
9
9
|
export const EnumMember = core.stc(base.EnumMember);
|
|
10
10
|
export const Parameter = core.stc(base.Parameter);
|
|
11
11
|
export const Parameters = core.stc(base.Parameters);
|
|
12
|
-
export const ProjectDirectory = core.stc(base.ProjectDirectory);
|
|
13
12
|
export const UsingDirective = core.stc(base.Usings);
|
|
14
13
|
export const StructDeclaration = core.stc(base.StructDeclaration);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { List, namekey, refkey } from "@alloy-js/core";
|
|
2
|
-
import { expect, it } from "vitest";
|
|
2
|
+
import { describe, expect, it } from "vitest";
|
|
3
3
|
import { TestNamespace } from "../../../test/utils.jsx";
|
|
4
4
|
import { VarDeclaration } from "./declaration.jsx";
|
|
5
5
|
|
|
@@ -66,3 +66,17 @@ it("links namekey", () => {
|
|
|
66
66
|
var testVar2 = testVar;
|
|
67
67
|
`);
|
|
68
68
|
});
|
|
69
|
+
|
|
70
|
+
describe("modifiers", () => {
|
|
71
|
+
it.each(["const", "using"])("%s", (mod) => {
|
|
72
|
+
expect(
|
|
73
|
+
<TestNamespace>
|
|
74
|
+
<VarDeclaration {...{ [mod]: true }} name="test" type="object">
|
|
75
|
+
a
|
|
76
|
+
</VarDeclaration>
|
|
77
|
+
</TestNamespace>,
|
|
78
|
+
).toRenderTo(`
|
|
79
|
+
${mod} object test = a;
|
|
80
|
+
`);
|
|
81
|
+
});
|
|
82
|
+
});
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Children,
|
|
3
|
+
createSymbolSlot,
|
|
3
4
|
Declaration,
|
|
4
5
|
DeclarationProps,
|
|
5
6
|
Name,
|
|
6
7
|
Namekey,
|
|
7
8
|
Refkey,
|
|
8
9
|
} from "@alloy-js/core";
|
|
10
|
+
import { computeModifiersPrefix, makeModifiers } from "../../modifiers.js";
|
|
9
11
|
import { createVariableSymbol } from "../../symbols/factories.js";
|
|
10
12
|
|
|
11
13
|
/** Props for {@link VarDeclaration} component */
|
|
12
14
|
export interface VarDeclarationProps
|
|
13
|
-
extends Omit<DeclarationProps, "nameKind"
|
|
15
|
+
extends Omit<DeclarationProps, "nameKind">,
|
|
16
|
+
VarModifiers {
|
|
14
17
|
/** Variable name */
|
|
15
18
|
name: string | Namekey;
|
|
16
19
|
/** Type of the variable declaration. If not specified, defaults to "var" */
|
|
@@ -21,6 +24,16 @@ export interface VarDeclarationProps
|
|
|
21
24
|
children?: Children;
|
|
22
25
|
}
|
|
23
26
|
|
|
27
|
+
export interface VarModifiers {
|
|
28
|
+
/** Constant variable. Add the const modifier. */
|
|
29
|
+
readonly const?: boolean;
|
|
30
|
+
|
|
31
|
+
/** Disposable variable. Add the using modifier. */
|
|
32
|
+
readonly using?: boolean;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const getModifiers = makeModifiers<VarModifiers>(["const", "using"]);
|
|
36
|
+
|
|
24
37
|
/**
|
|
25
38
|
* Render a variable declaration
|
|
26
39
|
*
|
|
@@ -43,12 +56,22 @@ export interface VarDeclarationProps
|
|
|
43
56
|
* ```
|
|
44
57
|
*/
|
|
45
58
|
export function VarDeclaration(props: VarDeclarationProps) {
|
|
59
|
+
const TypeSlot = createSymbolSlot();
|
|
60
|
+
const ValueSlot = createSymbolSlot();
|
|
61
|
+
|
|
46
62
|
const sym = createVariableSymbol(props.name, {
|
|
47
63
|
refkeys: props.refkey,
|
|
64
|
+
type: props.type ? TypeSlot.firstSymbol : ValueSlot.firstSymbol,
|
|
48
65
|
});
|
|
66
|
+
|
|
67
|
+
if (props.const && !props.type) {
|
|
68
|
+
throw new Error("Implicitly-typed variables cannot be constant");
|
|
69
|
+
}
|
|
49
70
|
return (
|
|
50
71
|
<Declaration symbol={sym}>
|
|
51
|
-
{props
|
|
72
|
+
{computeModifiersPrefix([getModifiers(props)])}
|
|
73
|
+
<TypeSlot>{props.type ?? "var"}</TypeSlot> <Name /> ={" "}
|
|
74
|
+
<ValueSlot>{props.children}</ValueSlot>;
|
|
52
75
|
</Declaration>
|
|
53
76
|
);
|
|
54
77
|
}
|
|
@@ -7,9 +7,16 @@ export function useGlobalNamespace() {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
const globalNamespaces = new WeakMap<Binder, NamespaceSymbol>();
|
|
10
|
-
|
|
10
|
+
let defaultGlobalNamespace = new NamespaceSymbol("global", undefined, {
|
|
11
11
|
isGlobal: true,
|
|
12
12
|
});
|
|
13
|
+
|
|
14
|
+
export function resetGlobalNamespace() {
|
|
15
|
+
defaultGlobalNamespace = new NamespaceSymbol("global", undefined, {
|
|
16
|
+
isGlobal: true,
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
export function getGlobalNamespace(binder: Binder | undefined) {
|
|
14
21
|
if (!binder) {
|
|
15
22
|
return defaultGlobalNamespace;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentContext, createContext, useContext } from "@alloy-js/core";
|
|
2
|
+
|
|
3
|
+
/** What kind of reference.
|
|
4
|
+
* - 'standard' Default reference nothing special.
|
|
5
|
+
* - 'attribute' means we are referencing an attribute and so the name should be trimmed of "Attribute" suffix.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type ReferenceContext = "standard" | "attribute";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Provides scopes for instance and static private members.
|
|
12
|
+
*/
|
|
13
|
+
export const ReferenceContext: ComponentContext<ReferenceContext> =
|
|
14
|
+
createContext<ReferenceContext>();
|
|
15
|
+
|
|
16
|
+
export function useReferenceContext(): "standard" | "attribute" {
|
|
17
|
+
return useContext(ReferenceContext) ?? "standard";
|
|
18
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { VarDeclaration } from "#components/index.js";
|
|
2
|
+
import { InvocationExpression } from "#components/invocation-expression/invocation-expression.jsx";
|
|
3
|
+
import { TestNamespace } from "#test/utils.jsx";
|
|
4
|
+
import { List, memberRefkey, namekey, toRefkey } from "@alloy-js/core";
|
|
5
|
+
import { beforeEach, expect, it } from "vitest";
|
|
6
|
+
import { IO } from "./builtins/System/index.js";
|
|
7
|
+
import {
|
|
8
|
+
getGlobalNamespace,
|
|
9
|
+
resetGlobalNamespace,
|
|
10
|
+
} from "./contexts/global-namespace.js";
|
|
11
|
+
import { createLibrary } from "./create-library.js";
|
|
12
|
+
import { NamespaceSymbol } from "./symbols/namespace.js";
|
|
13
|
+
|
|
14
|
+
beforeEach(() => {
|
|
15
|
+
resetGlobalNamespace();
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
it("Creates symbols on demand", () => {
|
|
19
|
+
const System = createLibrary("System", {
|
|
20
|
+
String: {
|
|
21
|
+
kind: "class",
|
|
22
|
+
members: {
|
|
23
|
+
Special: { kind: "class", members: { BeSpecial: { kind: "field" } } },
|
|
24
|
+
Substring: { kind: "method" },
|
|
25
|
+
Length: { kind: "field" },
|
|
26
|
+
Empty: { kind: "field", isStatic: true },
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const globalNamespace = getGlobalNamespace(undefined);
|
|
32
|
+
const systemNs = globalNamespace.members.symbolNames.get("System")!;
|
|
33
|
+
expect(systemNs).toBeUndefined();
|
|
34
|
+
const _ = toRefkey(System);
|
|
35
|
+
const systemNs2 = globalNamespace.members.symbolNames.get("System")!;
|
|
36
|
+
expect(systemNs2).toBeDefined();
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
it("Can reference types which haven't been created yet", () => {
|
|
40
|
+
const System = createLibrary("System", {
|
|
41
|
+
String: {
|
|
42
|
+
kind: "class",
|
|
43
|
+
members: {
|
|
44
|
+
Special: { kind: "property", type: () => SomeNs.SomeType },
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const SomeNs = createLibrary("SomeNs", {
|
|
50
|
+
SomeType: {
|
|
51
|
+
kind: "class",
|
|
52
|
+
members: {},
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
const globalNamespace = getGlobalNamespace(undefined);
|
|
57
|
+
const _ = toRefkey(System.String.Special);
|
|
58
|
+
const systemNs2 = globalNamespace.members.symbolNames.get("System")!;
|
|
59
|
+
expect(systemNs2).toBeDefined();
|
|
60
|
+
const someNs = globalNamespace.members.symbolNames.get("SomeNs")!;
|
|
61
|
+
expect(someNs).toBeDefined();
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
it("Works with nested namespaces", () => {
|
|
65
|
+
const IO = createLibrary("System.IO", {
|
|
66
|
+
BinaryReader: {
|
|
67
|
+
kind: "class",
|
|
68
|
+
members: {},
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
const globalNamespace = getGlobalNamespace(undefined);
|
|
73
|
+
const systemNs = globalNamespace.members.symbolNames.get("System")!;
|
|
74
|
+
expect(systemNs).toBeUndefined();
|
|
75
|
+
const _ = toRefkey(IO.BinaryReader);
|
|
76
|
+
const systemNs2 = globalNamespace.members.symbolNames.get("System")!;
|
|
77
|
+
expect(systemNs2).toBeDefined();
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
it("Doesn't create duplicate namespaces", () => {
|
|
81
|
+
const IO = createLibrary("System.IO", {
|
|
82
|
+
BinaryReader: { kind: "class", members: {} },
|
|
83
|
+
BinaryWriter: { kind: "class", members: {} },
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const Collections = createLibrary("System.Collections", {
|
|
87
|
+
ArrayList: { kind: "class", members: {} },
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
const _refkeys = [
|
|
91
|
+
toRefkey(IO.BinaryReader),
|
|
92
|
+
toRefkey(IO.BinaryWriter),
|
|
93
|
+
toRefkey(Collections.ArrayList),
|
|
94
|
+
];
|
|
95
|
+
|
|
96
|
+
const globalNamespace = getGlobalNamespace(undefined);
|
|
97
|
+
const systemNs = globalNamespace.members.symbolNames.get(
|
|
98
|
+
"System",
|
|
99
|
+
)! as NamespaceSymbol;
|
|
100
|
+
expect(systemNs).toBeDefined();
|
|
101
|
+
const ioNs = systemNs.members.symbolNames.get("IO")!;
|
|
102
|
+
expect(ioNs).toBeDefined();
|
|
103
|
+
const collectionsNs = systemNs.members.symbolNames.get("Collections")!;
|
|
104
|
+
expect(collectionsNs).toBeDefined();
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
it("renders as a refkey", () => {
|
|
108
|
+
const IO = createLibrary("System.IO", {
|
|
109
|
+
BinaryReader: {
|
|
110
|
+
kind: "class",
|
|
111
|
+
members: {},
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
expect(
|
|
116
|
+
<TestNamespace>
|
|
117
|
+
new <InvocationExpression target={IO.BinaryReader} />;
|
|
118
|
+
</TestNamespace>,
|
|
119
|
+
).toRenderTo(`
|
|
120
|
+
using System.IO;
|
|
121
|
+
|
|
122
|
+
new BinaryReader();
|
|
123
|
+
`);
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
it("has a refkey getter", () => {
|
|
127
|
+
const IO = createLibrary("System.IO", {
|
|
128
|
+
BinaryReader: {
|
|
129
|
+
kind: "class",
|
|
130
|
+
members: {},
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
const ioKey = toRefkey(IO);
|
|
135
|
+
expect(ioKey).toBeDefined();
|
|
136
|
+
const brKey = toRefkey(IO.BinaryReader);
|
|
137
|
+
expect(brKey).toBeDefined();
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
it("works to reference members", () => {
|
|
141
|
+
const IO = createLibrary("System.IO", {
|
|
142
|
+
BinaryReader: {
|
|
143
|
+
kind: "class",
|
|
144
|
+
members: {
|
|
145
|
+
ReadString: { kind: "method" },
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
const reader = namekey("reader");
|
|
151
|
+
|
|
152
|
+
expect(
|
|
153
|
+
<TestNamespace>
|
|
154
|
+
<VarDeclaration name={reader} type={IO.BinaryReader}>
|
|
155
|
+
new <InvocationExpression target={IO.BinaryReader} />
|
|
156
|
+
</VarDeclaration>
|
|
157
|
+
<hbr />
|
|
158
|
+
<InvocationExpression
|
|
159
|
+
target={memberRefkey(reader, IO.BinaryReader.ReadString)}
|
|
160
|
+
/>
|
|
161
|
+
;
|
|
162
|
+
</TestNamespace>,
|
|
163
|
+
).toRenderTo(`
|
|
164
|
+
using System.IO;
|
|
165
|
+
|
|
166
|
+
BinaryReader reader = new BinaryReader();
|
|
167
|
+
reader.ReadString();
|
|
168
|
+
`);
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
it("has built-ins available", () => {
|
|
172
|
+
const info = namekey("info");
|
|
173
|
+
|
|
174
|
+
const template = (
|
|
175
|
+
<TestNamespace>
|
|
176
|
+
<List>
|
|
177
|
+
<VarDeclaration name={info}>
|
|
178
|
+
new {IO.FileInfo}("test.txt")
|
|
179
|
+
</VarDeclaration>
|
|
180
|
+
<VarDeclaration name="directoryName">
|
|
181
|
+
{memberRefkey(info, "DirectoryName", "Length")}
|
|
182
|
+
</VarDeclaration>
|
|
183
|
+
</List>
|
|
184
|
+
</TestNamespace>
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
expect(template).toRenderTo(`
|
|
188
|
+
using System.IO;
|
|
189
|
+
|
|
190
|
+
var info = new FileInfo("test.txt");
|
|
191
|
+
var directoryName = info.DirectoryName?.Length;
|
|
192
|
+
`);
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
it("can render multiple times", () => {
|
|
196
|
+
const System = createLibrary("System", {
|
|
197
|
+
String: {
|
|
198
|
+
kind: "class",
|
|
199
|
+
members: {},
|
|
200
|
+
},
|
|
201
|
+
});
|
|
202
|
+
expect(<TestNamespace>{System.String}</TestNamespace>).toRenderTo(`
|
|
203
|
+
using System;
|
|
204
|
+
|
|
205
|
+
String
|
|
206
|
+
`);
|
|
207
|
+
|
|
208
|
+
expect(<TestNamespace>{System.String}</TestNamespace>).toRenderTo(`
|
|
209
|
+
using System;
|
|
210
|
+
|
|
211
|
+
String
|
|
212
|
+
`);
|
|
213
|
+
});
|