11 references to ERR_BadSpecialByRefParameter
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1554or ErrorCode.ERR_BadSpecialByRefParameter
Symbols\Source\SourceMethodSymbol.cs (1)
82diagnostics.Add(ErrorCode.ERR_BadSpecialByRefParameter, getLocation(parameter, location, isExtensionParameter), parameter.Type);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
RefStructInterfacesTests.cs (2)
22099Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "x").WithArguments("T").WithLocation(6, 34), 22102Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "y").WithArguments("S").WithLocation(11, 31)
Semantics\ExtensionTests.cs (2)
34394Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "M").WithArguments("System.Span<int>").WithLocation(5, 27)); 36591Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "M2").WithArguments("System.Span<int>").WithLocation(9, 27));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\BindingAsyncTests.cs (1)
3223Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "tr").WithArguments("System.TypedReference"));
Semantics\LambdaTests.cs (3)
5994Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "r").WithArguments("System.TypedReference").WithLocation(10, 39), 5997Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "h").WithArguments("System.RuntimeArgumentHandle").WithLocation(11, 46), 6000Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "i").WithArguments("System.ArgIterator").WithLocation(12, 36));
Semantics\SpanStackSafetyTests.cs (1)
1307Diagnostic(ErrorCode.ERR_BadSpecialByRefParameter, "arg").WithArguments("System.Span<int>").WithLocation(11, 48)