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)
2452
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)
20462
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 54)
20500
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 54)
20508
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "Helper.Test").WithLocation(200, 9)
20719
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 41)
20757
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(100, 41)
20765
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "S1").WithLocation(200, 16)
26764
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 39),
27219
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(31, 50),
27225
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 50),
27299
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(3, 46),
27305
Diagnostic(ErrorCode.
ERR_RuntimeDoesNotSupportByRefLikeGenerics
, "ref struct").WithLocation(38, 46),