4 references to getTypeErrorLocation
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceMemberFieldSymbol.cs (4)
60
diagnostics.Add(ErrorCode.ERR_FieldCantHaveVoidType,
getTypeErrorLocation
());
64
diagnostics.Add(ErrorCode.ERR_FieldCantBeRefAny,
getTypeErrorLocation
(), type);
68
diagnostics.Add(ErrorCode.ERR_FieldAutoPropCantBeByRefLike,
getTypeErrorLocation
(), type);
73
diagnostics.Add(ErrorCode.ERR_BadFieldTypeInRecord,
getTypeErrorLocation
(), type);