/// Looks up a localized string similar to The body of '{0}' cannot be an iterator block because '{1}' is not an iterator interface type.
/// </summary>
...
...
@@ -1564,6 +1600,15 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to The body of '{0}' cannot be an iterator block because '{0}' returns by reference.
/// Looks up a localized string similar to '{0}': return type must be '{2}' to match overridden member '{1}'.
/// </summary>
...
...
@@ -2617,6 +2680,15 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not return by {3}.
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have the matching return type of '{3}'..
/// </summary>
...
...
@@ -4858,6 +4930,24 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot initialize a by-reference variable with a value.
/// Looks up a localized string similar to The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters..
/// </summary>
...
...
@@ -5884,6 +5974,24 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be assigned a reference because it is not a by-reference local.
/// Looks up a localized string similar to In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false.
/// </summary>
...
...
@@ -5893,6 +6001,24 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to By-value returns may only be used in methods that return by value.
/// Looks up a localized string similar to The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'.
/// </summary>
...
...
@@ -7459,6 +7594,24 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to Properties which return by reference cannot have set accessors.
/// Looks up a localized string similar to A readonly field cannot be passed ref or out (except in a constructor).
/// </summary>
...
...
@@ -7522,6 +7675,186 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return or assign a reference to the result of '{0}' because the argument passed to parameter '{1}' cannot be returned or assigned by reference.
/// Looks up a localized string similar to Cannot return or assign a reference to a member ther result of '{0}' because the argument passed to parameter '{1}' cannot be returned or assigned by reference.
/// Looks up a localized string similar to 'await' cannot be used in an expression containing a call to '{0}' because it returns by reference.
/// Looks up a localized string similar to An expression tree lambda may not contain a call to a method, property, or indexer that returns by reference.
/// Looks up a localized string similar to The argument to a by reference return or assignment must be an assignable variable or a property or call that returns by reference.
/// Looks up a localized string similar to The argument to a by reference return or assignment must be an assignable variable or a property or call that returns by reference.
/// Looks up a localized string similar to Cannot return or assign a reference to a member of parameter '{0}' because it is not a ref or out parameter.
/// Looks up a localized string similar to Cannot return or assign a reference to '{0}' because its receiver may not be returned or assigned by reference.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Collections.Immutable;
usingSystem.Diagnostics;
...
...
@@ -142,6 +143,11 @@ public override bool ReturnsVoid
Debug.Assert(!targetSyntax.GetDiagnostics().Any(),"The target of an assignment should never contain Diagnostics if we're being allowed to assign to it in the debugger.");