55 references to SymbolInfoOptions
Microsoft.CodeAnalysis.VisualBasic (55)
Binding\MemberSemanticModel.vb (14)
813
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, GetBoundNodeSummary(attribute), binderOpt:=Nothing)
824
Friend Overrides Function GetExpressionSymbolInfo(node As ExpressionSyntax, options As
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
917
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(boundAdd, boundAdd, Nothing), binderOpt:=Nothing)
924
Friend Overrides Function GetCrefReferenceSymbolInfo(crefReference As CrefReferenceSyntax, options As VBSemanticModel.
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
949
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions,
969
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(bound, bound, Nothing), binderOpt:=Nothing)
986
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(bound, bound, Nothing), binderOpt:=Nothing)
996
Return GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(bound, bound, Nothing), binderOpt:=Nothing)
1013
Dim select2 As SymbolInfo = GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(bound, bound, Nothing), binderOpt:=Nothing)
1025
Return New AggregateClauseSymbolInfo(GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(select1Node, select1Node, Nothing), binderOpt:=Nothing),
1056
selectMany = GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(bound, bound, Nothing), binderOpt:=Nothing)
1068
asClauseConversion = GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(queryableSource.Source, queryableSource.Source, Nothing), binderOpt:=Nothing)
1078
toQueryableCollectionConversion = GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(toQueryable, toQueryable, Nothing), binderOpt:=Nothing)
1083
toQueryableCollectionConversion = GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, New BoundNodeSummary(queryableSource.Source, queryableSource.Source, Nothing), binderOpt:=Nothing)
Compilation\SemanticModel.vb (27)
58
Friend MustOverride Function GetExpressionSymbolInfo(node As ExpressionSyntax, options As
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
113
Friend MustOverride Function GetCrefReferenceSymbolInfo(crefReference As CrefReferenceSyntax, options As
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
170
Return GetExpressionSymbolInfo(expression,
SymbolInfoOptions
.DefaultOptions, cancellationToken)
207
Return GetCrefReferenceSymbolInfo(crefReference,
SymbolInfoOptions
.DefaultOptions, cancellationToken)
233
Return Me.GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, bnodeSummary, binder)
257
Return Me.GetSymbolInfoForNode(
SymbolInfoOptions
.DefaultOptions, bnodeSummary, binder)
274
Friend Function GetSymbolInfoForNode(options As
SymbolInfoOptions
, boundNodes As BoundNodeSummary, binderOpt As Binder) As SymbolInfo
492
Dim symbols As ImmutableArray(Of Symbol) = GetSemanticSymbols(boundNodes, binderOpt,
SymbolInfoOptions
.DefaultOptions, resultKind, memberGroup)
505
Dim info = GetExpressionSymbolInfo(nameSyntax,
SymbolInfoOptions
.PreferTypeToConstructors Or
SymbolInfoOptions
.PreserveAliases, cancellationToken)
533
Dim info As SymbolInfo = Me.GetSymbolInfoForNode(
SymbolInfoOptions
.PreferTypeToConstructors Or
SymbolInfoOptions
.PreserveAliases, bnodeSummary, binderOpt:=binder)
870
Friend Function RemoveErrorTypesAndDuplicates(symbolsBuilder As ArrayBuilder(Of Symbol), options As
SymbolInfoOptions
) As ImmutableArray(Of Symbol)
878
If (options And
SymbolInfoOptions
.ResolveAliases) <> 0 Then
893
If (options And
SymbolInfoOptions
.ResolveAliases) <> 0 Then
1015
options As
SymbolInfoOptions
,
1172
If boundNodes.LowestBoundNodeOfSyntacticParent IsNot Nothing AndAlso (options And
SymbolInfoOptions
.PreferConstructorsToType) <> 0 Then
1514
options As
SymbolInfoOptions
2781
Dim containingInvocationInfo As SymbolInfo = GetExpressionSymbolInfo(containingInvocation,
SymbolInfoOptions
.PreferConstructorsToType Or
SymbolInfoOptions
.ResolveAliases, cancellationToken)
2821
SymbolInfoOptions
.PreferConstructorsToType Or
SymbolInfoOptions
.ResolveAliases,
2975
Friend Sub ValidateSymbolInfoOptions(options As
SymbolInfoOptions
)
2976
Debug.Assert(((options And
SymbolInfoOptions
.PreferConstructorsToType) <> 0) <> ((options And
SymbolInfoOptions
.PreferTypeToConstructors) <> 0), "Options are mutually exclusive")
2977
Debug.Assert(((options And
SymbolInfoOptions
.ResolveAliases) <> 0) <> ((options And
SymbolInfoOptions
.PreserveAliases) <> 0), "Options are mutually exclusive")
Compilation\SpeculativeSemanticModelWithMemberModel.vb (2)
229
Friend Overrides Function GetExpressionSymbolInfo(node As ExpressionSyntax, options As
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
253
Friend Overrides Function GetCrefReferenceSymbolInfo(crefReference As CrefReferenceSyntax, options As VBSemanticModel.
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
Compilation\SpeculativeSyntaxTreeSemanticModel.vb (2)
91
Friend Overrides Function GetExpressionSymbolInfo(node As ExpressionSyntax, options As VBSemanticModel.
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
92
If (options And VBSemanticModel.
SymbolInfoOptions
.PreserveAliases) <> 0 Then
Compilation\SyntaxTreeSemanticModel.vb (10)
198
Friend Overrides Function GetCrefReferenceSymbolInfo(crefReference As CrefReferenceSyntax, options As VBSemanticModel.
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
204
Friend Overrides Function GetExpressionSymbolInfo(node As ExpressionSyntax, options As
SymbolInfoOptions
, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo
269
Private Function TryBindNamespaceOrTypeAsExpression(node As ExpressionSyntax, options As
SymbolInfoOptions
) As SymbolInfo
474
Private Function GetSymbolInfoForCrefOrNameAttributeReference(node As VisualBasicSyntaxNode, options As
SymbolInfoOptions
) As SymbolInfo
476
Dim result As ImmutableArray(Of Symbol) = GetCrefOrNameAttributeReferenceSymbols(node, (options And
SymbolInfoOptions
.ResolveAliases) = 0, typeParameters)
642
Private Function GetTypeOrNamespaceSymbolInfoNotInMember(expression As TypeSyntax, options As
SymbolInfoOptions
) As SymbolInfo
787
Private Function GetImplementedMemberSymbolInfo(memberName As QualifiedNameSyntax, options As
SymbolInfoOptions
) As SymbolInfo
797
Private Function GetHandlesEventSymbolInfo(handlesClause As HandlesClauseItemSyntax, options As
SymbolInfoOptions
) As SymbolInfo
811
Private Function GetHandlesContainerSymbolInfo(handlesClause As HandlesClauseItemSyntax, options As
SymbolInfoOptions
) As SymbolInfo
825
Private Function GetHandlesPropertySymbolInfo(handlesClause As HandlesClauseItemSyntax, options As
SymbolInfoOptions
) As SymbolInfo