ant-design-blazor/site/AntDesign.Docs/IsExternalInit.cs
Weihan Li 9fa391449a
chore: Enable some code analyze rules (#4126)
* style: update editorconfig

- update editorconfig encoding to utf8
- add CA1852 and IDE0005 rules

* style: apply dotnet-format

* style: add IDE0040 rule

* style: apply dotnet-format

* refactor: sealed SimpleEmbeddedJsonLocalizerFactory

* style: add style rule for modifiers

* fix: resolve dotnet-format unmerged issue

* fix: add back translation

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-28 00:54:33 +08:00

15 lines
539 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.CompilerServices
{
/// <summary>
/// 解决使用record类型时发生的下面错误
/// 错误 CS0518 预定义类型“System.Runtime.CompilerServices.IsExternalInit”未定义或导入 AntDesign.Docs(netcoreapp3.1)
/// </summary>
internal sealed class IsExternalInit
{
}
}