From ece40932410c61f6e548a4d8cb0686cd01622382 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Tue, 1 Dec 2020 15:41:24 +0000 Subject: [PATCH 1/3] add check for system assemblies completion --- src/fsharp/DotNetFrameworkDependencies.fs | 156 ++++++++++++++++++++++ tests/service/ScriptOptionsTests.fs | 22 ++- 2 files changed, 177 insertions(+), 1 deletion(-) diff --git a/src/fsharp/DotNetFrameworkDependencies.fs b/src/fsharp/DotNetFrameworkDependencies.fs index de7ecda89b5..6e7999b49da 100644 --- a/src/fsharp/DotNetFrameworkDependencies.fs +++ b/src/fsharp/DotNetFrameworkDependencies.fs @@ -482,6 +482,162 @@ module internal FSharp.Compiler.DotNetFrameworkDependencies yield "System.Threading.Tasks.Extensions" yield "System.Xml.ReaderWriter" yield "System.Xml.XDocument" + + // .NET 5.0 list + yield "System.Numerics" + yield "netstandard" + yield "Microsoft.CSharp" + yield "Microsoft.VisualBasic.Core" + yield "Microsoft.VisualBasic" + yield "Microsoft.Win32.Primitives" + yield "mscorlib" + yield "netstandard" + yield "System.AppContext" + yield "System.Buffers" + yield "System.Collections.Concurrent" + yield "System.Collections" + yield "System.Collections.Immutable" + yield "System.Collections.NonGeneric" + yield "System.Collections.Specialized" + yield "System.ComponentModel.Annotations" + yield "System.ComponentModel.DataAnnotations" + yield "System.ComponentModel" + yield "System.ComponentModel.EventBasedAsync" + yield "System.ComponentModel.Primitives" + yield "System.ComponentModel.TypeConverter" + yield "System.Configuration" + yield "System.Console" + yield "System.Core" + yield "System.Data.Common" + yield "System.Data.DataSetExtensions" + yield "System.Data" + yield "System.Diagnostics.Contracts" + yield "System.Diagnostics.Debug" + yield "System.Diagnostics.DiagnosticSource" + yield "System.Diagnostics.FileVersionInfo" + yield "System.Diagnostics.Process" + yield "System.Diagnostics.StackTrace" + yield "System.Diagnostics.TextWriterTraceListener" + yield "System.Diagnostics.Tools" + yield "System.Diagnostics.TraceSource" + yield "System.Diagnostics.Tracing" + yield "System" + yield "System.Drawing" + yield "System.Drawing.Primitives" + yield "System.Dynamic.Runtime" + yield "System.Formats.Asn1" + yield "System.Globalization.Calendars" + yield "System.Globalization" + yield "System.Globalization.Extensions" + yield "System.IO.Compression.Brotli" + yield "System.IO.Compression" + yield "System.IO.Compression.FileSystem" + yield "System.IO.Compression.ZipFile" + yield "System.IO" + yield "System.IO.FileSystem" + yield "System.IO.FileSystem.DriveInfo" + yield "System.IO.FileSystem.Primitives" + yield "System.IO.FileSystem.Watcher" + yield "System.IO.IsolatedStorage" + yield "System.IO.MemoryMappedFiles" + yield "System.IO.Pipes" + yield "System.IO.UnmanagedMemoryStream" + yield "System.Linq" + yield "System.Linq.Expressions" + yield "System.Linq.Parallel" + yield "System.Linq.Queryable" + yield "System.Memory" + yield "System.Net" + yield "System.Net.Http" + yield "System.Net.Http.Json" + yield "System.Net.HttpListener" + yield "System.Net.Mail" + yield "System.Net.NameResolution" + yield "System.Net.NetworkInformation" + yield "System.Net.Ping" + yield "System.Net.Primitives" + yield "System.Net.Requests" + yield "System.Net.Security" + yield "System.Net.ServicePoint" + yield "System.Net.Sockets" + yield "System.Net.WebClient" + yield "System.Net.WebHeaderCollection" + yield "System.Net.WebProxy" + yield "System.Net.WebSockets.Client" + yield "System.Net.WebSockets" + yield "System.Numerics" + yield "System.Numerics.Vectors" + yield "System.ObjectModel" + yield "System.Reflection.DispatchProxy" + yield "System.Reflection" + yield "System.Reflection.Emit" + yield "System.Reflection.Emit.ILGeneration" + yield "System.Reflection.Emit.Lightweight" + yield "System.Reflection.Extensions" + yield "System.Reflection.Metadata" + yield "System.Reflection.Primitives" + yield "System.Reflection.TypeExtensions" + yield "System.Resources.Reader" + yield "System.Resources.ResourceManager" + yield "System.Resources.Writer" + yield "System.Runtime.CompilerServices.Unsafe" + yield "System.Runtime.CompilerServices.VisualC" + yield "System.Runtime" + yield "System.Runtime.Extensions" + yield "System.Runtime.Handles" + yield "System.Runtime.InteropServices" + yield "System.Runtime.InteropServices.RuntimeInformation" + yield "System.Runtime.Intrinsics" + yield "System.Runtime.Loader" + yield "System.Runtime.Numerics" + yield "System.Runtime.Serialization" + yield "System.Runtime.Serialization.Formatters" + yield "System.Runtime.Serialization.Json" + yield "System.Runtime.Serialization.Primitives" + yield "System.Runtime.Serialization.Xml" + yield "System.Security.Claims" + yield "System.Security.Cryptography.Algorithms" + yield "System.Security.Cryptography.Csp" + yield "System.Security.Cryptography.Encoding" + yield "System.Security.Cryptography.Primitives" + yield "System.Security.Cryptography.X509Certificates" + yield "System.Security" + yield "System.Security.Principal" + yield "System.Security.SecureString" + yield "System.ServiceModel.Web" + yield "System.ServiceProcess" + yield "System.Text.Encoding.CodePages" + yield "System.Text.Encoding" + yield "System.Text.Encoding.Extensions" + yield "System.Text.Encodings.Web" + yield "System.Text.Json" + yield "System.Text.RegularExpressions" + yield "System.Threading.Channels" + yield "System.Threading" + yield "System.Threading.Overlapped" + yield "System.Threading.Tasks.Dataflow" + yield "System.Threading.Tasks" + yield "System.Threading.Tasks.Extensions" + yield "System.Threading.Tasks.Parallel" + yield "System.Threading.Thread" + yield "System.Threading.ThreadPool" + yield "System.Threading.Timer" + yield "System.Transactions" + yield "System.Transactions.Local" + yield "System.ValueTuple" + yield "System.Web" + yield "System.Web.HttpUtility" + yield "System.Windows" + yield "System.Xml" + yield "System.Xml.Linq" + yield "System.Xml.ReaderWriter" + yield "System.Xml.Serialization" + yield "System.Xml.XDocument" + yield "System.Xml.XmlDocument" + yield "System.Xml.XmlSerializer" + yield "System.Xml.XPath" + yield "System.Xml.XPath.XDocument" + yield "WindowsBase" ] // The set of references entered into the TcConfigBuilder for scripts prior to computing the load closure. diff --git a/tests/service/ScriptOptionsTests.fs b/tests/service/ScriptOptionsTests.fs index f89a861f110..1d7f8dda69f 100644 --- a/tests/service/ScriptOptionsTests.fs +++ b/tests/service/ScriptOptionsTests.fs @@ -31,4 +31,24 @@ let ``can generate options for different frameworks regardless of execution envi |> Async.RunSynchronously match errors with | [] -> () - | errors -> failwithf "Error while parsing script with assumeDotNetFramework:%b, useSdkRefs:%b, and otherFlags:%A:\n%A" assumeNetFx useSdk flags errors \ No newline at end of file + | errors -> failwithf "Error while parsing script with assumeDotNetFramework:%b, useSdkRefs:%b, and otherFlags:%A:\n%A" assumeNetFx useSdk flags errors + +[] +[] +[] +let ``all default assembly references are system assemblies``(assumeNetFx, useSdk, flags) = + let path = Path.GetTempPath() + let file = Path.GetTempFileName() + let tempFile = Path.Combine(path, file) + let (options, errors) = + checker.GetProjectOptionsFromScript(tempFile, SourceText.ofString scriptSource, assumeDotNetFramework = assumeNetFx, useSdkRefs = useSdk, otherFlags = flags) + |> Async.RunSynchronously + match errors with + | [] -> () + | errors -> failwithf "Error while parsing script with assumeDotNetFramework:%b, useSdkRefs:%b, and otherFlags:%A:\n%A" assumeNetFx useSdk flags errors + for r in options.OtherOptions do + if r.StartsWith("-r:") then + let ref = Path.GetFullPath(r.[3..]) + let baseName = Path.GetFileNameWithoutExtension(ref) + if not (FSharp.Compiler.DotNetFrameworkDependencies.systemAssemblies.Contains(baseName)) then + failwithf "expected FSharp.Compiler.DotNetFrameworkDependencies.systemAssemblies to contain '%s' because '%s' is a default reference for a script, (assumeNetFx, useSdk, flags) = %A" baseName ref (assumeNetFx, useSdk, flags) \ No newline at end of file From 06790fb3f38bc99697cdf405b10c41542e0f2500 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Tue, 1 Dec 2020 15:59:56 +0000 Subject: [PATCH 2/3] add check for system assemblies completion --- src/fsharp/DotNetFrameworkDependencies.fs | 156 ++++++++++++++++++ .../FSharp.Compiler.Service.Tests.fsproj | 2 +- tests/service/ScriptOptionsTests.fs | 5 +- 3 files changed, 161 insertions(+), 2 deletions(-) diff --git a/src/fsharp/DotNetFrameworkDependencies.fs b/src/fsharp/DotNetFrameworkDependencies.fs index 6e7999b49da..2779d5de51e 100644 --- a/src/fsharp/DotNetFrameworkDependencies.fs +++ b/src/fsharp/DotNetFrameworkDependencies.fs @@ -382,6 +382,9 @@ module internal FSharp.Compiler.DotNetFrameworkDependencies // referenced from TcGlobals must be listed here. let systemAssemblies = HashSet [ + // NOTE: duplicates are ok in this list + + // .NET Framework list yield "mscorlib" yield "netstandard" yield "System.Runtime" @@ -483,6 +486,159 @@ module internal FSharp.Compiler.DotNetFrameworkDependencies yield "System.Xml.ReaderWriter" yield "System.Xml.XDocument" + // .NET Core App 3.1 list + yield "Microsoft.CSharp" + yield "Microsoft.VisualBasic.Core" + yield "Microsoft.VisualBasic" + yield "Microsoft.Win32.Primitives" + yield "mscorlib" + yield "netstandard" + yield "System.AppContext" + yield "System.Buffers" + yield "System.Collections.Concurrent" + yield "System.Collections" + yield "System.Collections.Immutable" + yield "System.Collections.NonGeneric" + yield "System.Collections.Specialized" + yield "System.ComponentModel.Annotations" + yield "System.ComponentModel.DataAnnotations" + yield "System.ComponentModel" + yield "System.ComponentModel.EventBasedAsync" + yield "System.ComponentModel.Primitives" + yield "System.ComponentModel.TypeConverter" + yield "System.Configuration" + yield "System.Console" + yield "System.Core" + yield "System.Data.Common" + yield "System.Data.DataSetExtensions" + yield "System.Data" + yield "System.Diagnostics.Contracts" + yield "System.Diagnostics.Debug" + yield "System.Diagnostics.DiagnosticSource" + yield "System.Diagnostics.FileVersionInfo" + yield "System.Diagnostics.Process" + yield "System.Diagnostics.StackTrace" + yield "System.Diagnostics.TextWriterTraceListener" + yield "System.Diagnostics.Tools" + yield "System.Diagnostics.TraceSource" + yield "System.Diagnostics.Tracing" + yield "System" + yield "System.Drawing" + yield "System.Drawing.Primitives" + yield "System.Dynamic.Runtime" + yield "System.Globalization.Calendars" + yield "System.Globalization" + yield "System.Globalization.Extensions" + yield "System.IO.Compression.Brotli" + yield "System.IO.Compression" + yield "System.IO.Compression.FileSystem" + yield "System.IO.Compression.ZipFile" + yield "System.IO" + yield "System.IO.FileSystem" + yield "System.IO.FileSystem.DriveInfo" + yield "System.IO.FileSystem.Primitives" + yield "System.IO.FileSystem.Watcher" + yield "System.IO.IsolatedStorage" + yield "System.IO.MemoryMappedFiles" + yield "System.IO.Pipes" + yield "System.IO.UnmanagedMemoryStream" + yield "System.Linq" + yield "System.Linq.Expressions" + yield "System.Linq.Parallel" + yield "System.Linq.Queryable" + yield "System.Memory" + yield "System.Net" + yield "System.Net.Http" + yield "System.Net.HttpListener" + yield "System.Net.Mail" + yield "System.Net.NameResolution" + yield "System.Net.NetworkInformation" + yield "System.Net.Ping" + yield "System.Net.Primitives" + yield "System.Net.Requests" + yield "System.Net.Security" + yield "System.Net.ServicePoint" + yield "System.Net.Sockets" + yield "System.Net.WebClient" + yield "System.Net.WebHeaderCollection" + yield "System.Net.WebProxy" + yield "System.Net.WebSockets.Client" + yield "System.Net.WebSockets" + yield "System.Numerics" + yield "System.Numerics.Vectors" + yield "System.ObjectModel" + yield "System.Reflection.DispatchProxy" + yield "System.Reflection" + yield "System.Reflection.Emit" + yield "System.Reflection.Emit.ILGeneration" + yield "System.Reflection.Emit.Lightweight" + yield "System.Reflection.Extensions" + yield "System.Reflection.Metadata" + yield "System.Reflection.Primitives" + yield "System.Reflection.TypeExtensions" + yield "System.Resources.Reader" + yield "System.Resources.ResourceManager" + yield "System.Resources.Writer" + yield "System.Runtime.CompilerServices.Unsafe" + yield "System.Runtime.CompilerServices.VisualC" + yield "System.Runtime" + yield "System.Runtime.Extensions" + yield "System.Runtime.Handles" + yield "System.Runtime.InteropServices" + yield "System.Runtime.InteropServices.RuntimeInformation" + yield "System.Runtime.InteropServices.WindowsRuntime" + yield "System.Runtime.Intrinsics" + yield "System.Runtime.Loader" + yield "System.Runtime.Numerics" + yield "System.Runtime.Serialization" + yield "System.Runtime.Serialization.Formatters" + yield "System.Runtime.Serialization.Json" + yield "System.Runtime.Serialization.Primitives" + yield "System.Runtime.Serialization.Xml" + yield "System.Security.Claims" + yield "System.Security.Cryptography.Algorithms" + yield "System.Security.Cryptography.Csp" + yield "System.Security.Cryptography.Encoding" + yield "System.Security.Cryptography.Primitives" + yield "System.Security.Cryptography.X509Certificates" + yield "System.Security" + yield "System.Security.Principal" + yield "System.Security.SecureString" + yield "System.ServiceModel.Web" + yield "System.ServiceProcess" + yield "System.Text.Encoding.CodePages" + yield "System.Text.Encoding" + yield "System.Text.Encoding.Extensions" + yield "System.Text.Encodings.Web" + yield "System.Text.Json" + yield "System.Text.RegularExpressions" + yield "System.Threading.Channels" + yield "System.Threading" + yield "System.Threading.Overlapped" + yield "System.Threading.Tasks.Dataflow" + yield "System.Threading.Tasks" + yield "System.Threading.Tasks.Extensions" + yield "System.Threading.Tasks.Parallel" + yield "System.Threading.Thread" + yield "System.Threading.ThreadPool" + yield "System.Threading.Timer" + yield "System.Transactions" + yield "System.Transactions.Local" + yield "System.ValueTuple" + yield "System.Web" + yield "System.Web.HttpUtility" + yield "System.Windows" + yield "System.Xml" + yield "System.Xml.Linq" + yield "System.Xml.ReaderWriter" + yield "System.Xml.Serialization" + yield "System.Xml.XDocument" + yield "System.Xml.XmlDocument" + yield "System.Xml.XmlSerializer" + yield "System.Xml.XPath" + yield "System.Xml.XPath.XDocument" + yield "WindowsBase" + // .NET 5.0 list yield "System.Numerics" yield "netstandard" diff --git a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj index 7678f58ffc7..e7d9d79f34d 100644 --- a/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj +++ b/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj @@ -67,7 +67,7 @@ ScriptOptionsTests.fs - + ParserTests.fs diff --git a/tests/service/ScriptOptionsTests.fs b/tests/service/ScriptOptionsTests.fs index 1d7f8dda69f..9ceae471bd4 100644 --- a/tests/service/ScriptOptionsTests.fs +++ b/tests/service/ScriptOptionsTests.fs @@ -51,4 +51,7 @@ let ``all default assembly references are system assemblies``(assumeNetFx, useSd let ref = Path.GetFullPath(r.[3..]) let baseName = Path.GetFileNameWithoutExtension(ref) if not (FSharp.Compiler.DotNetFrameworkDependencies.systemAssemblies.Contains(baseName)) then - failwithf "expected FSharp.Compiler.DotNetFrameworkDependencies.systemAssemblies to contain '%s' because '%s' is a default reference for a script, (assumeNetFx, useSdk, flags) = %A" baseName ref (assumeNetFx, useSdk, flags) \ No newline at end of file + printfn "Failing, printing options from GetProjectOptionsFromScript..." + for opt in options.OtherOptions do + printfn "option: %s" opt + failwithf "expected FSharp.Compiler.DotNetFrameworkDependencies.systemAssemblies to contain '%s' because '%s' is a default reference for a script, (assumeNetFx, useSdk, flags) = %A" baseName ref (assumeNetFx, useSdk, flags) \ No newline at end of file From 9e585fe0bb3aa737db9d5e09138c84ace93884e3 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Tue, 1 Dec 2020 16:13:08 +0000 Subject: [PATCH 3/3] add check for system assemblies completion --- src/fsharp/DotNetFrameworkDependencies.fs | 806 +++++++++++----------- 1 file changed, 403 insertions(+), 403 deletions(-) diff --git a/src/fsharp/DotNetFrameworkDependencies.fs b/src/fsharp/DotNetFrameworkDependencies.fs index 2779d5de51e..fc925995e50 100644 --- a/src/fsharp/DotNetFrameworkDependencies.fs +++ b/src/fsharp/DotNetFrameworkDependencies.fs @@ -385,415 +385,415 @@ module internal FSharp.Compiler.DotNetFrameworkDependencies // NOTE: duplicates are ok in this list // .NET Framework list - yield "mscorlib" - yield "netstandard" - yield "System.Runtime" - yield getFSharpCoreLibraryName - - yield "System" - yield "System.Xml" - yield "System.Runtime.Remoting" - yield "System.Runtime.Serialization.Formatters.Soap" - yield "System.Configuration" - yield "System.Data" - yield "System.Deployment" - yield "System.Design" - yield "System.Messaging" - yield "System.Drawing" - yield "System.Net" - yield "System.Web" - yield "System.Web.Services" - yield "System.Windows.Forms" - yield "System.Core" - yield "System.Runtime" - yield "System.Observable" - yield "System.Numerics" - yield "System.ValueTuple" + "mscorlib" + "netstandard" + "System.Runtime" + getFSharpCoreLibraryName + + "System" + "System.Xml" + "System.Runtime.Remoting" + "System.Runtime.Serialization.Formatters.Soap" + "System.Configuration" + "System.Data" + "System.Deployment" + "System.Design" + "System.Messaging" + "System.Drawing" + "System.Net" + "System.Web" + "System.Web.Services" + "System.Windows.Forms" + "System.Core" + "System.Runtime" + "System.Observable" + "System.Numerics" + "System.ValueTuple" // Additions for coreclr and portable profiles - yield "System.Collections" - yield "System.Collections.Concurrent" - yield "System.Console" - yield "System.Diagnostics.Debug" - yield "System.Diagnostics.Tools" - yield "System.Globalization" - yield "System.IO" - yield "System.Linq" - yield "System.Linq.Expressions" - yield "System.Linq.Queryable" - yield "System.Net.Requests" - yield "System.Reflection" - yield "System.Reflection.Emit" - yield "System.Reflection.Emit.ILGeneration" - yield "System.Reflection.Extensions" - yield "System.Resources.ResourceManager" - yield "System.Runtime.Extensions" - yield "System.Runtime.InteropServices" - yield "System.Runtime.InteropServices.PInvoke" - yield "System.Runtime.Numerics" - yield "System.Text.Encoding" - yield "System.Text.Encoding.Extensions" - yield "System.Text.RegularExpressions" - yield "System.Threading" - yield "System.Threading.Tasks" - yield "System.Threading.Tasks.Parallel" - yield "System.Threading.Thread" - yield "System.Threading.ThreadPool" - yield "System.Threading.Timer" - - yield "FSharp.Compiler.Interactive.Settings" - yield "Microsoft.Win32.Registry" - yield "System.Diagnostics.Tracing" - yield "System.Globalization.Calendars" - yield "System.Reflection.Primitives" - yield "System.Runtime.Handles" - yield "Microsoft.Win32.Primitives" - yield "System.IO.FileSystem" - yield "System.Net.Primitives" - yield "System.Net.Sockets" - yield "System.Private.Uri" - yield "System.AppContext" - yield "System.Buffers" - yield "System.Collections.Immutable" - yield "System.Diagnostics.DiagnosticSource" - yield "System.Diagnostics.Process" - yield "System.Diagnostics.TraceSource" - yield "System.Globalization.Extensions" - yield "System.IO.Compression" - yield "System.IO.Compression.ZipFile" - yield "System.IO.FileSystem.Primitives" - yield "System.Net.Http" - yield "System.Net.NameResolution" - yield "System.Net.WebHeaderCollection" - yield "System.ObjectModel" - yield "System.Reflection.Emit.Lightweight" - yield "System.Reflection.Metadata" - yield "System.Reflection.TypeExtensions" - yield "System.Runtime.InteropServices.RuntimeInformation" - yield "System.Runtime.Loader" - yield "System.Security.Claims" - yield "System.Security.Cryptography.Algorithms" - yield "System.Security.Cryptography.Cng" - yield "System.Security.Cryptography.Csp" - yield "System.Security.Cryptography.Encoding" - yield "System.Security.Cryptography.OpenSsl" - yield "System.Security.Cryptography.Primitives" - yield "System.Security.Cryptography.X509Certificates" - yield "System.Security.Principal" - yield "System.Security.Principal.Windows" - yield "System.Threading.Overlapped" - yield "System.Threading.Tasks.Extensions" - yield "System.Xml.ReaderWriter" - yield "System.Xml.XDocument" + "System.Collections" + "System.Collections.Concurrent" + "System.Console" + "System.Diagnostics.Debug" + "System.Diagnostics.Tools" + "System.Globalization" + "System.IO" + "System.Linq" + "System.Linq.Expressions" + "System.Linq.Queryable" + "System.Net.Requests" + "System.Reflection" + "System.Reflection.Emit" + "System.Reflection.Emit.ILGeneration" + "System.Reflection.Extensions" + "System.Resources.ResourceManager" + "System.Runtime.Extensions" + "System.Runtime.InteropServices" + "System.Runtime.InteropServices.PInvoke" + "System.Runtime.Numerics" + "System.Text.Encoding" + "System.Text.Encoding.Extensions" + "System.Text.RegularExpressions" + "System.Threading" + "System.Threading.Tasks" + "System.Threading.Tasks.Parallel" + "System.Threading.Thread" + "System.Threading.ThreadPool" + "System.Threading.Timer" + + "FSharp.Compiler.Interactive.Settings" + "Microsoft.Win32.Registry" + "System.Diagnostics.Tracing" + "System.Globalization.Calendars" + "System.Reflection.Primitives" + "System.Runtime.Handles" + "Microsoft.Win32.Primitives" + "System.IO.FileSystem" + "System.Net.Primitives" + "System.Net.Sockets" + "System.Private.Uri" + "System.AppContext" + "System.Buffers" + "System.Collections.Immutable" + "System.Diagnostics.DiagnosticSource" + "System.Diagnostics.Process" + "System.Diagnostics.TraceSource" + "System.Globalization.Extensions" + "System.IO.Compression" + "System.IO.Compression.ZipFile" + "System.IO.FileSystem.Primitives" + "System.Net.Http" + "System.Net.NameResolution" + "System.Net.WebHeaderCollection" + "System.ObjectModel" + "System.Reflection.Emit.Lightweight" + "System.Reflection.Metadata" + "System.Reflection.TypeExtensions" + "System.Runtime.InteropServices.RuntimeInformation" + "System.Runtime.Loader" + "System.Security.Claims" + "System.Security.Cryptography.Algorithms" + "System.Security.Cryptography.Cng" + "System.Security.Cryptography.Csp" + "System.Security.Cryptography.Encoding" + "System.Security.Cryptography.OpenSsl" + "System.Security.Cryptography.Primitives" + "System.Security.Cryptography.X509Certificates" + "System.Security.Principal" + "System.Security.Principal.Windows" + "System.Threading.Overlapped" + "System.Threading.Tasks.Extensions" + "System.Xml.ReaderWriter" + "System.Xml.XDocument" // .NET Core App 3.1 list - yield "Microsoft.CSharp" - yield "Microsoft.VisualBasic.Core" - yield "Microsoft.VisualBasic" - yield "Microsoft.Win32.Primitives" - yield "mscorlib" - yield "netstandard" - yield "System.AppContext" - yield "System.Buffers" - yield "System.Collections.Concurrent" - yield "System.Collections" - yield "System.Collections.Immutable" - yield "System.Collections.NonGeneric" - yield "System.Collections.Specialized" - yield "System.ComponentModel.Annotations" - yield "System.ComponentModel.DataAnnotations" - yield "System.ComponentModel" - yield "System.ComponentModel.EventBasedAsync" - yield "System.ComponentModel.Primitives" - yield "System.ComponentModel.TypeConverter" - yield "System.Configuration" - yield "System.Console" - yield "System.Core" - yield "System.Data.Common" - yield "System.Data.DataSetExtensions" - yield "System.Data" - yield "System.Diagnostics.Contracts" - yield "System.Diagnostics.Debug" - yield "System.Diagnostics.DiagnosticSource" - yield "System.Diagnostics.FileVersionInfo" - yield "System.Diagnostics.Process" - yield "System.Diagnostics.StackTrace" - yield "System.Diagnostics.TextWriterTraceListener" - yield "System.Diagnostics.Tools" - yield "System.Diagnostics.TraceSource" - yield "System.Diagnostics.Tracing" - yield "System" - yield "System.Drawing" - yield "System.Drawing.Primitives" - yield "System.Dynamic.Runtime" - yield "System.Globalization.Calendars" - yield "System.Globalization" - yield "System.Globalization.Extensions" - yield "System.IO.Compression.Brotli" - yield "System.IO.Compression" - yield "System.IO.Compression.FileSystem" - yield "System.IO.Compression.ZipFile" - yield "System.IO" - yield "System.IO.FileSystem" - yield "System.IO.FileSystem.DriveInfo" - yield "System.IO.FileSystem.Primitives" - yield "System.IO.FileSystem.Watcher" - yield "System.IO.IsolatedStorage" - yield "System.IO.MemoryMappedFiles" - yield "System.IO.Pipes" - yield "System.IO.UnmanagedMemoryStream" - yield "System.Linq" - yield "System.Linq.Expressions" - yield "System.Linq.Parallel" - yield "System.Linq.Queryable" - yield "System.Memory" - yield "System.Net" - yield "System.Net.Http" - yield "System.Net.HttpListener" - yield "System.Net.Mail" - yield "System.Net.NameResolution" - yield "System.Net.NetworkInformation" - yield "System.Net.Ping" - yield "System.Net.Primitives" - yield "System.Net.Requests" - yield "System.Net.Security" - yield "System.Net.ServicePoint" - yield "System.Net.Sockets" - yield "System.Net.WebClient" - yield "System.Net.WebHeaderCollection" - yield "System.Net.WebProxy" - yield "System.Net.WebSockets.Client" - yield "System.Net.WebSockets" - yield "System.Numerics" - yield "System.Numerics.Vectors" - yield "System.ObjectModel" - yield "System.Reflection.DispatchProxy" - yield "System.Reflection" - yield "System.Reflection.Emit" - yield "System.Reflection.Emit.ILGeneration" - yield "System.Reflection.Emit.Lightweight" - yield "System.Reflection.Extensions" - yield "System.Reflection.Metadata" - yield "System.Reflection.Primitives" - yield "System.Reflection.TypeExtensions" - yield "System.Resources.Reader" - yield "System.Resources.ResourceManager" - yield "System.Resources.Writer" - yield "System.Runtime.CompilerServices.Unsafe" - yield "System.Runtime.CompilerServices.VisualC" - yield "System.Runtime" - yield "System.Runtime.Extensions" - yield "System.Runtime.Handles" - yield "System.Runtime.InteropServices" - yield "System.Runtime.InteropServices.RuntimeInformation" - yield "System.Runtime.InteropServices.WindowsRuntime" - yield "System.Runtime.Intrinsics" - yield "System.Runtime.Loader" - yield "System.Runtime.Numerics" - yield "System.Runtime.Serialization" - yield "System.Runtime.Serialization.Formatters" - yield "System.Runtime.Serialization.Json" - yield "System.Runtime.Serialization.Primitives" - yield "System.Runtime.Serialization.Xml" - yield "System.Security.Claims" - yield "System.Security.Cryptography.Algorithms" - yield "System.Security.Cryptography.Csp" - yield "System.Security.Cryptography.Encoding" - yield "System.Security.Cryptography.Primitives" - yield "System.Security.Cryptography.X509Certificates" - yield "System.Security" - yield "System.Security.Principal" - yield "System.Security.SecureString" - yield "System.ServiceModel.Web" - yield "System.ServiceProcess" - yield "System.Text.Encoding.CodePages" - yield "System.Text.Encoding" - yield "System.Text.Encoding.Extensions" - yield "System.Text.Encodings.Web" - yield "System.Text.Json" - yield "System.Text.RegularExpressions" - yield "System.Threading.Channels" - yield "System.Threading" - yield "System.Threading.Overlapped" - yield "System.Threading.Tasks.Dataflow" - yield "System.Threading.Tasks" - yield "System.Threading.Tasks.Extensions" - yield "System.Threading.Tasks.Parallel" - yield "System.Threading.Thread" - yield "System.Threading.ThreadPool" - yield "System.Threading.Timer" - yield "System.Transactions" - yield "System.Transactions.Local" - yield "System.ValueTuple" - yield "System.Web" - yield "System.Web.HttpUtility" - yield "System.Windows" - yield "System.Xml" - yield "System.Xml.Linq" - yield "System.Xml.ReaderWriter" - yield "System.Xml.Serialization" - yield "System.Xml.XDocument" - yield "System.Xml.XmlDocument" - yield "System.Xml.XmlSerializer" - yield "System.Xml.XPath" - yield "System.Xml.XPath.XDocument" - yield "WindowsBase" + "Microsoft.CSharp" + "Microsoft.VisualBasic.Core" + "Microsoft.VisualBasic" + "Microsoft.Win32.Primitives" + "mscorlib" + "netstandard" + "System.AppContext" + "System.Buffers" + "System.Collections.Concurrent" + "System.Collections" + "System.Collections.Immutable" + "System.Collections.NonGeneric" + "System.Collections.Specialized" + "System.ComponentModel.Annotations" + "System.ComponentModel.DataAnnotations" + "System.ComponentModel" + "System.ComponentModel.EventBasedAsync" + "System.ComponentModel.Primitives" + "System.ComponentModel.TypeConverter" + "System.Configuration" + "System.Console" + "System.Core" + "System.Data.Common" + "System.Data.DataSetExtensions" + "System.Data" + "System.Diagnostics.Contracts" + "System.Diagnostics.Debug" + "System.Diagnostics.DiagnosticSource" + "System.Diagnostics.FileVersionInfo" + "System.Diagnostics.Process" + "System.Diagnostics.StackTrace" + "System.Diagnostics.TextWriterTraceListener" + "System.Diagnostics.Tools" + "System.Diagnostics.TraceSource" + "System.Diagnostics.Tracing" + "System" + "System.Drawing" + "System.Drawing.Primitives" + "System.Dynamic.Runtime" + "System.Globalization.Calendars" + "System.Globalization" + "System.Globalization.Extensions" + "System.IO.Compression.Brotli" + "System.IO.Compression" + "System.IO.Compression.FileSystem" + "System.IO.Compression.ZipFile" + "System.IO" + "System.IO.FileSystem" + "System.IO.FileSystem.DriveInfo" + "System.IO.FileSystem.Primitives" + "System.IO.FileSystem.Watcher" + "System.IO.IsolatedStorage" + "System.IO.MemoryMappedFiles" + "System.IO.Pipes" + "System.IO.UnmanagedMemoryStream" + "System.Linq" + "System.Linq.Expressions" + "System.Linq.Parallel" + "System.Linq.Queryable" + "System.Memory" + "System.Net" + "System.Net.Http" + "System.Net.HttpListener" + "System.Net.Mail" + "System.Net.NameResolution" + "System.Net.NetworkInformation" + "System.Net.Ping" + "System.Net.Primitives" + "System.Net.Requests" + "System.Net.Security" + "System.Net.ServicePoint" + "System.Net.Sockets" + "System.Net.WebClient" + "System.Net.WebHeaderCollection" + "System.Net.WebProxy" + "System.Net.WebSockets.Client" + "System.Net.WebSockets" + "System.Numerics" + "System.Numerics.Vectors" + "System.ObjectModel" + "System.Reflection.DispatchProxy" + "System.Reflection" + "System.Reflection.Emit" + "System.Reflection.Emit.ILGeneration" + "System.Reflection.Emit.Lightweight" + "System.Reflection.Extensions" + "System.Reflection.Metadata" + "System.Reflection.Primitives" + "System.Reflection.TypeExtensions" + "System.Resources.Reader" + "System.Resources.ResourceManager" + "System.Resources.Writer" + "System.Runtime.CompilerServices.Unsafe" + "System.Runtime.CompilerServices.VisualC" + "System.Runtime" + "System.Runtime.Extensions" + "System.Runtime.Handles" + "System.Runtime.InteropServices" + "System.Runtime.InteropServices.RuntimeInformation" + "System.Runtime.InteropServices.WindowsRuntime" + "System.Runtime.Intrinsics" + "System.Runtime.Loader" + "System.Runtime.Numerics" + "System.Runtime.Serialization" + "System.Runtime.Serialization.Formatters" + "System.Runtime.Serialization.Json" + "System.Runtime.Serialization.Primitives" + "System.Runtime.Serialization.Xml" + "System.Security.Claims" + "System.Security.Cryptography.Algorithms" + "System.Security.Cryptography.Csp" + "System.Security.Cryptography.Encoding" + "System.Security.Cryptography.Primitives" + "System.Security.Cryptography.X509Certificates" + "System.Security" + "System.Security.Principal" + "System.Security.SecureString" + "System.ServiceModel.Web" + "System.ServiceProcess" + "System.Text.Encoding.CodePages" + "System.Text.Encoding" + "System.Text.Encoding.Extensions" + "System.Text.Encodings.Web" + "System.Text.Json" + "System.Text.RegularExpressions" + "System.Threading.Channels" + "System.Threading" + "System.Threading.Overlapped" + "System.Threading.Tasks.Dataflow" + "System.Threading.Tasks" + "System.Threading.Tasks.Extensions" + "System.Threading.Tasks.Parallel" + "System.Threading.Thread" + "System.Threading.ThreadPool" + "System.Threading.Timer" + "System.Transactions" + "System.Transactions.Local" + "System.ValueTuple" + "System.Web" + "System.Web.HttpUtility" + "System.Windows" + "System.Xml" + "System.Xml.Linq" + "System.Xml.ReaderWriter" + "System.Xml.Serialization" + "System.Xml.XDocument" + "System.Xml.XmlDocument" + "System.Xml.XmlSerializer" + "System.Xml.XPath" + "System.Xml.XPath.XDocument" + "WindowsBase" // .NET 5.0 list - yield "System.Numerics" - yield "netstandard" - yield "Microsoft.CSharp" - yield "Microsoft.VisualBasic.Core" - yield "Microsoft.VisualBasic" - yield "Microsoft.Win32.Primitives" - yield "mscorlib" - yield "netstandard" - yield "System.AppContext" - yield "System.Buffers" - yield "System.Collections.Concurrent" - yield "System.Collections" - yield "System.Collections.Immutable" - yield "System.Collections.NonGeneric" - yield "System.Collections.Specialized" - yield "System.ComponentModel.Annotations" - yield "System.ComponentModel.DataAnnotations" - yield "System.ComponentModel" - yield "System.ComponentModel.EventBasedAsync" - yield "System.ComponentModel.Primitives" - yield "System.ComponentModel.TypeConverter" - yield "System.Configuration" - yield "System.Console" - yield "System.Core" - yield "System.Data.Common" - yield "System.Data.DataSetExtensions" - yield "System.Data" - yield "System.Diagnostics.Contracts" - yield "System.Diagnostics.Debug" - yield "System.Diagnostics.DiagnosticSource" - yield "System.Diagnostics.FileVersionInfo" - yield "System.Diagnostics.Process" - yield "System.Diagnostics.StackTrace" - yield "System.Diagnostics.TextWriterTraceListener" - yield "System.Diagnostics.Tools" - yield "System.Diagnostics.TraceSource" - yield "System.Diagnostics.Tracing" - yield "System" - yield "System.Drawing" - yield "System.Drawing.Primitives" - yield "System.Dynamic.Runtime" - yield "System.Formats.Asn1" - yield "System.Globalization.Calendars" - yield "System.Globalization" - yield "System.Globalization.Extensions" - yield "System.IO.Compression.Brotli" - yield "System.IO.Compression" - yield "System.IO.Compression.FileSystem" - yield "System.IO.Compression.ZipFile" - yield "System.IO" - yield "System.IO.FileSystem" - yield "System.IO.FileSystem.DriveInfo" - yield "System.IO.FileSystem.Primitives" - yield "System.IO.FileSystem.Watcher" - yield "System.IO.IsolatedStorage" - yield "System.IO.MemoryMappedFiles" - yield "System.IO.Pipes" - yield "System.IO.UnmanagedMemoryStream" - yield "System.Linq" - yield "System.Linq.Expressions" - yield "System.Linq.Parallel" - yield "System.Linq.Queryable" - yield "System.Memory" - yield "System.Net" - yield "System.Net.Http" - yield "System.Net.Http.Json" - yield "System.Net.HttpListener" - yield "System.Net.Mail" - yield "System.Net.NameResolution" - yield "System.Net.NetworkInformation" - yield "System.Net.Ping" - yield "System.Net.Primitives" - yield "System.Net.Requests" - yield "System.Net.Security" - yield "System.Net.ServicePoint" - yield "System.Net.Sockets" - yield "System.Net.WebClient" - yield "System.Net.WebHeaderCollection" - yield "System.Net.WebProxy" - yield "System.Net.WebSockets.Client" - yield "System.Net.WebSockets" - yield "System.Numerics" - yield "System.Numerics.Vectors" - yield "System.ObjectModel" - yield "System.Reflection.DispatchProxy" - yield "System.Reflection" - yield "System.Reflection.Emit" - yield "System.Reflection.Emit.ILGeneration" - yield "System.Reflection.Emit.Lightweight" - yield "System.Reflection.Extensions" - yield "System.Reflection.Metadata" - yield "System.Reflection.Primitives" - yield "System.Reflection.TypeExtensions" - yield "System.Resources.Reader" - yield "System.Resources.ResourceManager" - yield "System.Resources.Writer" - yield "System.Runtime.CompilerServices.Unsafe" - yield "System.Runtime.CompilerServices.VisualC" - yield "System.Runtime" - yield "System.Runtime.Extensions" - yield "System.Runtime.Handles" - yield "System.Runtime.InteropServices" - yield "System.Runtime.InteropServices.RuntimeInformation" - yield "System.Runtime.Intrinsics" - yield "System.Runtime.Loader" - yield "System.Runtime.Numerics" - yield "System.Runtime.Serialization" - yield "System.Runtime.Serialization.Formatters" - yield "System.Runtime.Serialization.Json" - yield "System.Runtime.Serialization.Primitives" - yield "System.Runtime.Serialization.Xml" - yield "System.Security.Claims" - yield "System.Security.Cryptography.Algorithms" - yield "System.Security.Cryptography.Csp" - yield "System.Security.Cryptography.Encoding" - yield "System.Security.Cryptography.Primitives" - yield "System.Security.Cryptography.X509Certificates" - yield "System.Security" - yield "System.Security.Principal" - yield "System.Security.SecureString" - yield "System.ServiceModel.Web" - yield "System.ServiceProcess" - yield "System.Text.Encoding.CodePages" - yield "System.Text.Encoding" - yield "System.Text.Encoding.Extensions" - yield "System.Text.Encodings.Web" - yield "System.Text.Json" - yield "System.Text.RegularExpressions" - yield "System.Threading.Channels" - yield "System.Threading" - yield "System.Threading.Overlapped" - yield "System.Threading.Tasks.Dataflow" - yield "System.Threading.Tasks" - yield "System.Threading.Tasks.Extensions" - yield "System.Threading.Tasks.Parallel" - yield "System.Threading.Thread" - yield "System.Threading.ThreadPool" - yield "System.Threading.Timer" - yield "System.Transactions" - yield "System.Transactions.Local" - yield "System.ValueTuple" - yield "System.Web" - yield "System.Web.HttpUtility" - yield "System.Windows" - yield "System.Xml" - yield "System.Xml.Linq" - yield "System.Xml.ReaderWriter" - yield "System.Xml.Serialization" - yield "System.Xml.XDocument" - yield "System.Xml.XmlDocument" - yield "System.Xml.XmlSerializer" - yield "System.Xml.XPath" - yield "System.Xml.XPath.XDocument" - yield "WindowsBase" + "System.Numerics" + "netstandard" + "Microsoft.CSharp" + "Microsoft.VisualBasic.Core" + "Microsoft.VisualBasic" + "Microsoft.Win32.Primitives" + "mscorlib" + "netstandard" + "System.AppContext" + "System.Buffers" + "System.Collections.Concurrent" + "System.Collections" + "System.Collections.Immutable" + "System.Collections.NonGeneric" + "System.Collections.Specialized" + "System.ComponentModel.Annotations" + "System.ComponentModel.DataAnnotations" + "System.ComponentModel" + "System.ComponentModel.EventBasedAsync" + "System.ComponentModel.Primitives" + "System.ComponentModel.TypeConverter" + "System.Configuration" + "System.Console" + "System.Core" + "System.Data.Common" + "System.Data.DataSetExtensions" + "System.Data" + "System.Diagnostics.Contracts" + "System.Diagnostics.Debug" + "System.Diagnostics.DiagnosticSource" + "System.Diagnostics.FileVersionInfo" + "System.Diagnostics.Process" + "System.Diagnostics.StackTrace" + "System.Diagnostics.TextWriterTraceListener" + "System.Diagnostics.Tools" + "System.Diagnostics.TraceSource" + "System.Diagnostics.Tracing" + "System" + "System.Drawing" + "System.Drawing.Primitives" + "System.Dynamic.Runtime" + "System.Formats.Asn1" + "System.Globalization.Calendars" + "System.Globalization" + "System.Globalization.Extensions" + "System.IO.Compression.Brotli" + "System.IO.Compression" + "System.IO.Compression.FileSystem" + "System.IO.Compression.ZipFile" + "System.IO" + "System.IO.FileSystem" + "System.IO.FileSystem.DriveInfo" + "System.IO.FileSystem.Primitives" + "System.IO.FileSystem.Watcher" + "System.IO.IsolatedStorage" + "System.IO.MemoryMappedFiles" + "System.IO.Pipes" + "System.IO.UnmanagedMemoryStream" + "System.Linq" + "System.Linq.Expressions" + "System.Linq.Parallel" + "System.Linq.Queryable" + "System.Memory" + "System.Net" + "System.Net.Http" + "System.Net.Http.Json" + "System.Net.HttpListener" + "System.Net.Mail" + "System.Net.NameResolution" + "System.Net.NetworkInformation" + "System.Net.Ping" + "System.Net.Primitives" + "System.Net.Requests" + "System.Net.Security" + "System.Net.ServicePoint" + "System.Net.Sockets" + "System.Net.WebClient" + "System.Net.WebHeaderCollection" + "System.Net.WebProxy" + "System.Net.WebSockets.Client" + "System.Net.WebSockets" + "System.Numerics" + "System.Numerics.Vectors" + "System.ObjectModel" + "System.Reflection.DispatchProxy" + "System.Reflection" + "System.Reflection.Emit" + "System.Reflection.Emit.ILGeneration" + "System.Reflection.Emit.Lightweight" + "System.Reflection.Extensions" + "System.Reflection.Metadata" + "System.Reflection.Primitives" + "System.Reflection.TypeExtensions" + "System.Resources.Reader" + "System.Resources.ResourceManager" + "System.Resources.Writer" + "System.Runtime.CompilerServices.Unsafe" + "System.Runtime.CompilerServices.VisualC" + "System.Runtime" + "System.Runtime.Extensions" + "System.Runtime.Handles" + "System.Runtime.InteropServices" + "System.Runtime.InteropServices.RuntimeInformation" + "System.Runtime.Intrinsics" + "System.Runtime.Loader" + "System.Runtime.Numerics" + "System.Runtime.Serialization" + "System.Runtime.Serialization.Formatters" + "System.Runtime.Serialization.Json" + "System.Runtime.Serialization.Primitives" + "System.Runtime.Serialization.Xml" + "System.Security.Claims" + "System.Security.Cryptography.Algorithms" + "System.Security.Cryptography.Csp" + "System.Security.Cryptography.Encoding" + "System.Security.Cryptography.Primitives" + "System.Security.Cryptography.X509Certificates" + "System.Security" + "System.Security.Principal" + "System.Security.SecureString" + "System.ServiceModel.Web" + "System.ServiceProcess" + "System.Text.Encoding.CodePages" + "System.Text.Encoding" + "System.Text.Encoding.Extensions" + "System.Text.Encodings.Web" + "System.Text.Json" + "System.Text.RegularExpressions" + "System.Threading.Channels" + "System.Threading" + "System.Threading.Overlapped" + "System.Threading.Tasks.Dataflow" + "System.Threading.Tasks" + "System.Threading.Tasks.Extensions" + "System.Threading.Tasks.Parallel" + "System.Threading.Thread" + "System.Threading.ThreadPool" + "System.Threading.Timer" + "System.Transactions" + "System.Transactions.Local" + "System.ValueTuple" + "System.Web" + "System.Web.HttpUtility" + "System.Windows" + "System.Xml" + "System.Xml.Linq" + "System.Xml.ReaderWriter" + "System.Xml.Serialization" + "System.Xml.XDocument" + "System.Xml.XmlDocument" + "System.Xml.XmlSerializer" + "System.Xml.XPath" + "System.Xml.XPath.XDocument" + "WindowsBase" ] // The set of references entered into the TcConfigBuilder for scripts prior to computing the load closure.