Commit Graph
141 Commits
Author SHA1 Message Date
Anirudh Agnihotry c48ef02470 changing netcoreapp targetframework from 3.0 to 5.0 and adding support for targetgroup = netcoreapp5.0 (dotnet/corefx#40049)
* adding 5.0 target moniker

* Restoring packages for netcoreapp3.0

* package config for crypto done

* Drawing.Common and System.Windows.Extensions done

* some left over crypto and some smaller other libraries

* security.permissions, WindowsRuntime, WindowsRuntime.Xaml done

* experimental projects and openssl cryptography

* harvesting the runtime package  version for windows Runtime

* update VS configurations

* reverting the shared framework package

* some remaining  projects

* Using sdk to restore package and targetFrameowrk for netcoreapp3.0

* removing harvesting and using ReferenceFromRuntime for windowsRuntime project

* For oob packages with no pkg folder

* addresses feedback

* addresses the feedback

* reverting a commit with extra packageconfig additions

* System.text.Encoding.Web configurations edited


Commit migrated from https://github.com/dotnet/corefx/commit/777dbdec193fcbe49b3f18614348ac96f77d57c3
2019-08-29 10:46:09 -07:00
Stephen Toub 9548bea38a Make many fields readonly or const across corefx (dotnet/corefx#40298)
* Make many fields readonly or const

* Address PR feedback

- Updated asn.xslt
- Regenerated .xml.cs files


Commit migrated from https://github.com/dotnet/corefx/commit/0cc22ccba707d7552159363d586262fa9c4e8a2a
2019-08-14 14:19:30 -04:00
Stephen Toub 6a988c7d03 Enable StyleCop rules 1205, 1411, 1026, and 1000 (dotnet/corefx#40254)
* Fix StyleCop warning SA1411 (attribute ctor shouldn't use unnecessary parens)

* Fix StyleCop warning SA1026 (new[] spacing)

* Fix StyleCop warning SA1000 (consistent spacing around if, for, switch, etc.)

* Fix StyleCop warning SA1205 (partial elements should declare an access modifier)


Commit migrated from https://github.com/dotnet/corefx/commit/0c4c234a918254d569ffb0f6a607f98193608646
2019-08-12 22:45:34 +02:00
Stephen Toub 087592a6e8 Fix several test use of RunContinuationsAsynchronously (dotnet/corefx#40121)
Commit migrated from https://github.com/dotnet/corefx/commit/d3911035f2ba3eb5c44310342cc1d654e42aa316
2019-08-07 21:08:35 -04:00
Stephen Toub 60d1224ddd Re-enable StyleCop warnings SA1028 and SA1518 (trailing whitespace and blank lines) (dotnet/corefx#40113)
Mechanical/automated change.  The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered.

Commit migrated from https://github.com/dotnet/corefx/commit/09a6e66b0c2b31bd0f6e7e3170537d14027aeed0
2019-08-07 21:07:58 -04:00
Stephen Toub c8df52dd02 Re-enable xunit warning 1026 (unused theory arguments) (dotnet/corefx#40079)
* Re-enable xunit warning 1026 (unused theory arguments)

Some of these were addressed by explicitly discarding theory arguments, generally in cases where either a) the argument was being used as a description to aid in debugging failures, or b) the argument was part of a member data that was used by some theories and not by others all sharing the same member data.

However, there are quite a few legitimate bugs being fixed here, enough that highlights it's worthwhile to have the rule enabled.  Some are cases where the argument was supposed to be used but wasn't.  Some are cases where the argument isn't used at all, and in many cases where we end up running the same test over and over and wasting cycles.  Some are cases where we're unnecessarily including irrelevant inputs to the tests and making the input data more complicated than it needs to be.  Etc.

(Along the way, I also fixed some cases where VS was warning about lambdas being used instead of local functions, and in cases where I agreed I fixed them, via auto-fixers.)

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/daf93ee0e5e5233141eb762c64b6049cfd7d123e
2019-08-07 08:00:27 +02:00
Ben Adams 4f844ebec3 Use ArrayPool for oversized allocations (dotnet/corefx#39643)
* Use ArrayPool for oversized allocations



Commit migrated from https://github.com/dotnet/corefx/commit/e7134de2b56bd1c4af0b5c58fe6e2cfdb8b72e5a
2019-07-29 21:34:51 -07:00
Zoey McCulloughandJeremy Barton 6820071ac0 Re-enable xunit warning 2002 dotnet/corefx#39696 (dotnet/corefx#39706)
* Removed null checks on value types and enabled xunit 2002

* Updated Fill_OpenDataReader_Throws to use range check

Updated Fill_OpenDataReader_Throws to use range check for passing path

* Removed uneeded asserts and updated others

- Removed any assert for a valuetype where it was succeeded by a value type assertion (e.g. Assert.Equal(1, 1))
- Updated reflection tests to check flags for the specified scenario

* Update src/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs

Co-Authored-By: Jeremy Barton <[email protected]>

* Update src/System.Reflection/tests/AssemblyNameTests.cs

Co-Authored-By: Jeremy Barton <[email protected]>

* Fixed failing reflection tests and removed Assert.NotNull for enum

* Pulled ruleset up from master to merge

* Cleaned up assert ordering for TestGuid

* Updated TestResponseWithoutContentEvents

- Asserted for 200 OK based on response from DefaultAzureServer + EmptyContentHandler


Commit migrated from https://github.com/dotnet/corefx/commit/c96e389f803b043753558878fefb575f3f85c934
2019-07-26 09:58:06 -04:00
Ahson Khan c59af1de67 Auto-generate the reference assemblies to normalize them (dotnet/corefx#39681)
* Update Microsoft.VisualBasic.Core ref

* Update System.Collections.Concurrent ref

* Update System.Collections.Immutable ref

* Update System.Collections ref

* Update System.ComponentModel.Composition ref

* Update System.Data.Common ref

* Update System.Data.OleDb ref

* Update System.Data.SqlClient ref for netcoreapp

* Update System.Diagnostics.DiagnosticSource ref and DiagnosticSourceActivity.cs

* Update System.IO.Packaging ref for netcoreapp

* Update System.IO.Pipelines ref

* Update System.Linq ref

* Update System.Net.Http ref

* Update System.Net.Security ref

* Update System.Numerics.Tensors ref

* Update System.Reflection.Emit for netcore

* Update System.Security.AccessControl ref

* Update System.Security.Permissions ref

* Update System.ServiceModel.Syndication ref

* Update System.Text.Encodings.Web ref

* Update System.Threading.Channels ref for netcoreapp

* Update System.Utf8String.Experimental ref

* Update System.Utf8String.Experimental csproj to reference new file.

* Upat eSystem.Runtime ref and Manual ref

* Update Microsoft.Bcl.AsyncInterfaces ref

* Disable warning CS8617 for missing nullability annotations within
explicit interface methods.

* Revert System.Runtime.cs back to what's in master.

* Update System.Runtime ref (single change - System.Char -> char).

* Revert System.Collections.Immutable back to what's in master (keep
readonly on private fields).

* Update System.Runtime ref and add comment in Manual ref file for
TypedReference.


Commit migrated from https://github.com/dotnet/corefx/commit/bdd0814360d4c3a58860919f292a306242f27da1
2019-07-25 03:44:48 +00:00
Stephen Toub cd3ca6f991 Re-enable xunit warning 2004 (dotnet/corefx#39698)
* Replace "Assert.Equal(true, " with "Assert.True("

* Replace "Assert.Equal(false, " with "Assert.False("

And fix a few Assert.Equal(true cases that deal with objects and thus need to be reverted.

* Replace "Assert.StrictEqual(true, " with "Assert.True("

* Revert a few changes where true/false was being compared to object

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/1296bc8386a7283e319ddf723282f16651f9ea5f
2019-07-23 17:05:15 -04:00
Justin Kotalik a8a17c1792 Don't dispose StreamPipeWriter CancellationToken until after Flush (dotnet/corefx#39610) (dotnet/corefx#39620)
Commit migrated from https://github.com/dotnet/corefx/commit/7431e4938c461f6e24cf3122c0b9ca4eb27e4dde
2019-07-19 15:53:12 -04:00
David Fowler fd1e082130 Change callbacks to virtual from being abstract (dotnet/corefx#39526)
- Obsolete the callbacks as well



Commit migrated from https://github.com/dotnet/corefx/commit/51cd78434953683040f93e69ed2a889e476f5cac
2019-07-16 10:35:33 -07:00
Justin Kotalik e5b183eb08 Increase wait timeout and add extra logs for Pipe Deadlock tests (dotnet/corefx#39436)
* Increase wait timeout and add extra logs

* nits

* Update FlushAsyncCancellationTests.cs

* Update ReadAsyncCancellationTests.cs

* This is what happens when you edit on github

* another one


Commit migrated from https://github.com/dotnet/corefx/commit/0de2d187a080a306b88cf57cc762a1ca601eceaa
2019-07-15 16:20:10 -04:00
David Fowler 27600f2bba Advance can no longer be inlined
Commit migrated from https://github.com/dotnet/corefx/commit/8f672e7b2641bea4746d533b52a46b869d853cd4
2019-07-11 22:27:20 -07:00
David Fowler 3bbe042b23 Fixes to Pipe
- Avoid clearing out the writing head in more cases
- Allow returning a fully consumed block even if writing is in progress if it isn't writing using the current block.
- Synchronize call to Advance


Commit migrated from https://github.com/dotnet/corefx/commit/00c43bd29cd408db3b6b4a8255f32a8f420024ca
2019-07-11 07:49:45 -07:00
David Fowler 1468baa1c2 Added CompleteAsync to PipeReader and PipeWriter (dotnet/corefx#39255)
* Added CompleteAsync to PipeReader and PipeWriter
- Since the introduction of PipeReader and PipeWriter wrappers over a Stream, we need the ability to asynchronously flush buffered data to the stream on complete. This can happen if GetMemory/Advance is called without calling FlushAsync and today that results in data truncation. This change introuduces a way to asynchronously complete a PipeReader or PipeWriter so that we can flush buffered data asynchronously and also dispose the underlying Stream asynchronously.
- Changed StreamPipeWriter to synchronously write and flush buffered data in Complete and asynchronously write and flush buffered data in CompleteAsync.
- Added some tests.
- The DefaultPipeReader and DefaultPipeWriter don't have this problem so they are using the default implementation (which delegates to the syncrhonous Complete).


Commit migrated from https://github.com/dotnet/corefx/commit/ae79f49a7aa96cc6a8be59bb09b2246150587392
2019-07-10 18:29:09 -07:00
Stephen Toub 9ca84dcbc2 Change pipe options defaults to be -1 (dotnet/corefx#39338)
* Change pipe options defaults to be -1

* Update PipeOptionsTests.cs


Commit migrated from https://github.com/dotnet/corefx/commit/9bf9ae013134c6ff88fd905bd13fe07da96b66b4
2019-07-09 22:18:03 -04:00
Jose Perez Rodriguez de53483dcb Add netcoreapp3.0 ref to System.IO.Pipelines package (dotnet/corefx#38731)
* Add netcoreapp3.0 ref to System.IO.Pipelines package

* Removing Exclude Compile from package dependencies

* Apply PR Feedback

* Move the import of the Packaging.targets


Commit migrated from https://github.com/dotnet/corefx/commit/df62e8f9110c263a69d491bf771c210860209d4c
2019-06-21 09:03:48 -07:00
David Fowler c1a10c7c47 Don't swallow OCE unconditionally (dotnet/corefx#38473)
- Today we swallow OperationCanceledExceptions to avoid throwing if CancelPendingRead/CancelPendingFlush, this unintentionally swallows all exceptions that derive from OperationCancelled that were triggered by the ReadAsync call itself. This change rethrows the error unless we're in that specific case of having called one of those Cancel* methods.
- Added tests and did some other small test cleanup.

Commit migrated from https://github.com/dotnet/corefx/commit/b3d3267abca4ae5bd8d4542a02c08a3173ae1ab9
2019-06-12 09:09:54 -07:00
Anatoly Zhmur 0fccca0e9b Added LeaveOpen option to StreamPipeReader and StreamPipeWriter. (dotnet/corefx#37667)
* Added LeaveOpen option to StreamPipeReader and StreamPipeWriter.

* Added leaveOpen to PipeReader/WriterStreams

* Fixed review comments.


Commit migrated from https://github.com/dotnet/corefx/commit/83f60a5955b0b66886ec81bcce9c16ec7e2ee2c3
2019-06-08 23:34:08 -07:00
David Fowler 531e37045f Added CopyToAsync(PipeWriter) (dotnet/corefx#38326)
* Added CopyToAsync(PipeWriter)
- Reuse existing CopyToAsync routine to implement the PipeWriter overload.
- Added tests for PipeWriter overload

* Remove delegate allocations


Commit migrated from https://github.com/dotnet/corefx/commit/d4f34564bc98aee98adf0861dd4771ff473ebdbe
2019-06-07 12:06:30 -04:00
David Fowler 87cf930272 Don't throw in the On* callbacks (dotnet/corefx#38327)
- We can't throw NotSupportedException in the OnWriterCompleted and OnReaderCompleted callbacks since consumers of the API won't know if it's safe to do so. We could add a SupportsOn* boolean but nooping is a much simpler solution without breaking existing callers. We can also add a boolean in the future so callers will know when they can register callbacks or not.

Commit migrated from https://github.com/dotnet/corefx/commit/672cc2c985d1f6f00afe853e678ed05de9757724
2019-06-07 07:24:21 -07:00
Vladislav Richter 51b87401f8 fix CopyToAsyncCore - cancellation and infinite loop (dotnet/corefx#37848)
ReadResult result = await ReadAsync(cancellationToken).ConfigureAwait(false); should be before the try/finally block because if you cancel the read operation the finally clause will try to advance reader that is not in reading state and instead of OperationCancelledException you will end up with InvalidOperationException.

There is a bug either in PipeReader.CopyToAsyncCore() or ReadOnlySequence.TryGet():

When ReadOnlySequence.TryGet() reaches final segment it will return true and this final memory but it will also set position as default(SequencePosition) - I don't know if this is by design but CopyToAsyncCore() method does not take it in consideration and it will copy the memory but not advance the reader - this will cause it to repeat this data indefinitely.

* Fixed test CopyToAsyncWorks() to make sure that multiple separate reads from the reader produce expected result.
Added test to verify that cancellation between reads from the Reader throws OperationCancelledException.


Commit migrated from https://github.com/dotnet/corefx/commit/71aec681dd1247979e7956372abae8bbc02c9546
2019-06-06 02:05:53 -07:00
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Andrew Stanton-Nurse 826774167c fix dotnet/corefx#36798 by updating PipeReader doc comment (dotnet/corefx#37919)
Fixes dotnet/corefx#36798

Corrects an inaccurate doc comment in System.IO.Pipelines.PipeReader

Commit migrated from https://github.com/dotnet/corefx/commit/cbc9701436853421b389e118e410e7470c887353
2019-05-24 09:50:01 -04:00
Jose Perez Rodriguez 8d7b65dab0 Update packageIndex.json with packages from release branches (dotnet/corefx#37600)
* Update packageIndex.json with packages from release branches

* Fixing last packaging validation errors


Commit migrated from https://github.com/dotnet/corefx/commit/8d0428194d69a8d7fb249a9f4ef780cb4cd54de4
2019-05-21 16:58:45 -07:00
Stephen Toub 17974d4c53 Use better Array.Copy overload (dotnet/corefx#37548)
Just a little cleanup.  When we're working with T[]s, use Array.Copy that takes a lower bound, explicitly passing in 0, rather than forcing the implementation to query GetLowerBound() on each array.

Commit migrated from https://github.com/dotnet/corefx/commit/e72c6c53baddb02a630e8e6592a59d89e30b856b
2019-05-09 12:43:45 -04:00
Jose Perez Rodriguez 7d8177c8c3 Fix VS Configurations for all projects in corefx (dotnet/corefx#37477)
Commit migrated from https://github.com/dotnet/corefx/commit/1c48331eb5784c58b81309665257f454abd7d322
2019-05-06 14:46:10 -07:00
David Fowler b1e448697d Fix remaining races in WriteAsync (dotnet/corefx#37414)
* Fix remaining races in WriteAsync
- Lock everything, this ensures Complete won't interfere with the copying or flushing

* Enable test


Commit migrated from https://github.com/dotnet/corefx/commit/5921c1076078e90c3998f41890dddeeb704b790c
2019-05-06 11:10:04 -07:00
Viktor Hofer 3c80118cf0 Publish test artifacts to AzDO (dotnet/corefx#37296)
* Publish test artifacts to AzDO

* Disable two flaky UAP tests

* Remove leftover buildconfiguration for netfx

* Disable flaky printer test

* Disable flaky PipeWriter test


Commit migrated from https://github.com/dotnet/corefx/commit/75a54c95e2d31370bf8b5024a5b68b3e83cefb2e
2019-05-01 23:48:48 +02:00
David Fowler 6ce1140934 Fix flaky test (dotnet/corefx#37106)
- Synchronize reads and writes using a tcs.


Commit migrated from https://github.com/dotnet/corefx/commit/a78bd0c13887e26372aafdffb8f06be26563c4a8
2019-04-22 21:26:44 -07:00
David Fowler f52ca12272 Handle concurrent dispose and WriteAsync calls (dotnet/corefx#36988)
- lock the entire Write operation
- Added a test that Completes both reader and writer in the middle of writing a large buffer

Commit migrated from https://github.com/dotnet/corefx/commit/90d98b9abb87743c2340506a7823e452c757767c
2019-04-18 10:32:55 -07:00
David Fowler 1a6577d197 This should fix the flaky test (dotnet/corefx#36826)
- The pool in the test wasn't being used (This was changed in a previous commit)
- Use the DisposeTrackingBufferPool to make sure we allocated the number of segments we expect

Commit migrated from https://github.com/dotnet/corefx/commit/6eeed98a406adf281649e94546975d52c72465e6
2019-04-12 11:55:20 -07:00
David Fowler e1678011ae Get more information about a flaky test (dotnet/corefx#36810)
Commit migrated from https://github.com/dotnet/corefx/commit/f843b9ca2ecdc1b3f52d6ab9dfb094689281dee3
2019-04-12 07:42:34 -04:00
David Fowler b40f049be6 Various cleanup and feedback (dotnet/corefx#36633)
* Various cleanup and feedback
- Doc comments for options
- Added test coverage for StreamPipeWriterOptions
- Reset tailBufferedBytes to 0 in StreamPipeWriter.FlushAsync
- Use UnsafeRegister in FlushAsync


Commit migrated from https://github.com/dotnet/corefx/commit/0c8fa4e730f966ec923d3f623deb00dba8c431b4
2019-04-05 11:50:09 -07:00
David Fowler 953b54c6fe Added ConfigureAwait(false) to the Stream.ReadAsync call (dotnet/corefx#36621)
* Added ConfigureAwait(false) to the Stream.ReadAsync call
* Make tests less flaky


Commit migrated from https://github.com/dotnet/corefx/commit/f7adff5131e97cfcdfb76014e34101fd75c5340b
2019-04-05 10:46:09 -07:00
David Fowler d7117f5ce1 Added PipeWriter.Create(stream) (dotnet/corefx#36620)
- Adds the ability to wrap an existing Stream in a PipeWriter to get the buffer management benefits.
- Added tests


Commit migrated from https://github.com/dotnet/corefx/commit/3c4cb0e96319e315e62aa92334f837cdd6d43aa6
2019-04-05 09:58:38 -07:00
David Fowler f29deb35fa Added PipeReader.Create(stream) (dotnet/corefx#36575)
- Adds the ability to wrap an existing Stream in a PipeReader to get the buffer management benefits.
- Added tests


Commit migrated from https://github.com/dotnet/corefx/commit/dc965e16c4f71163df9de013951c95916992c908
2019-04-04 22:12:07 -07:00
Viktor Hofer d49a9cabd9 Merge pull request dotnet/corefx#35781 from adamsitnik/removePerfTests
Switch to the dotnet/performance repo

Commit migrated from https://github.com/dotnet/corefx/commit/d395dafdb31fde67cb8632de75f5c85f6575f176
2019-03-21 13:09:04 +01:00
Stephen Toub 9a28f4d725 Make PipeReader/Writer.AsStream().Dispose complete the reader/writer (dotnet/corefx#36160)
Commit migrated from https://github.com/dotnet/corefx/commit/4edea1b6b817a3b7e9116e8cc20ccab55f7d7c9a
2019-03-19 16:32:51 -04:00
Adam Sitnik 4bf4932b00 Merge remote-tracking branch 'upstream/master' into removePerfTests
Commit migrated from https://github.com/dotnet/corefx/commit/48478bb1ae934e0a4949c71a13ddc7724eef7455
2019-03-19 16:46:37 +01:00
David Fowler 4e32bfa338 Made some tweaks to the BufferSegmentStack (dotnet/corefx#35980)
- Remove array covariance checks
- Added another test for pooled segments



Commit migrated from https://github.com/dotnet/corefx/commit/19ec4f3cabcc0796c14f4663c6ee3ab8173ad90d
2019-03-12 08:02:02 -07:00
David Fowler 29742abef3 Don't allocate a stack (dotnet/corefx#35958)
- Avoid an extra object allocation by using a struct based stack


Commit migrated from https://github.com/dotnet/corefx/commit/a7098b8893a0ebf53a881d43b333dcda5b2c8716
2019-03-11 19:53:04 -07:00
David Fowler 70a84e9b21 Throw an exception if examined < consumed and reworked lastExamined (dotnet/corefx#35879)
- Store a single absolute position instead of the segment
- Fixed some typos and added tests for null segments
- Added more tests


Commit migrated from https://github.com/dotnet/corefx/commit/203bc37eddbae8fb14531d305554a662c0428279
2019-03-11 14:35:27 -07:00
David Fowler 72a931745a Better defaults for the Pipe (dotnet/corefx#35939)
- Use a 4K buffer instead of 2K (4K is a very common buffer size and usually maps to system page size)
- Use a stack for the buffer segment pool and allow pooling more than 16 segments for large writes



Commit migrated from https://github.com/dotnet/corefx/commit/b49b512a6288edd96d4fbb68bf23a4bd2f831545
2019-03-11 07:31:42 -07:00
David Fowler 8e9e41a789 Fix issue with BufferSegment reuse (dotnet/corefx#35779)
- We stored the last examined segment to compute how many bytes we should decrement on the writer side but if that segment is returned to the segment pool, we end up in a bad state. This properly clears the state so that doesn't happen.


Commit migrated from https://github.com/dotnet/corefx/commit/c6b999d77e6f7e36851523662a9471e343555e16
2019-03-05 10:10:09 -08:00
Adam Sitnik 9fbfcb437c remove System.IO.Pipelines.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/a179a32582ce5e65e112f6ce3742e522b98c1f89
2019-03-05 07:18:44 +01:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
David Fowler 32bc1950f6 Revisit back pressure implementation (dotnet/corefx#35711)
- Today when using a PipeReader from a Pipe, when the pause threshold is hit and the reader does not consume enough data to unblock the writer (enough to reduce the resume threshold) an exception is thrown. This exception is extremely hard to understand and work around since it's based on a limit set by the owner of the Pipe. It leads to people setting an extremely big limit (bigger than the biggest message) or disabling the limit completely.
- The changes the back pressure mechanic to be based on examined instead of consumed. This pauses the writer if the pause threshold is hit, but lets the reader continue to buffer until a logical payload is reached (whatever matters to the protocol).
- This breaks software that relied on these limits to enforce a maximum buffer size and those pieces of code need to now handle their own maximum buffer size.



Commit migrated from https://github.com/dotnet/corefx/commit/ce278ee840561e90b2c6bb9daaee5ff4b9cce293
2019-03-03 00:16:33 -08:00
Stephen Toub 167e2ded75 Add missing license headers
Add missing license headers, and make the asn.xslt generator do it going forward.

Commit migrated from https://github.com/dotnet/corefx/commit/5dc8132370532804a5381b90e2ce87d6c52b61f6
2019-02-28 17:05:06 -08:00