1 write to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
40
_semanticModel
= semanticModel
6 references to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (6)
EndConstructGeneration\EndConstructStatementVisitor.vb (2)
132
Dim boundConstructor =
_semanticModel
.GetDeclaredSymbol(DirectCast(methodBlock.BlockStatement, SubNewStatementSyntax))
134
If boundConstructor.ContainingType.IsDesignerGeneratedTypeWithInitializeComponent(
_semanticModel
.Compilation) Then
EndConstructGeneration\EndConstructStatementVisitor_CustomEvents.vb (4)
40
Dim type =
_semanticModel
.GetTypeInfo(DirectCast(eventStatement.AsClause, SimpleAsClauseSyntax).Type, Me._cancellationToken)
43
Return {aligningWhitespace & SyntaxFacts.GetText(kind) & "(value As " & type.Type.ToMinimalDisplayString(
_semanticModel
, position, SymbolDisplayFormats.NameFormat) & ")",
49
Dim type = TryCast(
_semanticModel
.GetTypeInfo(DirectCast(eventStatement.AsClause, SimpleAsClauseSyntax).Type, Me._cancellationToken).Type, INamedTypeSymbol)
54
Function(p) p.ToMinimalDisplayString(
_semanticModel
, eventStatement.SpanStart))