2 types derived from PublicSemanticModel
Microsoft.CodeAnalysis.CSharp (2)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
20
internal sealed class SpeculativeSemanticModelWithMemberModel :
PublicSemanticModel
Compilation\SyntaxTreeSemanticModel.cs (1)
25
internal partial class SyntaxTreeSemanticModel :
PublicSemanticModel
76 references to PublicSemanticModel
Microsoft.CodeAnalysis.CSharp (76)
Compilation\AttributeSemanticModel.cs (9)
27
PublicSemanticModel
containingPublicSemanticModel,
39
public static AttributeSemanticModel Create(
PublicSemanticModel
containingSemanticModel, AttributeSyntax syntax, NamedTypeSymbol attributeType, AliasSymbol aliasOpt, Symbol? attributeTarget, Binder rootBinder, ImmutableDictionary<Symbol, Symbol>? parentRemappedSymbolsOpt)
128
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
? speculativeModel)
134
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
? speculativeModel)
140
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
? speculativeModel)
146
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
? speculativeModel)
152
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
? speculativeModel)
158
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
? speculativeModel)
164
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
? speculativeModel)
Compilation\CSharpSemanticModel.cs (18)
2512
var result = TryGetSpeculativeSemanticModelForMethodBodyCore((SyntaxTreeSemanticModel)this, position, method, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2517
internal abstract bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
speculativeModel);
2539
var result = TryGetSpeculativeSemanticModelForMethodBodyCore((SyntaxTreeSemanticModel)this, position, accessor, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2544
internal abstract bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
speculativeModel);
2568
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, type, bindingOption, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2573
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, TypeSyntax type, SpeculativeBindingOption bindingOption, out
PublicSemanticModel
speculativeModel);
2594
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, statement, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2599
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
speculativeModel);
2621
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, initializer, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2626
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
speculativeModel);
2648
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, expressionBody, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2653
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
speculativeModel);
2678
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, constructorInitializer, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2683
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel);
2707
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, constructorInitializer, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2712
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel);
2737
var result = TryGetSpeculativeSemanticModelCore((SyntaxTreeSemanticModel)this, position, crefSyntax, out
PublicSemanticModel
speculativeSyntaxTreeModel);
2742
internal abstract bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, CrefSyntax crefSyntax, out
PublicSemanticModel
speculativeModel);
Compilation\InitializerSemanticModel.cs (9)
29
PublicSemanticModel
containingPublicSemanticModel,
59
internal static InitializerSemanticModel Create(
PublicSemanticModel
containingSemanticModel, ParameterSyntax syntax, ParameterSymbol parameterSymbol, Binder rootBinder, ImmutableDictionary<Symbol, Symbol> parentRemappedSymbolsOpt)
203
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
speculativeModel)
217
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
223
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
229
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
speculativeModel)
235
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
speculativeModel)
241
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
speculativeModel)
247
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
speculativeModel)
Compilation\MemberSemanticModel.cs (4)
41
private readonly
PublicSemanticModel
_containingPublicSemanticModel;
49
PublicSemanticModel
containingPublicSemanticModel,
169
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, TypeSyntax type, SpeculativeBindingOption bindingOption, out
PublicSemanticModel
speculativeModel)
184
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, CrefSyntax crefSyntax, out
PublicSemanticModel
speculativeModel)
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (8)
27
PublicSemanticModel
containingPublicSemanticModel,
65
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
70
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
75
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
speculativeModel)
80
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
speculativeModel)
85
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
speculativeModel)
90
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
speculativeModel)
95
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
speculativeModel)
Compilation\MethodBodySemanticModel.cs (9)
47
PublicSemanticModel
containingPublicSemanticModel,
158
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
speculativeModel)
164
private bool GetSpeculativeSemanticModelForMethodBody(SyntaxTreeSemanticModel parentModel, int position, BlockSyntax body, out
PublicSemanticModel
speculativeModel)
196
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
speculativeModel)
201
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
speculativeModel)
219
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
speculativeModel)
238
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
257
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
280
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
speculativeModel)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (9)
520
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
? speculativeModel)
525
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
? speculativeModel)
530
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
? speculativeModel)
535
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
? speculativeModel)
540
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
? speculativeModel)
545
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
? speculativeModel)
550
internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
? speculativeModel)
555
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, TypeSyntax type, SpeculativeBindingOption bindingOption, out
PublicSemanticModel
speculativeModel)
560
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, CrefSyntax crefSyntax, out
PublicSemanticModel
speculativeModel)
Compilation\SyntaxTreeSemanticModel.cs (10)
594
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, TypeSyntax type, SpeculativeBindingOption bindingOption, out
PublicSemanticModel
speculativeModel)
615
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, CrefSyntax crefSyntax, out
PublicSemanticModel
speculativeModel)
630
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, StatementSyntax statement, out
PublicSemanticModel
speculativeModel)
644
internal sealed override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out
PublicSemanticModel
speculativeModel)
658
internal sealed override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, AccessorDeclarationSyntax accessor, out
PublicSemanticModel
speculativeModel)
672
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, EqualsValueClauseSyntax initializer, out
PublicSemanticModel
speculativeModel)
686
internal override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ArrowExpressionClauseSyntax expressionBody, out
PublicSemanticModel
speculativeModel)
700
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, ConstructorInitializerSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
719
internal sealed override bool TryGetSpeculativeSemanticModelCore(SyntaxTreeSemanticModel parentModel, int position, PrimaryConstructorBaseTypeSyntax constructorInitializer, out
PublicSemanticModel
speculativeModel)
760
internal
PublicSemanticModel
CreateSpeculativeAttributeSemanticModel(int position, AttributeSyntax attribute, Binder binder, AliasSymbol aliasOpt, NamedTypeSymbol attributeType)