2 types derived from CSharpSemanticModel
Microsoft.CodeAnalysis.CSharp (2)
Compilation\MemberSemanticModel.cs (1)
26
internal abstract partial class MemberSemanticModel :
CSharpSemanticModel
Compilation\PublicSemanticModel.cs (1)
15
internal abstract partial class PublicSemanticModel :
CSharpSemanticModel
184 references to CSharpSemanticModel
Microsoft.CodeAnalysis.CSharp (184)
BoundTree\BoundExpressionExtensions.cs (1)
182
symbols.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
2781
public new abstract
CSharpSemanticModel
ParentModel
Compilation\MemberSemanticModel.cs (1)
127
public 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)
123
public override
CSharpSemanticModel
ParentModel => _parentSemanticModel;
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
75
public override
CSharpSemanticModel
ParentModel
Compilation\SyntaxTreeSemanticModel.cs (1)
589
public override
CSharpSemanticModel
ParentModel
CSharpExtensions.cs (170)
458
var
csmodel = semanticModel as
CSharpSemanticModel
;
474
var
csmodel = semanticModel as
CSharpSemanticModel
;
498
var
csmodel = semanticModel as
CSharpSemanticModel
;
515
var
csmodel = semanticModel as
CSharpSemanticModel
;
531
var
csmodel = semanticModel as
CSharpSemanticModel
;
547
var
csmodel = semanticModel as
CSharpSemanticModel
;
563
var
csmodel = semanticModel as
CSharpSemanticModel
;
579
var
csmodel = semanticModel as
CSharpSemanticModel
;
597
var
csmodel = semanticModel as
CSharpSemanticModel
;
615
var
csmodel = semanticModel as
CSharpSemanticModel
;
633
var
csmodel = semanticModel as
CSharpSemanticModel
;
653
var
csmodel = semanticModel as
CSharpSemanticModel
;
674
var
csmodel = semanticModel as
CSharpSemanticModel
;
690
var
csmodel = semanticModel as
CSharpSemanticModel
;
703
var
csmodel = semanticModel as
CSharpSemanticModel
;
719
var
csmodel = semanticModel as
CSharpSemanticModel
;
735
var
csmodel = semanticModel as
CSharpSemanticModel
;
753
var
csmodel = semanticModel as
CSharpSemanticModel
;
766
var
csmodel = semanticModel as
CSharpSemanticModel
;
880
var
csmodel = semanticModel as
CSharpSemanticModel
;
893
var
csmodel = semanticModel as
CSharpSemanticModel
;
906
var
csmodel = semanticModel as
CSharpSemanticModel
;
919
return semanticModel is
CSharpSemanticModel
csmodel ? csmodel.GetDeconstructionInfo(assignment) : default;
924
return semanticModel is
CSharpSemanticModel
csmodel ? csmodel.GetDeconstructionInfo(@foreach) : default;
929
var
csmodel = semanticModel as
CSharpSemanticModel
;
942
var
csmodel = semanticModel as
CSharpSemanticModel
;
955
var
csmodel = semanticModel as
CSharpSemanticModel
;
968
var
csmodel = semanticModel as
CSharpSemanticModel
;
984
var
csmodel = semanticModel as
CSharpSemanticModel
;
997
var
csmodel = semanticModel as
CSharpSemanticModel
;
1013
var
csmodel = semanticModel as
CSharpSemanticModel
;
1030
var
csmodel = semanticModel as
CSharpSemanticModel
;
1040
var
csmodel = semanticModel as
CSharpSemanticModel
;
1049
var
csmodel = semanticModel as
CSharpSemanticModel
;
1058
var
csmodel = semanticModel as
CSharpSemanticModel
;
1067
var
csmodel = semanticModel as
CSharpSemanticModel
;
1076
var
csmodel = semanticModel as
CSharpSemanticModel
;
1085
var
csmodel = semanticModel as
CSharpSemanticModel
;
1094
var
csmodel = semanticModel as
CSharpSemanticModel
;
1103
var
csmodel = semanticModel as
CSharpSemanticModel
;
1114
var
csmodel = semanticModel as
CSharpSemanticModel
;
1133
var
csmodel = semanticModel as
CSharpSemanticModel
;
1152
var
csmodel = semanticModel as
CSharpSemanticModel
;
1171
var
csmodel = semanticModel as
CSharpSemanticModel
;
1190
var
csmodel = semanticModel as
CSharpSemanticModel
;
1209
var
csmodel = semanticModel as
CSharpSemanticModel
;
1228
var
csmodel = semanticModel as
CSharpSemanticModel
;
1249
var
csmodel = semanticModel as
CSharpSemanticModel
;
1270
var
csmodel = semanticModel as
CSharpSemanticModel
;
1289
var
csmodel = semanticModel as
CSharpSemanticModel
;
1310
var
csmodel = semanticModel as
CSharpSemanticModel
;
1328
var
csmodel = semanticModel as
CSharpSemanticModel
;
1344
var
csmodel = semanticModel as
CSharpSemanticModel
;
1353
var
csmodel = semanticModel as
CSharpSemanticModel
;
1363
var
csmodel = semanticModel as
CSharpSemanticModel
;
1375
var
csmodel = semanticModel as
CSharpSemanticModel
;
1384
var
csmodel = semanticModel as
CSharpSemanticModel
;
1393
var
csmodel = semanticModel as
CSharpSemanticModel
;
1402
var
csmodel = semanticModel as
CSharpSemanticModel
;
1411
var
csmodel = semanticModel as
CSharpSemanticModel
;
1420
var
csmodel = semanticModel as
CSharpSemanticModel
;
1429
var
csmodel = semanticModel as
CSharpSemanticModel
;
1438
var
csmodel = semanticModel as
CSharpSemanticModel
;
1447
var
csmodel = semanticModel as
CSharpSemanticModel
;
1456
var
csmodel = semanticModel as
CSharpSemanticModel
;
1465
var
csmodel = semanticModel as
CSharpSemanticModel
;
1474
var
csmodel = semanticModel as
CSharpSemanticModel
;
1483
var
csmodel = semanticModel as
CSharpSemanticModel
;
1492
var
csmodel = semanticModel as
CSharpSemanticModel
;
1501
var
csmodel = semanticModel as
CSharpSemanticModel
;
1510
var
csmodel = semanticModel as
CSharpSemanticModel
;
1519
var
csmodel = semanticModel as
CSharpSemanticModel
;
1528
var
csmodel = semanticModel as
CSharpSemanticModel
;
1537
var
csmodel = semanticModel as
CSharpSemanticModel
;
1546
var
csmodel = semanticModel as
CSharpSemanticModel
;
1555
var
csmodel = semanticModel as
CSharpSemanticModel
;
1564
var
csmodel = semanticModel as
CSharpSemanticModel
;
1573
var
csmodel = semanticModel as
CSharpSemanticModel
;
1584
var
csmodel = semanticModel as
CSharpSemanticModel
;
1595
var
csmodel = semanticModel as
CSharpSemanticModel
;
1601
var
csmodel = semanticModel as
CSharpSemanticModel
;
1610
var
csmodel = semanticModel as
CSharpSemanticModel
;
1619
var
csmodel = semanticModel as
CSharpSemanticModel
;
1630
var
csmodel = semanticModel as
CSharpSemanticModel
;
1638
var
csModel = semanticModel as
CSharpSemanticModel
;
1649
var
csModel = semanticModel as
CSharpSemanticModel
;
Symbols\PublicModel\Symbol.cs (3)
184
internal static
CSharpSemanticModel
GetCSharpSemanticModel(SemanticModel semanticModel)
186
var
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
"/>.