【发布时间】:2020-01-14 04:47:53
【问题描述】:
我有一个类,它包含三个字段:
protected bool _isRunning = false;
protected readonly ParameterCollection _parameters = null;
protected readonly ParameterCollection _defaultParameters = null;
它所在的程序集被标记为符合 CLS(它是必需的),并且 Visual Studio 2010 表示这三个字段的标识符不符合 CLS。他们有什么问题?
P.S.:ParameterCollection 是一个类,如果是重要信息,则派生自 KeyedCollection。
【问题讨论】:
标签: c# .net cls-compliant