4 references to getTypeErrorLocation
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceMemberFieldSymbol.cs (4)
61
diagnostics.Add(ErrorCode.ERR_FieldCantHaveVoidType,
getTypeErrorLocation
());
65
diagnostics.Add(ErrorCode.ERR_FieldCantBeRefAny,
getTypeErrorLocation
(), type);
69
diagnostics.Add(ErrorCode.ERR_FieldAutoPropCantBeByRefLike,
getTypeErrorLocation
(), type);
74
diagnostics.Add(ErrorCode.ERR_BadFieldTypeInRecord,
getTypeErrorLocation
(), type);