1 type derived from SyntaxTreeSemanticModel
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (1)
18
Inherits
SyntaxTreeSemanticModel
54 references to SyntaxTreeSemanticModel
Microsoft.CodeAnalysis.VisualBasic (54)
Binding\AttributeSemanticModel.vb (6)
25
Friend Shared Function Create(containingSemanticModel As
SyntaxTreeSemanticModel
, binder As AttributeBinder) As AttributeSemanticModel
36
Private Shared Function GetAttributeTarget(model As
SyntaxTreeSemanticModel
, binder As AttributeBinder) As Symbol
48
Friend Shared Function CreateSpeculative(parentSemanticModel As
SyntaxTreeSemanticModel
, root As AttributeSyntax, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel
75
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
80
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
85
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Binding\InitializerSemanticModel.vb (5)
25
Friend Shared Function Create(containingSemanticModel As
SyntaxTreeSemanticModel
, binder As DeclarationInitializerBinder) As InitializerSemanticModel
33
Friend Shared Function CreateSpeculative(parentSemanticModel As
SyntaxTreeSemanticModel
, root As EqualsValueSyntax, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel
205
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
219
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
224
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, body As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Binding\MemberSemanticModel.vb (2)
1100
Friend NotOverridable Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, type As TypeSyntax, bindingOption As SpeculativeBindingOption, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
1111
Friend NotOverridable Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, rangeArgument As RangeArgumentSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Binding\MethodBodySemanticModel.vb (5)
23
Friend Shared Function Create(containingSemanticModel As
SyntaxTreeSemanticModel
, binder As SubOrFunctionBodyBinder) As MethodBodySemanticModel
31
Friend Shared Function CreateSpeculative(parentSemanticModel As
SyntaxTreeSemanticModel
, root As VisualBasicSyntaxNode, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel
35
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
66
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
84
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Binding\SpeculativeMemberSemanticModel.vb (3)
26
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
30
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
34
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Compilation\MethodCompiler.vb (2)
1283
Dim semanticModelWithCachedBoundNodes As
SyntaxTreeSemanticModel
= Nothing
1287
semanticModelWithCachedBoundNodes = CType(cachingSemanticModelProvider.GetSemanticModel(syntax.SyntaxTree, compilation),
SyntaxTreeSemanticModel
)
Compilation\SemanticModel.vb (11)
2159
Dim result = TryGetSpeculativeSemanticModelForMethodBodyCore(DirectCast(Me,
SyntaxTreeSemanticModel
), position, method, speculativePublicModel)
2165
Friend MustOverride Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
2189
Dim result = TryGetSpeculativeSemanticModelCore(DirectCast(Me,
SyntaxTreeSemanticModel
), position, rangeArgument, speculativePublicModel)
2195
Friend MustOverride Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, rangeArgument As RangeArgumentSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
2218
Dim result = TryGetSpeculativeSemanticModelCore(DirectCast(Me,
SyntaxTreeSemanticModel
), position, statement, speculativePublicModel)
2224
Friend MustOverride Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
2248
Dim result = TryGetSpeculativeSemanticModelCore(DirectCast(Me,
SyntaxTreeSemanticModel
), position, initializer, speculativePublicModel)
2254
Friend MustOverride Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
2282
speculativeModel = AttributeSemanticModel.CreateSpeculative(DirectCast(Me,
SyntaxTreeSemanticModel
), attribute, binder, position)
2309
Dim result = TryGetSpeculativeSemanticModelCore(DirectCast(Me,
SyntaxTreeSemanticModel
), position, type, bindingOption, speculativePublicModel)
2315
Friend MustOverride Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, type As TypeSyntax, bindingOption As SpeculativeBindingOption, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Compilation\SpeculativeSemanticModelWithMemberModel.vb (12)
21
Private ReadOnly _parentSemanticModel As
SyntaxTreeSemanticModel
25
Private Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
,
33
Friend Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, position As Integer, root As AttributeSyntax, binder As Binder)
43
Friend Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, position As Integer, root As EqualsValueSyntax, binder As Binder)
53
Friend Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, position As Integer, root As VisualBasicSyntaxNode, binder As Binder)
63
Friend Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, position As Integer, root As TypeSyntax, binder As Binder)
73
Friend Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, position As Integer, root As RangeArgumentSyntax, binder As Binder)
277
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, type As TypeSyntax, bindingOption As SpeculativeBindingOption, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
281
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, rangeArgument As RangeArgumentSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
293
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
297
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
301
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (3)
20
Private ReadOnly _parentSemanticModel As
SyntaxTreeSemanticModel
26
Public Shared Function Create(parentSemanticModel As
SyntaxTreeSemanticModel
, root As ExpressionSyntax, binder As Binder, position As Integer, bindingOption As SpeculativeBindingOption) As SpeculativeSyntaxTreeSemanticModel
35
Private Sub New(parentSemanticModel As
SyntaxTreeSemanticModel
, root As ExpressionSyntax, binder As Binder, position As Integer, bindingOption As SpeculativeBindingOption)
Compilation\SyntaxTreeSemanticModel.vb (5)
1425
Friend Overrides Function TryGetSpeculativeSemanticModelForMethodBodyCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, method As MethodBlockBaseSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
1435
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, type As TypeSyntax, bindingOption As SpeculativeBindingOption, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
1451
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, rangeArgument As RangeArgumentSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
1461
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, statement As ExecutableStatementSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean
1471
Friend Overrides Function TryGetSpeculativeSemanticModelCore(parentModel As
SyntaxTreeSemanticModel
, position As Integer, initializer As EqualsValueSyntax, <Out> ByRef speculativeModel As PublicSemanticModel) As Boolean