12 references to ERR_ExplicitTupleElementNamesAttribute
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1762
or ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
Symbols\Symbol.cs (1)
1568
diagnostics.Add(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Attributes\AttributeTests.cs (1)
2305
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"System.Runtime.CompilerServices.TupleElementNamesAttribute(new[] { ""hello"" })").WithLocation(11, 13)
Attributes\AttributeTests_Tuples.cs (9)
821
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""a"", ""b"" })").WithLocation(5, 2),
824
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""a"", ""b"" })").WithLocation(31, 2),
827
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""x"" })").WithLocation(18, 10),
830
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""x"", ""y"" })").WithLocation(11, 6),
833
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, "TupleElementNames(new string[] { null, null })").WithLocation(14, 14),
836
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, "TupleElementNames(new string[] { null})").WithLocation(15, 36),
839
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""y"" })").WithLocation(20, 6),
842
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, @"TupleElementNames(new[] { ""a"", ""b"" })").WithLocation(27, 6),
848
Diagnostic(ErrorCode.
ERR_ExplicitTupleElementNamesAttribute
, "TupleElementNames(new string[] { null, null })").WithLocation(8, 6));