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