提交 f338d960 编写于 作者: V vsadov

swap error messages

上级 104f76b9
......@@ -791,7 +791,7 @@ internal class CSharpResources {
}
/// <summary>
/// Looks up a localized string similar to Field-like events are not allowed in readonly structs..
/// Looks up a localized string similar to Auto-implemented instance properties in readonly structs must be readonly..
/// </summary>
internal static string ERR_AutoPropsInRoStruct {
get {
......@@ -4571,7 +4571,7 @@ internal class CSharpResources {
}
/// <summary>
/// Looks up a localized string similar to Instance fields of readonly structs must be readonly..
/// Looks up a localized string similar to Field-like events are not allowed in readonly structs..
/// </summary>
internal static string ERR_FieldlikeEventsInRoStruct {
get {
......@@ -4580,7 +4580,7 @@ internal class CSharpResources {
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented instance properties in readonly structs must be readonly..
/// Looks up a localized string similar to Instance fields of readonly structs must be readonly..
/// </summary>
internal static string ERR_FieldsInRoStruct {
get {
......
......@@ -5124,12 +5124,12 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
<value>The type name '{0}' is reserved to be used by the compiler.</value>
</data>
<data name="ERR_FieldsInRoStruct" xml:space="preserve">
<value>Auto-implemented instance properties in readonly structs must be readonly.</value>
<value>Instance fields of readonly structs must be readonly.</value>
</data>
<data name="ERR_AutoPropsInRoStruct" xml:space="preserve">
<value>Field-like events are not allowed in readonly structs.</value>
<value>Auto-implemented instance properties in readonly structs must be readonly.</value>
</data>
<data name="ERR_FieldlikeEventsInRoStruct" xml:space="preserve">
<value>Instance fields of readonly structs must be readonly.</value>
<value>Field-like events are not allowed in readonly structs.</value>
</data>
</root>
......@@ -154,7 +154,6 @@ interface I1
);
}
private static string ilreadonlyStructWithWriteableFieldIL = @"
.class private auto ansi sealed beforefieldinit Microsoft.CodeAnalysis.EmbeddedAttribute
extends [mscorlib]System.Attribute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册