4 instantiations of SpeculativeSemanticModelWithMemberModel
Microsoft.CodeAnalysis.CSharp (4)
Compilation\AttributeSemanticModel.cs (1)
50
return new
SpeculativeSemanticModelWithMemberModel
(parentSemanticModel, position, syntax, attributeType, aliasOpt, rootBinder, parentRemappedSymbolsOpt);
Compilation\InitializerSemanticModel.cs (1)
71
return new
SpeculativeSemanticModelWithMemberModel
(parentSemanticModel, position, owner, syntax, rootBinder, parentRemappedSymbolsOpt);
Compilation\MemberSemanticModel.cs (1)
176
speculativeModel = new
SpeculativeSemanticModelWithMemberModel
(parentModel, position, _memberSymbol, type, binder, GetRemappedSymbols(), GetSnapshotManager());
Compilation\MethodBodySemanticModel.cs (1)
131
return new
SpeculativeSemanticModelWithMemberModel
(parentSemanticModel, position, owner, syntax, rootBinder, parentRemappedSymbolsOpt, snapshotManagerOpt);
10 references to SpeculativeSemanticModelWithMemberModel
Microsoft.CodeAnalysis.CSharp (10)
Compilation\AttributeSemanticModel.cs (1)
48
public static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(SyntaxTreeSemanticModel parentSemanticModel, AttributeSyntax syntax, NamedTypeSymbol attributeType, AliasSymbol aliasOpt, Binder rootBinder, ImmutableDictionary<Symbol, Symbol> parentRemappedSymbolsOpt, int position)
Compilation\InitializerSemanticModel.cs (1)
69
internal static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(SyntaxTreeSemanticModel parentSemanticModel, Symbol owner, EqualsValueClauseSyntax syntax, Binder rootBinder, ImmutableDictionary<Symbol, Symbol> parentRemappedSymbolsOpt, int position)
Compilation\MemberSemanticModel.cs (2)
54
Debug.Assert(containingPublicSemanticModel.IsSpeculativeSemanticModel == (containingPublicSemanticModel is
SpeculativeSemanticModelWithMemberModel
));
1970
var parentSnapshotManagerOpt = ((
SpeculativeSemanticModelWithMemberModel
)_containingPublicSemanticModel).ParentSnapshotManagerOpt;
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (1)
40
return ((
SpeculativeSemanticModelWithMemberModel
)_containingPublicSemanticModel).ParentSnapshotManagerOpt;
Compilation\MethodBodySemanticModel.cs (5)
110
internal static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(
122
private static
SpeculativeSemanticModelWithMemberModel
CreateSpeculativeForNode(
137
internal static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(SyntaxTreeSemanticModel parentSemanticModel, MethodSymbol owner, ArrowExpressionClauseSyntax syntax, Binder rootBinder, int position)
145
internal static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(SyntaxTreeSemanticModel parentSemanticModel, MethodSymbol owner, ConstructorInitializerSyntax syntax, Binder rootBinder, int position)
153
internal static
SpeculativeSemanticModelWithMemberModel
CreateSpeculative(SyntaxTreeSemanticModel parentSemanticModel, MethodSymbol owner, PrimaryConstructorBaseTypeSyntax syntax, Binder rootBinder, int position)