7 references to ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1794
case ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
233
diagnostics.Add(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, location, Name);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\RefExtensionMethodsTests.cs (5)
423
Diagnostic(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, "PrintValue").WithArguments("PrintValue").WithLocation(4, 24),
467
Diagnostic(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, "PrintValue").WithArguments("PrintValue").WithLocation(4, 24),
511
Diagnostic(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, "PrintValue").WithArguments("PrintValue").WithLocation(4, 24),
593
Diagnostic(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, "PrintValue").WithArguments("PrintValue").WithLocation(4, 24),
637
Diagnostic(ErrorCode.
ERR_RefExtensionMustBeValueTypeOrConstrainedToOne
, "PrintValue").WithArguments("PrintValue").WithLocation(4, 24),