''' Looks up a localized string similar to Cannot reference 'System.Runtime.CompilerServices.TupleElementNamesAttribute' explicitly. Use the tuple syntax to define tuple names..
'''</summary>
Friend ReadOnly Property ERR_ExplicitTupleElementNames() As String
''' Looks up a localized string similar to Type '{0}' exported from module '{1}' conflicts with type declared in primary module of this assembly..
''' Looks up a localized string similar to Cannot define a class or member that utilizes tuples because the compiler required type '{0}' cannot be found. Are you missing a reference?.
'''</summary>
Friend ReadOnly Property ERR_TupleElementNamesAttributeMissing() As String
<value>Cannot define a class or member that utilizes tuples because the compiler required type '{0}' cannot be found. Are you missing a reference?</value>
<AttributeUsage(AttributeTargets.Field Or AttributeTargets.Parameter Or AttributeTargets.Property Or AttributeTargets.ReturnValue Or AttributeTargets.Class Or AttributeTargets.Struct )>
public class TupleElementNamesAttribute : Inherits Attribute
public Sub New(transformNames As String())
End Sub
End Class
End Namespace
"
ReadOnlys_trivialRemainingTuplesAsString="
Namespace System
...
...
@@ -64,6 +73,7 @@ Namespace System
End Structure
End Namespace
"
<Fact>
PublicSubTupleTypeBinding()
...
...
@@ -143,6 +153,9 @@ BC37267: Predefined type 'ValueTuple(Of ,)' is not defined or imported.
BC37267:Predefinedtype'ValueTuple(Of ,)' is not defined or imported.
Dimt1as(AAsInteger,BAsInteger)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BC37268:Cannotdefineaclassormemberthatutilizestuplesbecausethecompilerrequiredtype'System.Runtime.CompilerServices.TupleElementNamesAttribute' cannot be found. Are you missing a reference?
@@ -4250,6 +4279,9 @@ BC37267: Predefined type 'ValueTuple(Of ,)' is not defined or imported.
BC37267: Predefined type 'ValueTuple(Of ,)' is not defined or imported.
Public Shared Function M(Of T1, T2)() As (first As T1, second As T2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
BC37268: Cannot define a class or member that utilizes tuples because the compiler required type 'System.Runtime.CompilerServices.TupleElementNamesAttribute' cannot be found. Are you missing a reference?
Public Shared Function M(Of T1, T2)() As (first As T1, second As T2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
BC37267: Predefined type 'ValueTuple(Of ,)' is not defined or imported.