2 overrides of TypeSyntax
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\GlobalExpressionVariable.cs (1)
60
protected override TypeSyntax
TypeSyntax
=> (TypeSyntax)_typeSyntaxOpt?.GetSyntax();
Symbols\Source\SourceMemberFieldSymbol.cs (1)
377
protected sealed override TypeSyntax
TypeSyntax
3 references to TypeSyntax
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceMemberFieldSymbol.cs (3)
60
diagnostics.Add(ErrorCode.ERR_FieldCantHaveVoidType,
TypeSyntax
?.Location ?? this.GetFirstLocation());
64
diagnostics.Add(ErrorCode.ERR_FieldCantBeRefAny,
TypeSyntax
?.Location ?? this.GetFirstLocation(), type);
68
diagnostics.Add(ErrorCode.ERR_FieldAutoPropCantBeByRefLike,
TypeSyntax
?.Location ?? this.GetFirstLocation(), type);