9 references to WRN_CollectionExpressionRefStructSpreadMayAllocate
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Conversions.cs (1)
832
? ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
Errors\ErrorFacts.cs (2)
567
case ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
:
2428
or ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
Errors\MessageProvider.cs (1)
117
or ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
Generated\ErrorFacts.Generated.cs (1)
339
case ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\CollectionExpressionTests.cs (3)
29
KeyValuePair.Create(GetIdForErrorCode(ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
), ReportDiagnostic.Warn)
25162
Diagnostic(ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
, "[..S.GetSpan(), 3]").WithArguments("System.ReadOnlySpan<object>").WithLocation(3, 7),
26374
Diagnostic(ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
, "[x, ..y]").WithArguments($"System.{spanType}<object>").WithLocation(7, 23));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
435
case ErrorCode.
WRN_CollectionExpressionRefStructSpreadMayAllocate
: