20 references to ERR_BadFieldTypeInRecord
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2163
or ErrorCode.
ERR_BadFieldTypeInRecord
Symbols\Source\SourceMemberFieldSymbol.cs (1)
74
diagnostics.Add(ErrorCode.
ERR_BadFieldTypeInRecord
, getTypeErrorLocation(), type);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1878
diagnostics.Add(ErrorCode.
ERR_BadFieldTypeInRecord
, TypeLocation, type);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Semantics\RecordTests.cs (7)
1248
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(7, 5),
1251
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(10, 5),
1304
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(8, 12),
1307
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(11, 12),
1357
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(8, 12),
1360
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(9, 12),
1363
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(12, 12),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\RecordStructTests.cs (10)
1515
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(7, 5),
1518
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(10, 5),
1573
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(7, 5),
1576
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(10, 5),
1629
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(8, 12),
1632
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(11, 12),
1682
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(8, 12),
1685
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int*").WithArguments("int*").WithLocation(9, 12),
1688
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "delegate*<int, int>").WithArguments("delegate*<int, int>").WithLocation(12, 12),
10674
Diagnostic(ErrorCode.
ERR_BadFieldTypeInRecord
, "int").WithArguments("int*").WithLocation(4, 18)