5 references to NewKeyword
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Statements.vb (3)
1203
ReportDiagnostic(diagnostics, asNew.NewExpression.
NewKeyword
, ERRID.ERR_BadLocalConstFlags1, asNew.NewExpression.
NewKeyword
.ToString())
1238
ReportDiagnostic(diagnostics, asNew.NewExpression.
NewKeyword
, ERRID.ERR_AsNewArray)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
538
binder.ReportDiagnostic(diagBag, DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.
NewKeyword
, ERRID.ERR_SharedStructMemberCannotSpecifyNew)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
ExtractMethod\Extensions.vb (1)
283
Dim span = TextSpan.FromBounds(asNewClause.NewExpression.
NewKeyword
.Span.End, asNewClause.NewExpression.Span.End)