.NET Opensource Project
.NET Frameworkの次のコンポーネントについてgithubとCodePlexでソースコードが公開されました。
.NET Core 5
System.Collections.Immutable
System.Numerics.Vectors
System.Reflection.Metadata
System.Xml.Common/System
System.Xml.XDocument
System.Xml.XPath.XDocument
System.Xml.XPath.XmlDocument
System.Xml.XPath
System.Xml.XmlDocument
その他の部分についても「More is coming soon. Stay tuned!」ということなので、まずは第一弾といったところですね。
.NET Reference Source
.NET Coreで公開されているところすくないなーと思っていたらそれ以外にも.NET Referemce Sourceとして公開されているライブラリがありました。.NET Core + .NET Frameworkがオープンソースになったと言われている足し算の後半部分ですね。
System.Core
System.Xml.Linq/System/Xml/Linq
System.Xml
System
mscorlib
この中でもmscorlibにはかなり色々なライブラリが含まれています。
dirした結果を貼っておきますが、すごいですね。
mscorlib\system\security\securitystate.cs
mscorlib\system\security\securityzone.cs
mscorlib\system\security\util
mscorlib\system\security\verificationexception.cs
mscorlib\system\security\xmlsyntaxexception.cs
mscorlib\system\security\accesscontrol\ace.cs
mscorlib\system\security\accesscontrol\acl.cs
mscorlib\system\security\accesscontrol\commonobjectsecurity.cs
mscorlib\system\security\accesscontrol\cryptokeysecurity.cs
mscorlib\system\security\accesscontrol\directoryobjectsecurity.cs
mscorlib\system\security\accesscontrol\enums.cs
mscorlib\system\security\accesscontrol\eventwaithandlesecurity.cs
mscorlib\system\security\accesscontrol\filesecurity.cs
mscorlib\system\security\accesscontrol\mutexsecurity.cs
mscorlib\system\security\accesscontrol\nativeobjectsecurity.cs
mscorlib\system\security\accesscontrol\objectsecurity.cs
mscorlib\system\security\accesscontrol\objectsecurityt.cs
mscorlib\system\security\accesscontrol\privilege.cs
mscorlib\system\security\accesscontrol\privilegenotheldexception.cs
mscorlib\system\security\accesscontrol\registrysecurity.cs
mscorlib\system\security\accesscontrol\rules.cs
mscorlib\system\security\accesscontrol\securitydescriptor.cs
mscorlib\system\security\accesscontrol\win32.cs
mscorlib\system\security\claims\Claim.cs
mscorlib\system\security\claims\ClaimsIdentity.cs
mscorlib\system\security\claims\ClaimsPrincipal.cs
mscorlib\system\security\claims\ClaimTypes.cs
mscorlib\system\security\claims\ClaimValueTypes.cs
mscorlib\system\security\claims\RoleClaimProvider.cs
mscorlib\system\security\cryptography\aes.cs
mscorlib\system\security\cryptography\asymmetricalgorithm.cs
mscorlib\system\security\cryptography\asymmetrickeyexchangedeformatter.c
s
mscorlib\system\security\cryptography\asymmetrickeyexchangeformatter.cs
mscorlib\system\security\cryptography\asymmetricsignaturedeformatter.cs
mscorlib\system\security\cryptography\asymmetricsignatureformatter.cs
mscorlib\system\security\cryptography\base64transforms.cs
mscorlib\system\security\cryptography\crypto.cs
mscorlib\system\security\cryptography\cryptoapitransform.cs
mscorlib\system\security\cryptography\cryptoconfig.cs
mscorlib\system\security\cryptography\cryptostream.cs
mscorlib\system\security\cryptography\derivebytes.cs
mscorlib\system\security\cryptography\des.cs
mscorlib\system\security\cryptography\descryptoserviceprovider.cs
mscorlib\system\security\cryptography\dsa.cs
mscorlib\system\security\cryptography\dsacryptoserviceprovider.cs
mscorlib\system\security\cryptography\dsasignaturedeformatter.cs
mscorlib\system\security\cryptography\dsasignatureformatter.cs
mscorlib\system\security\cryptography\hashalgorithm.cs
mscorlib\system\security\cryptography\hmac.cs
mscorlib\system\security\cryptography\hmacmd5.cs
mscorlib\system\security\cryptography\hmacripemd160.cs
mscorlib\system\security\cryptography\hmacsha1.cs
mscorlib\system\security\cryptography\hmacsha256.cs
mscorlib\system\security\cryptography\hmacsha384.cs
mscorlib\system\security\cryptography\hmacsha512.cs
mscorlib\system\security\cryptography\icryptotransform.cs
mscorlib\system\security\cryptography\icspasymmetricalgorithm.cs
mscorlib\system\security\cryptography\keyedhashalgorithm.cs
mscorlib\system\security\cryptography\mactripledes.cs
mscorlib\system\security\cryptography\maskgenerationmethod.cs
mscorlib\system\security\cryptography\md5.cs
mscorlib\system\security\cryptography\md5cryptoserviceprovider.cs
mscorlib\system\security\cryptography\passwordderivebytes.cs
mscorlib\system\security\cryptography\pkcs1maskgenerationmethod.cs
mscorlib\system\security\cryptography\randomnumbergenerator.cs
mscorlib\system\security\cryptography\rc2.cs
mscorlib\system\security\cryptography\rc2cryptoserviceprovider.cs
mscorlib\system\security\cryptography\rfc2898derivebytes.cs
mscorlib\system\security\cryptography\rijndael.cs
mscorlib\system\security\cryptography\rijndaelmanaged.cs
mscorlib\system\security\cryptography\rijndaelmanagedtransform.cs
mscorlib\system\security\cryptography\ripemd160.cs
mscorlib\system\security\cryptography\ripemd160managed.cs
mscorlib\system\security\cryptography\rngcryptoserviceprovider.cs
mscorlib\system\security\cryptography\rsa.cs
mscorlib\system\security\cryptography\rsacryptoserviceprovider.cs
mscorlib\system\security\cryptography\rsaoaepkeyexchangedeformatter.cs
mscorlib\system\security\cryptography\rsaoaepkeyexchangeformatter.cs
mscorlib\system\security\cryptography\rsapkcs1keyexchangedeformatter.cs
mscorlib\system\security\cryptography\rsapkcs1keyexchangeformatter.cs
mscorlib\system\security\cryptography\rsapkcs1signaturedeformatter.cs
mscorlib\system\security\cryptography\rsapkcs1signatureformatter.cs
mscorlib\system\security\cryptography\safecryptohandles.cs
mscorlib\system\security\cryptography\sha1.cs
mscorlib\system\security\cryptography\sha1cryptoserviceprovider.cs
mscorlib\system\security\cryptography\sha1managed.cs
mscorlib\system\security\cryptography\sha256.cs
mscorlib\system\security\cryptography\sha256managed.cs
mscorlib\system\security\cryptography\sha384.cs
mscorlib\system\security\cryptography\sha384managed.cs
mscorlib\system\security\cryptography\sha512.cs
mscorlib\system\security\cryptography\sha512managed.cs
mscorlib\system\security\cryptography\signaturedescription.cs
mscorlib\system\security\cryptography\symmetricalgorithm.cs
mscorlib\system\security\cryptography\tripledes.cs
mscorlib\system\security\cryptography\tripledescryptoserviceprovider.cs
mscorlib\system\security\cryptography\utils.cs
mscorlib\system\security\cryptography\x509certificates
mscorlib\system\security\cryptography\x509certificates\safex509handles.c
s
mscorlib\system\security\cryptography\x509certificates\x509certificate.c
s
mscorlib\system\security\cryptography\x509certificates\x509utils.cs
mscorlib\system\security\permissions\environmentpermission.cs
mscorlib\system\security\permissions\filedialogpermission.cs
mscorlib\system\security\permissions\fileiopermission.cs
mscorlib\system\security\permissions\gacidentitypermission.cs
mscorlib\system\security\permissions\hostprotectionpermission.cs
mscorlib\system\security\permissions\ibuiltinpermission.cs
mscorlib\system\security\permissions\isolatedstoragefilepermission.cs
mscorlib\system\security\permissions\isolatedstoragepermission.cs
mscorlib\system\security\permissions\iunrestrictedpermission.cs
mscorlib\system\security\permissions\keycontainerpermission.cs
mscorlib\system\security\permissions\permissionattributes.cs
mscorlib\system\security\permissions\permissionstate.cs
mscorlib\system\security\permissions\principalpermission.cs
mscorlib\system\security\permissions\publisheridentitypermission.cs
mscorlib\system\security\permissions\reflectionpermission.cs
mscorlib\system\security\permissions\registrypermission.cs
mscorlib\system\security\permissions\securitypermission.cs
mscorlib\system\security\permissions\siteidentitypermission.cs
mscorlib\system\security\permissions\strongnameidentitypermission.cs
mscorlib\system\security\permissions\strongnamepublickeyblob.cs
mscorlib\system\security\permissions\uipermission.cs
mscorlib\system\security\permissions\urlidentitypermission.cs
mscorlib\system\security\permissions\zoneidentitypermission.cs
mscorlib\system\security\policy\allmembershipcondition.cs
mscorlib\system\security\policy\appdomainevidencefactory.cs
mscorlib\system\security\policy\applicationdirectory.cs
mscorlib\system\security\policy\applicationdirectorymembershipcondition.
cs
mscorlib\system\security\policy\applicationsecurityinfo.cs
mscorlib\system\security\policy\applicationsecuritymanager.cs
mscorlib\system\security\policy\applicationtrust.cs
mscorlib\system\security\policy\assemblyevidencefactory.cs
mscorlib\system\security\policy\codegroup.cs
mscorlib\system\security\policy\evidence.cs
mscorlib\system\security\policy\evidencebase.cs
mscorlib\system\security\policy\evidencetypedescriptor.cs
mscorlib\system\security\policy\filecodegroup.cs
mscorlib\system\security\policy\firstmatchcodegroup.cs
mscorlib\system\security\policy\gac.cs
mscorlib\system\security\policy\gacmembershipcondition.cs
mscorlib\system\security\policy\hash.cs
mscorlib\system\security\policy\hashmembershipcondition.cs
mscorlib\system\security\policy\iapplicationtrustmanager.cs
mscorlib\system\security\policy\iconstantmembershipcondition.cs
mscorlib\system\security\policy\idelayevaluatedevidence.cs
mscorlib\system\security\policy\iidentitypermissionfactory.cs
mscorlib\system\security\policy\imembershipcondition.cs
mscorlib\system\security\policy\iruntimeevidencefactory.cs
mscorlib\system\security\policy\netcodegroup.cs
mscorlib\system\security\policy\pefileevidencefactory.cs
mscorlib\system\security\policy\permissionrequestevidence.cs
mscorlib\system\security\policy\policyexception.cs
mscorlib\system\security\policy\policylevel.cs
mscorlib\system\security\policy\policystatement.cs
mscorlib\system\security\policy\publisher.cs
mscorlib\system\security\policy\publishermembershipcondition.cs
mscorlib\system\security\policy\site.cs
mscorlib\system\security\policy\sitemembershipcondition.cs
mscorlib\system\security\policy\strongname.cs
mscorlib\system\security\policy\strongnamemembershipcondition.cs
mscorlib\system\security\policy\unioncodegroup.cs
mscorlib\system\security\policy\url.cs
mscorlib\system\security\policy\urlmembershipcondition.cs
mscorlib\system\security\policy\zone.cs
mscorlib\system\security\policy\zonemembershipcondition.cs
mscorlib\system\security\principal\genericidentity.cs
mscorlib\system\security\principal\genericprincipal.cs
mscorlib\system\security\principal\identitynotmappedexception.cs
mscorlib\system\security\principal\identityreference.cs
mscorlib\system\security\principal\iidentity.cs
mscorlib\system\security\principal\iprincipal.cs
mscorlib\system\security\principal\ircollection.cs
mscorlib\system\security\principal\ntaccount.cs
mscorlib\system\security\principal\principalpolicy.cs
mscorlib\system\security\principal\sid.cs
mscorlib\system\security\principal\tokenaccesslevels.cs
mscorlib\system\security\principal\tokenimpersonationlevel.cs
mscorlib\system\security\principal\win32.cs
mscorlib\system\security\principal\windowsidentity.cs
mscorlib\system\security\principal\windowsimpersonationcontext.cs
mscorlib\system\security\principal\windowsprincipal.cs
mscorlib\system\security\util\config.cs
mscorlib\system\security\util\hex.cs
mscorlib\system\security\util\parser.cs
mscorlib\system\security\util\sitestring.cs
mscorlib\system\security\util\stringexpressionset.cs
mscorlib\system\security\util\tokenbasedset.cs
mscorlib\system\security\util\tokenbasedsetenumerator.cs
mscorlib\system\security\util\tokenizer.cs
mscorlib\system\security\util\urlstring.cs
mscorlib\system\security\util\xmlutil.cs
mscorlib\system\text\asciiencoding.cs
mscorlib\system\text\basecodepageencoding.cs
mscorlib\system\text\codepageencoding.cs
mscorlib\system\text\dbcscodepageencoding.cs
mscorlib\system\text\decoder.cs
mscorlib\system\text\decoderbestfitfallback.cs
mscorlib\system\text\decoderexceptionfallback.cs
mscorlib\system\text\decoderfallback.cs
mscorlib\system\text\decodernls.cs
mscorlib\system\text\decoderreplacementfallback.cs
mscorlib\system\text\encoder.cs
mscorlib\system\text\encoderbestfitfallback.cs
mscorlib\system\text\encoderexceptionfallback.cs
mscorlib\system\text\encoderfallback.cs
mscorlib\system\text\encodernls.cs
mscorlib\system\text\encoderreplacementfallback.cs
mscorlib\system\text\encoding.cs
mscorlib\system\text\encodinginfo.cs
mscorlib\system\text\encodingnls.cs
mscorlib\system\text\eucjpencoding.cs
mscorlib\system\text\gb18030encoding.cs
mscorlib\system\text\isciiencoding.cs
mscorlib\system\text\iso2022encoding.cs
mscorlib\system\text\latin1encoding.cs
mscorlib\system\text\mlangcodepageencoding.cs
mscorlib\system\text\normalization.cs
mscorlib\system\text\sbcscodepageencoding.cs
mscorlib\system\text\stringbuilder.cs
mscorlib\system\text\stringbuildercache.cs
mscorlib\system\text\surrogateencoder.cs
mscorlib\system\text\unicodeencoding.cs
mscorlib\system\text\utf32encoding.cs
mscorlib\system\text\utf7encoding.cs
mscorlib\system\text\utf8encoding.cs
mscorlib\system\threading\abandonedmutexexception.cs
mscorlib\system\threading\apartmentstate.cs
mscorlib\system\threading\autoresetevent.cs
mscorlib\system\threading\CancellationToken.cs
mscorlib\system\threading\CancellationTokenRegistration.cs
mscorlib\system\threading\CancellationTokenSource.cs
mscorlib\system\threading\CDSsyncETWBCLProvider.cs
mscorlib\system\threading\compressedstack.cs
mscorlib\system\threading\CountdownEvent.cs
mscorlib\system\threading\eventresetmode.cs
mscorlib\system\threading\eventwaithandle.cs
mscorlib\system\threading\executioncontext.cs
mscorlib\system\threading\hostexecutioncontextmanager.cs
mscorlib\system\threading\interlocked.cs
mscorlib\system\threading\iobjecthandle.cs
mscorlib\system\threading\LazyInitializer.cs
mscorlib\system\threading\lockcookie.cs
mscorlib\system\threading\lockrecursionexception.cs
mscorlib\system\threading\manualresetevent.cs
mscorlib\system\threading\ManualResetEventSlim.cs
mscorlib\system\threading\monitor.cs
mscorlib\system\threading\mutex.cs
mscorlib\system\threading\overlapped.cs
mscorlib\system\threading\parameterizedthreadstart.cs
mscorlib\system\threading\readerwriterlock.cs
mscorlib\system\threading\semaphorefullexception.cs
mscorlib\system\threading\SemaphoreSlim.cs
mscorlib\system\threading\sendorpostcallback.cs
mscorlib\system\threading\SpinLock.cs
mscorlib\system\threading\SpinWait.cs
mscorlib\system\threading\synchronizationcontext.cs
mscorlib\system\threading\synchronizationlockexception.cs
mscorlib\system\threading\Tasks
mscorlib\system\threading\thread.cs
mscorlib\system\threading\threadabortexception.cs
mscorlib\system\threading\threadinterruptedexception.cs
mscorlib\system\threading\ThreadLocal.cs
mscorlib\system\threading\threadpool.cs
mscorlib\system\threading\threadpriority.cs
mscorlib\system\threading\threadstart.cs
mscorlib\system\threading\threadstartexception.cs
mscorlib\system\threading\threadstate.cs
mscorlib\system\threading\threadstateexception.cs
mscorlib\system\threading\timeout.cs
mscorlib\system\threading\timer.cs
mscorlib\system\threading\volatile.cs
mscorlib\system\threading\waithandle.cs
mscorlib\system\threading\waithandlecannotbeopenedexception.cs
mscorlib\system\threading\Tasks\AsyncCausalityTracer.cs
mscorlib\system\threading\Tasks\BeginEndAwaitableAdapter.cs
mscorlib\system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs
mscorlib\system\threading\Tasks\Future.cs
mscorlib\system\threading\Tasks\FutureFactory.cs
mscorlib\system\threading\Tasks\IAsyncCausalityTracerStatics.cs
mscorlib\system\threading\Tasks\Parallel.cs
mscorlib\system\threading\Tasks\ParallelLoopState.cs
mscorlib\system\threading\Tasks\ParallelRangeManager.cs
mscorlib\system\threading\Tasks\ProducerConsumerQueues.cs
mscorlib\system\threading\Tasks\Task.cs
mscorlib\system\threading\Tasks\TaskCanceledException.cs
mscorlib\system\threading\Tasks\TaskCompletionSource.cs
mscorlib\system\threading\Tasks\TaskContinuation.cs
mscorlib\system\threading\Tasks\TaskExceptionHolder.cs
mscorlib\system\threading\Tasks\TaskFactory.cs
mscorlib\system\threading\Tasks\TaskScheduler.cs
mscorlib\system\threading\Tasks\TaskSchedulerException.cs
mscorlib\system\threading\Tasks\TaskToApm.cs
mscorlib\system\threading\Tasks\ThreadPoolTaskScheduler.cs
mscorlib\system\threading\Tasks\TPLETWProvider.cs