3522 references to GetSemanticModel
AnalyzerRunner (1)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Extra.Tests (4)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (5)
Microsoft.CodeAnalysis (10)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (228)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (28)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1117)
Semantics\OutVarTests.cs (472)
57var model = compilation.GetSemanticModel(tree);
101var model = compilation.GetSemanticModel(tree);
124model = compilation.GetSemanticModel(tree);
217var model = compilation.GetSemanticModel(tree);
270var model = compilation.GetSemanticModel(tree);
333var model = compilation.GetSemanticModel(tree);
908var model = compilation.GetSemanticModel(tree);
1405var model = compilation.GetSemanticModel(tree);
1463var model = compilation.GetSemanticModel(tree);
1497var model = compilation.GetSemanticModel(tree);
1532var model = compilation.GetSemanticModel(tree);
1566var model = compilation.GetSemanticModel(tree);
1600var model = compilation.GetSemanticModel(tree);
1640var model = compilation.GetSemanticModel(tree);
1678var model = compilation.GetSemanticModel(tree);
1715var model = compilation.GetSemanticModel(tree);
1751var model = compilation.GetSemanticModel(tree);
1884var model = compilation.GetSemanticModel(tree);
2005var model = compilation.GetSemanticModel(tree);
2115var model = compilation.GetSemanticModel(tree);
2226var model = compilation.GetSemanticModel(tree);
2336var model = compilation.GetSemanticModel(tree);
2638var model = compilation.GetSemanticModel(tree);
2855var model = compilation.GetSemanticModel(tree);
2950var model = compilation.GetSemanticModel(tree);
3202var model = compilation.GetSemanticModel(tree);
3304var model = compilation.GetSemanticModel(tree);
3376var model = compilation.GetSemanticModel(tree);
3428var model = compilation.GetSemanticModel(tree);
3462var model = compilation.GetSemanticModel(tree);
3503var model = compilation.GetSemanticModel(tree);
3644var model = compilation.GetSemanticModel(tree);
3865var model = compilation.GetSemanticModel(tree);
3962var model = compilation.GetSemanticModel(tree);
3998var model = compilation.GetSemanticModel(tree);
4053var model = compilation.GetSemanticModel(tree);
4097var model = compilation.GetSemanticModel(tree);
4148var model = compilation.GetSemanticModel(tree);
4208var model = compilation.GetSemanticModel(tree);
4274var model = compilation.GetSemanticModel(tree);
4497var model = compilation.GetSemanticModel(tree);
4676var model = compilation.GetSemanticModel(tree);
4917var model = compilation.GetSemanticModel(tree);
5019var model = compilation.GetSemanticModel(tree);
5066var model = compilation.GetSemanticModel(tree);
5104var model = compilation.GetSemanticModel(tree);
5181var model = compilation.GetSemanticModel(tree);
5284var model = compilation.GetSemanticModel(tree);
5411var model = compilation.GetSemanticModel(tree);
5513var model = compilation.GetSemanticModel(tree);
5577var model = compilation.GetSemanticModel(tree);
5709var model = compilation.GetSemanticModel(tree);
5749var model = compilation.GetSemanticModel(tree);
5756Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString());
5910var model = compilation.GetSemanticModel(tree);
6051var model = compilation.GetSemanticModel(tree);
6328var model = compilation.GetSemanticModel(tree);
6563var model = compilation.GetSemanticModel(tree);
6819var model = compilation.GetSemanticModel(tree);
7065var model = compilation.GetSemanticModel(tree);
7303var model = compilation.GetSemanticModel(tree);
7625var model = compilation.GetSemanticModel(tree);
7774var model = compilation.GetSemanticModel(tree);
7834var model = compilation.GetSemanticModel(tree);
7896var model = compilation.GetSemanticModel(tree);
7962var model = compilation.GetSemanticModel(tree);
8026var model = compilation.GetSemanticModel(tree);
8093var model = compilation.GetSemanticModel(tree);
8155var model = compilation.GetSemanticModel(tree);
8210var model = compilation.GetSemanticModel(tree);
8388var model = compilation.GetSemanticModel(tree);
8488var model = compilation.GetSemanticModel(tree);
8660var model = compilation.GetSemanticModel(tree);
8762var model = compilation.GetSemanticModel(tree);
8798var model = compilation.GetSemanticModel(tree);
8870var model = compilation.GetSemanticModel(tree);
8920var model = compilation.GetSemanticModel(tree);
9162var model = compilation.GetSemanticModel(tree);
9264var model = compilation.GetSemanticModel(tree);
9335var model = compilation.GetSemanticModel(tree);
9428var model = compilation.GetSemanticModel(tree);
9508var model = compilation.GetSemanticModel(tree);
9584var model = compilation.GetSemanticModel(tree);
9637var model = compilation.GetSemanticModel(tree);
9694var model = compilation.GetSemanticModel(tree);
9759var model = compilation.GetSemanticModel(tree);
9816var model = compilation.GetSemanticModel(tree);
9891var model = compilation.GetSemanticModel(tree);
9986var model = compilation.GetSemanticModel(tree);
10068var model = compilation.GetSemanticModel(tree);
10149var model = compilation.GetSemanticModel(tree);
10205var model = compilation.GetSemanticModel(tree);
10261var model = compilation.GetSemanticModel(tree);
10328var model = compilation.GetSemanticModel(tree);
10387var model = compilation.GetSemanticModel(tree);
10459var model = compilation.GetSemanticModel(tree);
10543var model = compilation.GetSemanticModel(tree);
10721var model = compilation.GetSemanticModel(tree);
10818var model = compilation.GetSemanticModel(tree);
10854var model = compilation.GetSemanticModel(tree);
10909var model = compilation.GetSemanticModel(tree);
10959var model = compilation.GetSemanticModel(tree);
11047var model = compilation.GetSemanticModel(tree);
11184var model = compilation.GetSemanticModel(tree);
11266var model = compilation.GetSemanticModel(tree);
11428var model = compilation.GetSemanticModel(tree);
11468var model = compilation.GetSemanticModel(tree);
11716var model = compilation.GetSemanticModel(tree);
11973var model = compilation.GetSemanticModel(tree);
12125var model = compilation.GetSemanticModel(tree);
12275var model = compilation.GetSemanticModel(tree);
12352var model = compilation.GetSemanticModel(tree);
12421var model = compilation.GetSemanticModel(tree);
12497var model = compilation.GetSemanticModel(tree);
12659var model = compilation.GetSemanticModel(tree);
12779var model = compilation.GetSemanticModel(tree);
12866var model = compilation.GetSemanticModel(tree);
12875Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(yDecl))).Type.ToTestDisplayString());
12921var model = compilation.GetSemanticModel(tree);
12963var model = compilation.GetSemanticModel(tree);
13018var model = compilation.GetSemanticModel(tree);
13202var model = compilation.GetSemanticModel(tree);
13296var model = compilation.GetSemanticModel(tree);
13334var model = compilation.GetSemanticModel(tree);
13386var model = compilation.GetSemanticModel(tree);
13440var model = compilation.GetSemanticModel(tree);
13606var model = compilation.GetSemanticModel(tree);
13697var model = compilation.GetSemanticModel(tree);
13733var model = compilation.GetSemanticModel(tree);
13797var model = compilation.GetSemanticModel(tree);
13847var model = compilation.GetSemanticModel(tree);
14128var model = compilation.GetSemanticModel(tree);
14257var model = compilation.GetSemanticModel(tree);
14304var model = compilation.GetSemanticModel(tree);
14353var model = compilation.GetSemanticModel(tree);
14395var model = compilation.GetSemanticModel(tree);
14437var model = compilation.GetSemanticModel(tree);
14482var model = compilation.GetSemanticModel(tree);
14524var model = compilation.GetSemanticModel(tree);
14569var model = compilation.GetSemanticModel(tree);
14574model = compilation.GetSemanticModel(tree);
14618var model = compilation.GetSemanticModel(tree);
14672var model = compilation.GetSemanticModel(tree);
14731var model = compilation.GetSemanticModel(tree);
14778var model = compilation.GetSemanticModel(tree);
14783model = compilation.GetSemanticModel(tree);
14828var model = compilation.GetSemanticModel(tree);
14833model = compilation.GetSemanticModel(tree);
14943var model = compilation.GetSemanticModel(tree);
15123var model = compilation.GetSemanticModel(tree);
15216var model = compilation.GetSemanticModel(tree);
15254var model = compilation.GetSemanticModel(tree);
15312var model = compilation.GetSemanticModel(tree);
15370var model = compilation.GetSemanticModel(tree);
15531var model = compilation.GetSemanticModel(tree);
15744var model = compilation.GetSemanticModel(tree);
15957var model = compilation.GetSemanticModel(tree);
16072var model = compilation.GetSemanticModel(tree);
16159var model = compilation.GetSemanticModel(tree);
16400var model = compilation.GetSemanticModel(tree);
16496var model = compilation.GetSemanticModel(tree);
16532var model = compilation.GetSemanticModel(tree);
16589var model = compilation.GetSemanticModel(tree);
16643var model = compilation.GetSemanticModel(tree);
16703var model = compilation.GetSemanticModel(tree);
16763var model = compilation.GetSemanticModel(tree);
16826var model = compilation.GetSemanticModel(tree);
16960var model = compilation.GetSemanticModel(tree);
17052var model = compilation.GetSemanticModel(tree);
17091var model = compilation.GetSemanticModel(tree);
17149var model = compilation.GetSemanticModel(tree);
17203var model = compilation.GetSemanticModel(tree);
17387var model = compilation.GetSemanticModel(tree);
17489var model = compilation.GetSemanticModel(tree);
17527var model = compilation.GetSemanticModel(tree);
17590var model = compilation.GetSemanticModel(tree);
17643var model = compilation.GetSemanticModel(tree);
17678var model = compilation.GetSemanticModel(tree);
17711var model = compilation.GetSemanticModel(tree);
17744var model = compilation.GetSemanticModel(tree);
17783var model = compilation.GetSemanticModel(tree);
17830var model = compilation.GetSemanticModel(tree);
17860var model = compilation.GetSemanticModel(tree);
17891var model = compilation.GetSemanticModel(tree);
17920var model = compilation.GetSemanticModel(tree);
17952var model = compilation.GetSemanticModel(tree);
17994var model = compilation.GetSemanticModel(tree);
18031var model = compilation.GetSemanticModel(tree);
18068var model = compilation.GetSemanticModel(tree);
18103var model = compilation.GetSemanticModel(tree);
18142var model = compilation.GetSemanticModel(tree);
18183var model = compilation.GetSemanticModel(tree);
18226var model = compilation.GetSemanticModel(tree);
18269var model = compilation.GetSemanticModel(tree);
18308var model = compilation.GetSemanticModel(tree);
18349var model = compilation.GetSemanticModel(tree);
18384var model = compilation.GetSemanticModel(tree);
18430var model = compilation.GetSemanticModel(tree);
18436Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString());
18494var model = compilation.GetSemanticModel(tree);
18500Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString());
18543var model = compilation.GetSemanticModel(tree);
18549Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString());
18588var model = compilation.GetSemanticModel(tree);
18594Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString());
18640var model = compilation.GetSemanticModel(tree);
18684var model = compilation.GetSemanticModel(tree);
18726var model = compilation.GetSemanticModel(tree);
18780var model = compilation.GetSemanticModel(tree);
18873var model = compilation.GetSemanticModel(tree);
18917var model = compilation.GetSemanticModel(tree);
18959var model = compilation.GetSemanticModel(tree);
19012var model = compilation.GetSemanticModel(tree);
19057var model = compilation.GetSemanticModel(tree);
19100var model = compilation.GetSemanticModel(tree);
19154var model = compilation.GetSemanticModel(tree);
19203var model = compilation.GetSemanticModel(tree);
19250var model = compilation.GetSemanticModel(tree);
19288var model = compilation.GetSemanticModel(tree);
19329var model = compilation.GetSemanticModel(tree);
19363var model = compilation.GetSemanticModel(tree);
19424var model = compilation.GetSemanticModel(tree);
19469var model = compilation.GetSemanticModel(tree);
19507var model = compilation.GetSemanticModel(tree);
19546var model = compilation.GetSemanticModel(tree);
19590var model = compilation.GetSemanticModel(tree);
19659var model = compilation.GetSemanticModel(tree);
19689Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error);
19691var model = compilation.GetSemanticModel(tree);
19692VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref);
19732Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error);
19734var model = compilation.GetSemanticModel(tree);
19735VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref);
19768var model = compilation.GetSemanticModel(tree);
19841var model = compilation.GetSemanticModel(tree);
19874var model = compilation.GetSemanticModel(tree);
19907var model = compilation.GetSemanticModel(tree);
19942var model = compilation.GetSemanticModel(tree);
19977var model = compilation.GetSemanticModel(tree);
20015var model = compilation.GetSemanticModel(tree);
20047var model = compilation.GetSemanticModel(tree);
20221var model = compilation.GetSemanticModel(tree);
20226VerifyModelForOutVar(compilation.GetSemanticModel(tree), x1Decl, x1Ref);
20249var model = compilation.GetSemanticModel(tree);
20357var model = compilation.GetSemanticModel(tree);
20363Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref[0]).Type.ToTestDisplayString());
20369Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x2Ref[0]).Type.ToTestDisplayString());
20375Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x3Ref[0]).Type.ToTestDisplayString());
20381Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref[0]).Type.ToTestDisplayString());
20614var model = compilation.GetSemanticModel(tree);
20617Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.ToTestDisplayString());
20657var model = compilation.GetSemanticModel(tree);
20662Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref).Type.TypeKind == TypeKind.Error);
20774var model = compilation.GetSemanticModel(tree);
20788VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref);
20827var model = compilation.GetSemanticModel(tree);
20918var model = compilation.GetSemanticModel(tree);
21034var model = compilation.GetSemanticModel(tree);
21129var model = compilation.GetSemanticModel(tree);
21233var model = compilation.GetSemanticModel(tree);
21290var model = compilation.GetSemanticModel(tree);
21358var model = compilation.GetSemanticModel(tree);
21408var model = compilation.GetSemanticModel(tree);
21416model = compilation.GetSemanticModel(tree);
21609var model = compilation.GetSemanticModel(tree);
21768var model = compilation.GetSemanticModel(tree);
21964var model = compilation.GetSemanticModel(tree);
22091var model = compilation.GetSemanticModel(tree);
22189var model = compilation.GetSemanticModel(tree);
22377var model = compilation.GetSemanticModel(tree);
22532var model = compilation.GetSemanticModel(tree);
22611var model = compilation.GetSemanticModel(tree);
22734var model = compilation.GetSemanticModel(tree);
22816var model = compilation.GetSemanticModel(tree);
22900var model = compilation.GetSemanticModel(tree);
22967var model = compilation.GetSemanticModel(tree);
23006var model = compilation.GetSemanticModel(tree);
23162var model = compilation.GetSemanticModel(tree);
23256var model = compilation.GetSemanticModel(tree);
23346var model = compilation.GetSemanticModel(tree);
23394var model = compilation.GetSemanticModel(tree);
23427var model = compilation.GetSemanticModel(tree);
23478var model = compilation.GetSemanticModel(tree);
23622var model = compilation.GetSemanticModel(tree);
23720var model = compilation.GetSemanticModel(tree);
23818var model = compilation.GetSemanticModel(tree);
23960var model = compilation.GetSemanticModel(tree);
24064var model = compilation.GetSemanticModel(tree);
24159var model = compilation.GetSemanticModel(tree);
24247var model = compilation.GetSemanticModel(tree);
24353var model = compilation.GetSemanticModel(tree);
24446var model = compilation.GetSemanticModel(tree);
24477var model = compilation.GetSemanticModel(tree);
24679var model = compilation.GetSemanticModel(tree);
24938var model = compilation.GetSemanticModel(tree);
25129var model = compilation.GetSemanticModel(tree);
25242var model = compilation.GetSemanticModel(tree);
25341var model = compilation.GetSemanticModel(tree);
25520var model = compilation.GetSemanticModel(tree);
25564var model = compilation.GetSemanticModel(tree);
25645var model = compilation.GetSemanticModel(tree);
25689var model = compilation.GetSemanticModel(tree);
25744var model = compilation.GetSemanticModel(tree);
25825var model = compilation.GetSemanticModel(tree);
25885var model = compilation.GetSemanticModel(tree);
25982var model = compilation.GetSemanticModel(tree);
26039var model = compilation.GetSemanticModel(tree);
26106var model = compilation.GetSemanticModel(tree);
26154var model = compilation.GetSemanticModel(tree);
26235var model = compilation.GetSemanticModel(tree);
26282var model = compilation.GetSemanticModel(tree);
26377var model = compilation.GetSemanticModel(tree);
26383Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString());
26425var model = compilation.GetSemanticModel(tree);
26509var model = compilation.GetSemanticModel(tree);
26569var model = compilation.GetSemanticModel(tree);
26653var model = compilation.GetSemanticModel(tree);
26713var model = compilation.GetSemanticModel(tree);
26774var model = compilation.GetSemanticModel(tree);
26844var model = compilation.GetSemanticModel(tree);
26888var model = compilation.GetSemanticModel(tree);
26974var model = compilation.GetSemanticModel(tree);
26980Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString());
27019var model = compilation.GetSemanticModel(tree);
27111var model = compilation.GetSemanticModel(tree);
27165var model = compilation.GetSemanticModel(tree);
27264var model = compilation.GetSemanticModel(tree);
27318var model = compilation.GetSemanticModel(tree);
27387var model = compilation.GetSemanticModel(tree);
27464var model = compilation.GetSemanticModel(tree);
27537var model = compilation.GetSemanticModel(tree);
27641var model = compilation.GetSemanticModel(tree);
27714var model = compilation.GetSemanticModel(tree);
27777var model = compilation.GetSemanticModel(tree);
27854var model = compilation.GetSemanticModel(tree);
27927var model = compilation.GetSemanticModel(tree);
28032var model = compilation.GetSemanticModel(tree);
28105var model = compilation.GetSemanticModel(tree);
28178var model = compilation.GetSemanticModel(tree);
28253var model = compilation.GetSemanticModel(tree);
28307var model = compilation.GetSemanticModel(tree);
28404var model = compilation.GetSemanticModel(tree);
28458var model = compilation.GetSemanticModel(tree);
28525var model = compilation.GetSemanticModel(tree);
28573var model = compilation.GetSemanticModel(tree);
28657var model = compilation.GetSemanticModel(tree);
28718var model = compilation.GetSemanticModel(tree);
28825var model = compilation.GetSemanticModel(tree);
28881var model = compilation.GetSemanticModel(tree);
28976var model = compilation.GetSemanticModel(tree);
29032var model = compilation.GetSemanticModel(tree);
29097var model = compilation.GetSemanticModel(tree);
29183var model = compilation.GetSemanticModel(tree);
29250var model = compilation.GetSemanticModel(tree);
29359var model = compilation.GetSemanticModel(tree);
29426var model = compilation.GetSemanticModel(tree);
29499var model = compilation.GetSemanticModel(tree);
29548var model = compilation.GetSemanticModel(tree);
29646var model = compilation.GetSemanticModel(tree);
29722var model = compilation.GetSemanticModel(tree);
29847var model = compilation.GetSemanticModel(tree);
29923var model = compilation.GetSemanticModel(tree);
30001var model = compilation.GetSemanticModel(tree);
30087var model = compilation.GetSemanticModel(tree);
30148var model = compilation.GetSemanticModel(tree);
30259var model = compilation.GetSemanticModel(tree);
30320var model = compilation.GetSemanticModel(tree);
30384var model = compilation.GetSemanticModel(tree);
30439var model = compilation.GetSemanticModel(tree);
30483var model = compilation.GetSemanticModel(tree);
30527var model = compilation.GetSemanticModel(tree);
30568var model = compilation.GetSemanticModel(tree);
30648var model = compilation.GetSemanticModel(tree);
30717var model = compilation.GetSemanticModel(tree);
30819var model = compilation.GetSemanticModel(tree);
30888var model = compilation.GetSemanticModel(tree);
30952var model = compilation.GetSemanticModel(tree);
31007var model = compilation.GetSemanticModel(tree);
31051var model = compilation.GetSemanticModel(tree);
31095var model = compilation.GetSemanticModel(tree);
31179var model = compilation.GetSemanticModel(tree);
31238var model = compilation.GetSemanticModel(tree);
31352var model = compilation.GetSemanticModel(tree);
31411var model = compilation.GetSemanticModel(tree);
31480var model = compilation.GetSemanticModel(tree);
31535var model = compilation.GetSemanticModel(tree);
31579var model = compilation.GetSemanticModel(tree);
31623var model = compilation.GetSemanticModel(tree);
31664var model = compilation.GetSemanticModel(tree);
31718var model = compilation.GetSemanticModel(tree);
31752var model = compilation.GetSemanticModel(tree);
31805var model = compilation.GetSemanticModel(tree);
31845var model = compilation.GetSemanticModel(tree);
31895var model = compilation.GetSemanticModel(tree);
31929var model = compilation.GetSemanticModel(tree);
31985var model = compilation.GetSemanticModel(tree);
32025var model = compilation.GetSemanticModel(tree);
32070var model = compilation.GetSemanticModel(tree);
32114var model = compilation.GetSemanticModel(tree);
32148var model = compilation.GetSemanticModel(tree);
32182var model = compilation.GetSemanticModel(tree);
32222var model = compilation.GetSemanticModel(tree);
32262var model = compilation.GetSemanticModel(tree);
32280model = compilation.GetSemanticModel(tree);
32317var model = compilation.GetSemanticModel(tree);
32333model = compilation.GetSemanticModel(tree);
32386var model = compilation.GetSemanticModel(tree);
32433var model = compilation.GetSemanticModel(tree);
32472var model = compilation.GetSemanticModel(tree);
32499var model = compilation.GetSemanticModel(tree);
32527var model = compilation.GetSemanticModel(tree);
32555var model = compilation.GetSemanticModel(tree);
32581var model = compilation.GetSemanticModel(tree);
32619var model = compilation.GetSemanticModel(tree);
32655var model = compilation.GetSemanticModel(tree);
32899var model = compilation.GetSemanticModel(tree);
32928var model = comp.Compilation.GetSemanticModel(tree);
33013var model = comp.GetSemanticModel(tree);
33082var model = comp.GetSemanticModel(tree);
33127var model = comp.GetSemanticModel(tree);
33191var model = comp.GetSemanticModel(tree);
33457var model = comp.GetSemanticModel(tree);
33498var model = comp.GetSemanticModel(tree);
33561var model = compilation.GetSemanticModel(tree);
33644var model = compilation.GetSemanticModel(tree);
33732var model = compilation.GetSemanticModel(tree);
33830var model = compilation.GetSemanticModel(tree);
33929var model = compilation.GetSemanticModel(tree);
34027var model = compilation.GetSemanticModel(tree);
34100var model = compilation.GetSemanticModel(tree);
34156var model = compilation.GetSemanticModel(tree);
34222var model = compilation.GetSemanticModel(tree);
34349var model = compilation.GetSemanticModel(tree);
34440var model = compilation.GetSemanticModel(tree);
34547var model = compilation.GetSemanticModel(tree);
34668var model = compilation.GetSemanticModel(tree);
34708var model = compilation.GetSemanticModel(tree);
34784var model = compilation.GetSemanticModel(tree);
34839var model = compilation.GetSemanticModel(tree);
34893var model = compilation.GetSemanticModel(tree);
34951var model = compilation.GetSemanticModel(tree);
35001var model = compilation.GetSemanticModel(tree);
35055var model = compilation.GetSemanticModel(tree);
35095var model = compilation.GetSemanticModel(tree);
35129var model = compilation.GetSemanticModel(tree);
35168var model = compilation.GetSemanticModel(tree);
35212var model = compilation.GetSemanticModel(tree);
35243var model = compilation.GetSemanticModel(tree);
35282var model = compilation.GetSemanticModel(tree);
35314var model = compilation.GetSemanticModel(tree);
35350var model = compilation.GetSemanticModel(tree);
35389var model = compilation.GetSemanticModel(tree);
35419var model = compilation.GetSemanticModel(tree);
35456var model = compilation.GetSemanticModel(tree);
35508var model = compilation.GetSemanticModel(tree);
35513Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef[0]).Type.ToTestDisplayString());
35613var model = comp.GetSemanticModel(tree);
35648var model = comp.GetSemanticModel(tree);
35727var model = compilation.GetSemanticModel(tree);
35769var model = compilation.GetSemanticModel(tree);
35798var model = compilation.GetSemanticModel(tree);
35844var model = compilation.GetSemanticModel(tree);
35932var model = compilation.GetSemanticModel(tree);
36072var model = compilation.GetSemanticModel(tree);
36180var model = compilation.GetSemanticModel(tree);
36273var model = compilation.GetSemanticModel(tree);
36312var model = comp.GetSemanticModel(tree);
36358var model = comp.GetSemanticModel(tree);
36398var model = comp.GetSemanticModel(tree);
36440var model = comp.GetSemanticModel(tree);
36475var model = comp.GetSemanticModel(tree);
36513var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests_Scope.cs (132)
203var model = compilation.GetSemanticModel(tree);
284var model = compilation.GetSemanticModel(tree);
330var model = compilation.GetSemanticModel(tree);
371var model = compilation.GetSemanticModel(tree);
401var model = compilation.GetSemanticModel(tree);
588var model = compilation.GetSemanticModel(tree);
676var model = compilation.GetSemanticModel(tree);
706var model = compilation.GetSemanticModel(tree);
858var model = compilation.GetSemanticModel(tree);
945var model = compilation.GetSemanticModel(tree);
975var model = compilation.GetSemanticModel(tree);
1156var model = compilation.GetSemanticModel(tree);
1249var model = compilation.GetSemanticModel(tree);
1279var model = compilation.GetSemanticModel(tree);
1519var model = compilation.GetSemanticModel(tree);
1819var model = compilation.GetSemanticModel(tree);
2070var model = compilation.GetSemanticModel(tree);
2216var model = compilation.GetSemanticModel(tree);
2352var model = compilation.GetSemanticModel(tree);
2417var model = compilation.GetSemanticModel(tree);
2480var model = compilation.GetSemanticModel(tree);
2550var model = compilation.GetSemanticModel(tree);
2706var model = compilation.GetSemanticModel(tree);
2789var model = compilation.GetSemanticModel(tree);
2985var model = compilation.GetSemanticModel(tree);
3154var model = compilation.GetSemanticModel(tree);
3269var model = compilation.GetSemanticModel(tree);
3358var model = compilation.GetSemanticModel(tree);
3446var model = compilation.GetSemanticModel(tree);
3533var model = compilation.GetSemanticModel(tree);
3609var model = compilation.GetSemanticModel(tree);
3706var model = compilation.GetSemanticModel(tree);
3797var model = compilation.GetSemanticModel(tree);
3887var model = compilation.GetSemanticModel(tree);
3979var model = compilation.GetSemanticModel(tree);
4075var model = compilation.GetSemanticModel(tree);
4221var model = compilation.GetSemanticModel(tree);
4503var model = compilation.GetSemanticModel(tree);
4903var model = compilation.GetSemanticModel(tree);
5212var model = compilation.GetSemanticModel(tree);
5305var model = compilation.GetSemanticModel(tree);
5335var model = compilation.GetSemanticModel(tree);
5500var model = compilation.GetSemanticModel(tree);
5707var model = compilation.GetSemanticModel(tree);
5914var model = compilation.GetSemanticModel(tree);
6023var model = compilation.GetSemanticModel(tree);
6104var model = compilation.GetSemanticModel(tree);
6187var model = compilation.GetSemanticModel(tree);
6274var model = compilation.GetSemanticModel(tree);
6348var model = compilation.GetSemanticModel(tree);
6418var model = compilation.GetSemanticModel(tree);
6465var model = compilation.GetSemanticModel(tree);
6518var model = compilation.GetSemanticModel(tree);
6588var model = compilation.GetSemanticModel(tree);
6677var model = compilation.GetSemanticModel(tree);
6753var model = compilation.GetSemanticModel(tree);
6828var model = compilation.GetSemanticModel(tree);
6878var model = compilation.GetSemanticModel(tree);
6928var model = compilation.GetSemanticModel(tree);
7085var model = compilation.GetSemanticModel(tree);
7175var model = compilation.GetSemanticModel(tree);
7205var model = compilation.GetSemanticModel(tree);
7407var model = compilation.GetSemanticModel(tree);
7498var model = compilation.GetSemanticModel(tree);
7528var model = compilation.GetSemanticModel(tree);
7722var model = compilation.GetSemanticModel(tree);
7951var model = compilation.GetSemanticModel(tree);
8201var model = compilation.GetSemanticModel(tree);
8441var model = compilation.GetSemanticModel(tree);
8673var model = compilation.GetSemanticModel(tree);
8989var model = compilation.GetSemanticModel(tree);
9132var model = compilation.GetSemanticModel(tree);
9304var model = compilation.GetSemanticModel(tree);
9513var model = compilation.GetSemanticModel(tree);
9604var model = compilation.GetSemanticModel(tree);
9634var model = compilation.GetSemanticModel(tree);
9799var model = compilation.GetSemanticModel(tree);
9928var model = compilation.GetSemanticModel(tree);
10076var model = compilation.GetSemanticModel(tree);
10164var model = compilation.GetSemanticModel(tree);
10197var model = compilation.GetSemanticModel(tree);
10366var model = compilation.GetSemanticModel(tree);
10587var model = compilation.GetSemanticModel(tree);
10683var model = compilation.GetSemanticModel(tree);
10713var model = compilation.GetSemanticModel(tree);
11000var model = compilation.GetSemanticModel(tree);
11130var model = compilation.GetSemanticModel(tree);
11178var model = compilation.GetSemanticModel(tree);
11228var model = compilation.GetSemanticModel(tree);
11271var model = compilation.GetSemanticModel(tree);
11314var model = compilation.GetSemanticModel(tree);
11360var model = compilation.GetSemanticModel(tree);
11403var model = compilation.GetSemanticModel(tree);
11451Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString());
11454Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(zRef).Type.ToTestDisplayString());
11497Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString());
11500Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString());
11503Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(zRef).Type.ToTestDisplayString());
11549Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString());
11556Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString());
11612Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString());
11615Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString());
11667Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(y1Ref).Type.ToTestDisplayString());
11670Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z0Ref).Type.ToTestDisplayString());
11673Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(z1Ref).Type.ToTestDisplayString());
11727Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(y1Ref).Type.ToTestDisplayString());
11730Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z0Ref).Type.ToTestDisplayString());
11733Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z1Ref).Type.ToTestDisplayString());
11736Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(z2Ref).Type.ToTestDisplayString());
11805var model = compilation.GetSemanticModel(tree);
11902var model = compilation.GetSemanticModel(tree);
11991var model = compilation.GetSemanticModel(tree);
12089var model = compilation.GetSemanticModel(tree);
12140var model = compilation.GetSemanticModel(tree);
12202var model = compilation.GetSemanticModel(tree);
12246var model = compilation.GetSemanticModel(tree);
12254model = compilation.GetSemanticModel(tree);
12441var model = compilation.GetSemanticModel(tree);
12594var model = compilation.GetSemanticModel(tree);
12784var model = compilation.GetSemanticModel(tree);
12905var model = compilation.GetSemanticModel(tree);
12997var model = compilation.GetSemanticModel(tree);
13179var model = compilation.GetSemanticModel(tree);
13322var model = compilation.GetSemanticModel(tree);
13396var model = compilation.GetSemanticModel(tree);
13484var model = compilation.GetSemanticModel(tree);
13561var model = compilation.GetSemanticModel(tree);
13640var model = compilation.GetSemanticModel(tree);
13707var model = compilation.GetSemanticModel(tree);
13737var model = compilation.GetSemanticModel(tree);
13772var model = comp.GetSemanticModel(tree);
13969var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (35)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1046)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (953)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Features.UnitTests (3)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (23)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.ContextualOptions (2)
Microsoft.Gen.Logging (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Mvc.Api.Analyzers.Test (4)
System.Private.CoreLib.Generators (1)
System.Windows.Forms.PrivateSourceGenerators (1)