20 references to ERR_RuntimeDoesNotSupportByRefLikeGenerics
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Constraints.cs (1)
324
Error(diagnostics, ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, allowsConstraint);
Errors\ErrorFacts.cs (1)
2454
or ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
Symbols\ConstraintsHelper.cs (2)
106
diagnostics.Add(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, location);
979
diagnosticsBuilder.Add(new TypeParameterDiagnosticInfo(typeParameter, new UseSiteInfo<AssemblySymbol>(new CSDiagnosticInfo(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
))));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
RefStructInterfacesTests.cs (16)
4399
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 22)
4406
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 22)
4449
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(5, 26)
5480
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "T").WithLocation(4, 29)
5613
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "T").WithLocation(4, 16)
20064
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 54)
20102
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 54)
20110
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "Helper.Test").WithLocation(200, 9)
20321
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 41)
20359
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 41)
20367
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "S1").WithLocation(200, 16)
26368
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 39),
26823
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(31, 50),
26829
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 50),
26903
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 46),
26909
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(38, 46),