2 types derived from CSharpSemanticModel
Microsoft.CodeAnalysis.CSharp (2)
Compilation\MemberSemanticModel.cs (1)
26internal abstract partial class MemberSemanticModel : CSharpSemanticModel
Compilation\PublicSemanticModel.cs (1)
15internal abstract partial class PublicSemanticModel : CSharpSemanticModel
184 references to CSharpSemanticModel
Microsoft.CodeAnalysis.CSharp (184)
BoundTree\BoundExpressionExtensions.cs (1)
182symbols.AddRange(CSharpSemanticModel.GetReducedAndFilteredMethodGroupSymbols(binder, (BoundMethodGroup)node));
Compilation\CSharpSemanticModel.cs (3)
27/// <para>An instance of <see cref="CSharpSemanticModel"/> caches local symbols and semantic 29/// cref="CSharpSemanticModel"/> when asking multiple questions about a syntax tree, because 2781public new abstract CSharpSemanticModel ParentModel
Compilation\MemberSemanticModel.cs (1)
127public sealed override CSharpSemanticModel ParentModel
Compilation\PublicSemanticModel.cs (1)
12/// Other types of <see cref="CSharpSemanticModel"/> are not designed for direct exposure
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
123public override CSharpSemanticModel ParentModel => _parentSemanticModel;
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
75public override CSharpSemanticModel ParentModel
Compilation\SyntaxTreeSemanticModel.cs (1)
589public override CSharpSemanticModel ParentModel
CSharpExtensions.cs (170)
458var csmodel = semanticModel as CSharpSemanticModel; 474var csmodel = semanticModel as CSharpSemanticModel; 498var csmodel = semanticModel as CSharpSemanticModel; 515var csmodel = semanticModel as CSharpSemanticModel; 531var csmodel = semanticModel as CSharpSemanticModel; 547var csmodel = semanticModel as CSharpSemanticModel; 563var csmodel = semanticModel as CSharpSemanticModel; 579var csmodel = semanticModel as CSharpSemanticModel; 597var csmodel = semanticModel as CSharpSemanticModel; 615var csmodel = semanticModel as CSharpSemanticModel; 633var csmodel = semanticModel as CSharpSemanticModel; 653var csmodel = semanticModel as CSharpSemanticModel; 674var csmodel = semanticModel as CSharpSemanticModel; 690var csmodel = semanticModel as CSharpSemanticModel; 703var csmodel = semanticModel as CSharpSemanticModel; 719var csmodel = semanticModel as CSharpSemanticModel; 735var csmodel = semanticModel as CSharpSemanticModel; 753var csmodel = semanticModel as CSharpSemanticModel; 766var csmodel = semanticModel as CSharpSemanticModel; 880var csmodel = semanticModel as CSharpSemanticModel; 893var csmodel = semanticModel as CSharpSemanticModel; 906var csmodel = semanticModel as CSharpSemanticModel; 919return semanticModel is CSharpSemanticModel csmodel ? csmodel.GetDeconstructionInfo(assignment) : default; 924return semanticModel is CSharpSemanticModel csmodel ? csmodel.GetDeconstructionInfo(@foreach) : default; 929var csmodel = semanticModel as CSharpSemanticModel; 942var csmodel = semanticModel as CSharpSemanticModel; 955var csmodel = semanticModel as CSharpSemanticModel; 968var csmodel = semanticModel as CSharpSemanticModel; 984var csmodel = semanticModel as CSharpSemanticModel; 997var csmodel = semanticModel as CSharpSemanticModel; 1013var csmodel = semanticModel as CSharpSemanticModel; 1030var csmodel = semanticModel as CSharpSemanticModel; 1040var csmodel = semanticModel as CSharpSemanticModel; 1049var csmodel = semanticModel as CSharpSemanticModel; 1058var csmodel = semanticModel as CSharpSemanticModel; 1067var csmodel = semanticModel as CSharpSemanticModel; 1076var csmodel = semanticModel as CSharpSemanticModel; 1085var csmodel = semanticModel as CSharpSemanticModel; 1094var csmodel = semanticModel as CSharpSemanticModel; 1103var csmodel = semanticModel as CSharpSemanticModel; 1114var csmodel = semanticModel as CSharpSemanticModel; 1133var csmodel = semanticModel as CSharpSemanticModel; 1152var csmodel = semanticModel as CSharpSemanticModel; 1171var csmodel = semanticModel as CSharpSemanticModel; 1190var csmodel = semanticModel as CSharpSemanticModel; 1209var csmodel = semanticModel as CSharpSemanticModel; 1228var csmodel = semanticModel as CSharpSemanticModel; 1249var csmodel = semanticModel as CSharpSemanticModel; 1270var csmodel = semanticModel as CSharpSemanticModel; 1289var csmodel = semanticModel as CSharpSemanticModel; 1310var csmodel = semanticModel as CSharpSemanticModel; 1328var csmodel = semanticModel as CSharpSemanticModel; 1344var csmodel = semanticModel as CSharpSemanticModel; 1353var csmodel = semanticModel as CSharpSemanticModel; 1363var csmodel = semanticModel as CSharpSemanticModel; 1375var csmodel = semanticModel as CSharpSemanticModel; 1384var csmodel = semanticModel as CSharpSemanticModel; 1393var csmodel = semanticModel as CSharpSemanticModel; 1402var csmodel = semanticModel as CSharpSemanticModel; 1411var csmodel = semanticModel as CSharpSemanticModel; 1420var csmodel = semanticModel as CSharpSemanticModel; 1429var csmodel = semanticModel as CSharpSemanticModel; 1438var csmodel = semanticModel as CSharpSemanticModel; 1447var csmodel = semanticModel as CSharpSemanticModel; 1456var csmodel = semanticModel as CSharpSemanticModel; 1465var csmodel = semanticModel as CSharpSemanticModel; 1474var csmodel = semanticModel as CSharpSemanticModel; 1483var csmodel = semanticModel as CSharpSemanticModel; 1492var csmodel = semanticModel as CSharpSemanticModel; 1501var csmodel = semanticModel as CSharpSemanticModel; 1510var csmodel = semanticModel as CSharpSemanticModel; 1519var csmodel = semanticModel as CSharpSemanticModel; 1528var csmodel = semanticModel as CSharpSemanticModel; 1537var csmodel = semanticModel as CSharpSemanticModel; 1546var csmodel = semanticModel as CSharpSemanticModel; 1555var csmodel = semanticModel as CSharpSemanticModel; 1564var csmodel = semanticModel as CSharpSemanticModel; 1573var csmodel = semanticModel as CSharpSemanticModel; 1584var csmodel = semanticModel as CSharpSemanticModel; 1595var csmodel = semanticModel as CSharpSemanticModel; 1601var csmodel = semanticModel as CSharpSemanticModel; 1610var csmodel = semanticModel as CSharpSemanticModel; 1619var csmodel = semanticModel as CSharpSemanticModel; 1630var csmodel = semanticModel as CSharpSemanticModel; 1639var csModel = semanticModel as CSharpSemanticModel; 1651var csModel = semanticModel as CSharpSemanticModel;
Symbols\PublicModel\Symbol.cs (3)
184internal static CSharpSemanticModel GetCSharpSemanticModel(SemanticModel semanticModel) 186var csharpModel = semanticModel as CSharpSemanticModel;
Symbols\Symbol.cs (2)
486/// cref="CSharpSemanticModel.GetDeclaredSymbol(MemberDeclarationSyntax, CancellationToken)"/>. 716/// of <see cref="CanBeReferencedByName"/>. The full name check will then be performed in the <see cref="CSharpSemanticModel"/>.