本文记录我参与的开源项目

dotnet runtime

日志库减少不必要的对象创建和静态对象

修复 MAC 下删除应用程序,然后调用 Process Start 失败

详细请看 dotnet core 在 MAC 系统下删除应用程序自己后调 Process Start 方法将会抛出 Win32 异常

Ignore the executable file be deleted in Process Start by lindexi · Pull Request #40748 · dotnet/runtime

文档

代码审查

Nullability annotations for HttpListener by pgovind

链接 Nullability annotations for HttpListener by pgovind · Pull Request #41189 · dotnet/runtime

有多余的判断逻辑,使用 s!.Length 不如使用原先拿到的 l 判断

有优化的写法,有两个小伙伴给我点赞

SourceYard

主要开发者

制作 NuGet 源代码包的工具,使用 NuGet 将源代码分发给小伙伴,可以直接安装此 NuGet 获取源代码

WPF

水到非官方开发者了,但大部分都是修改文档和注释

Replace IsAssignableFrom to is pattern by lindexi · Pull Request #101 · dotnet/wpf

We use language keywords instead of BCL types by lindexi · Pull Request #102 · dotnet/wpf

Update the docs link by lindexi · Pull Request #3078 · dotnet/wpf

Remove special vs version on the link by lindexi · Pull Request #3160 · dotnet/wpf

Fix XmlNsInfo comment typo by lindexi · Pull Request #3742 · dotnet/wpf

Remove the custom HashSet class by lindexi · Pull Request #3738 · dotnet/wpf

Use Array.Empty instead of creating list in ResourceDictionaryDiagnostics by lindexi · Pull Request #3851 · dotnet/wpf

代码审查

https://github.com/dotnet/wpf/pull/3092#issuecomment-640955984

Add BindingFailed event for diagnostics of binding failures by spadapet · Pull Request #3505 · dotnet/wpf

[release/5.0] Support Source Generators in WPF projects by ryalanms · Pull Request #3846 · dotnet/wpf

OpenXML SDK

水到非官方开发者了

API

Add TryGetPartById by lindexi · Pull Request #714 · OfficeDev/Open-XML-SDK

性能优化

Use Cache.ReadOnlyCollection for OpenXmlDomReader.Attributes by lindexi · Pull Request #705 · OfficeDev/Open-XML-SDK

Add Benchmark for create metadata by lindexi · Pull Request #764 · OfficeDev/Open-XML-SDK

Reduce property acquisition and repeated call methods by lindexi · Pull Request #788 · OfficeDev/Open-XML-SDK

Small performance improvements for AddNamespaceDeclaration by lindexi · Pull Request #789 · OfficeDev/Open-XML-SDK

文档

Remove unnecessary code by lindexi · Pull Request #742 · OfficeDev/Open-XML-SDK

Remove unused ElementLookup.Contains method by lindexi · Pull Request #757 · OfficeDev/Open-XML-SDK

Fix typo by lindexi · Pull Request #769 · OfficeDev/Open-XML-SDK

Fix comment typo by lindexi · Pull Request #775 · OfficeDev/Open-XML-SDK

Fix the typo in comment. by lindexi · Pull Request #785 · OfficeDev/Open-XML-SDK

Xamarin Forms

修坑

Fix the memory leak problem of ListViewRenderer headerRenderer by lindexi · Pull Request #11699 · xamarin/Xamarin.Forms

samples

https://github.com/dotnet/samples/pull/299

https://github.com/dotnet/samples/pull/308

https://github.com/dotnet/samples/pull/516

https://github.com/dotnet/samples/pull/517

https://github.com/dotnet/samples/pull/518

https://github.com/dotnet/samples/pull/524

https://github.com/dotnet/samples/pull/539

https://github.com/dotnet/samples/pull/541

https://github.com/dotnet/samples/pull/542

https://github.com/dotnet/samples/pull/561

https://github.com/dotnet/samples/pull/602

https://github.com/dotnet/samples/pull/634

https://github.com/dotnet/samples/pull/745

Fix compile by lindexi · Pull Request #741 · dotnet/samples

Fix align by lindexi · Pull Request #654 · dotnet/samples

Fix code format by lindexi · Pull Request #696 · dotnet/samples

Fix code format by lindexi · Pull Request #854 · dotnet/samples

Environment.FailFast Method (System)

Fix code format by lindexi · Pull Request #1011 · dotnet/samples

Fix code format by lindexi · Pull Request #1065 · dotnet/samples

Assembly.GetType Method (System.Reflection)

dotnet docs

Update inheritance.md by lindexi · Pull Request #10669 · dotnet/docs

Fix typo by lindexi · Pull Request #9499 · dotnet/docs

nuget

Update nuspec.md by lindexi · Pull Request #1316 · NuGet/docs.microsoft.com-nuget

visualstudio-docs

Fix code by lindexi · Pull Request #2309 · MicrosoftDocs/visualstudio-docs

Fix code by lindexi · Pull Request #2503 · MicrosoftDocs/visualstudio-docs

winrt-api

Fix code format by lindexi · Pull Request #773 · MicrosoftDocs/winrt-api

Fix code format by lindexi · Pull Request #772 · MicrosoftDocs/winrt-api

windows-uwp

Fix align by lindexi · Pull Request #1357 · MicrosoftDocs/windows-uwp

Fix format by lindexi · Pull Request #1423 · MicrosoftDocs/windows-uwp

xamarin-docs.zh-cn

HandyControl

Improve Deque initialization performance by lindexi · Pull Request #435 · HandyOrg/HandyControl

Add InputClickHelper by lindexi · Pull Request #414 · HandyOrg/HandyControl

Make the locker as readonly by lindexi · Pull Request #413 · HandyOrg/HandyControl

Use const replace magic number by lindexi · Pull Request #412 · HandyOrg/HandyControl

Avalonia

Fix 1533 Avoid throwing exception in TryReadDouble by lindexi · Pull Request #1534 · AvaloniaUI/Avalonia

Improve tiny performance by lindexi · Pull Request #1472 · AvaloniaUI/Avalonia

Dispatcher’s InvokeAsync check action is null #1400 by lindexi · Pull Request #1401 · AvaloniaUI/Avalonia

add some comment by lindexi · Pull Request #1396 · AvaloniaUI/Avalonia

JasonStein Notepads

Added zh-CN translation by lindexi · Pull Request #32 · JasonStein/Notepads

Orleans.MultiClient

https://github.com/OrleansContrib/Orleans.MultiClient/pull/3

Castle.Core

Update date by lindexi · Pull Request #523 · castleproject/Core

NewLife.RocketMQ

文档

加上 PackageProjectUrl 链接 by lindexi · Pull Request #14 · NewLifeX/NewLife.RocketMQ

MultiTouchVista

Format doc by lindexi · Pull Request #2 · nesherhh/MultiTouchVista

Format doc by lindexi · Pull Request #1 · nesherhh/MultiTouchVista

JitBench

Fix the link by lindexi · Pull Request #93 · aspnet/JitBench

dotnet iot

代码审查 Fixing DHT issues, adding and adjusting documentation by Ellerbach · Pull Request #1164 · dotnet/iot

鸿蒙的文档

相机开发 示例开发2 链接失效 · Issue #I1UW33 · OpenHarmony/docs - Gitee.com


本文会经常更新,请阅读原文: https://dotnet-campus.github.io//post/%E5%BC%80%E6%BA%90%E5%AE%9E%E6%88%98.html ,以避免陈旧错误知识的误导,同时有更好的阅读体验。

知识共享许可协议 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。欢迎转载、使用、重新发布,但务必保留文章署名 lindexi (包含链接: https://dotnet-campus.github.io/ ),不得用于商业目的,基于本文修改后的作品务必以相同的许可发布。如有任何疑问,请 与我联系