3543 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 (1)
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 (1122)
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);
21037var model = compilation.GetSemanticModel(tree);
21132var model = compilation.GetSemanticModel(tree);
21236var model = compilation.GetSemanticModel(tree);
21293var model = compilation.GetSemanticModel(tree);
21361var model = compilation.GetSemanticModel(tree);
21411var model = compilation.GetSemanticModel(tree);
21419model = compilation.GetSemanticModel(tree);
21645var model = compilation.GetSemanticModel(tree);
21818var model = compilation.GetSemanticModel(tree);
22012var model = compilation.GetSemanticModel(tree);
22139var model = compilation.GetSemanticModel(tree);
22237var model = compilation.GetSemanticModel(tree);
22425var model = compilation.GetSemanticModel(tree);
22580var model = compilation.GetSemanticModel(tree);
22659var model = compilation.GetSemanticModel(tree);
22782var model = compilation.GetSemanticModel(tree);
22864var model = compilation.GetSemanticModel(tree);
22948var model = compilation.GetSemanticModel(tree);
23015var model = compilation.GetSemanticModel(tree);
23054var model = compilation.GetSemanticModel(tree);
23210var model = compilation.GetSemanticModel(tree);
23304var model = compilation.GetSemanticModel(tree);
23394var model = compilation.GetSemanticModel(tree);
23442var model = compilation.GetSemanticModel(tree);
23475var model = compilation.GetSemanticModel(tree);
23526var model = compilation.GetSemanticModel(tree);
23670var model = compilation.GetSemanticModel(tree);
23768var model = compilation.GetSemanticModel(tree);
23866var model = compilation.GetSemanticModel(tree);
24008var model = compilation.GetSemanticModel(tree);
24112var model = compilation.GetSemanticModel(tree);
24207var model = compilation.GetSemanticModel(tree);
24295var model = compilation.GetSemanticModel(tree);
24401var model = compilation.GetSemanticModel(tree);
24494var model = compilation.GetSemanticModel(tree);
24525var model = compilation.GetSemanticModel(tree);
24727var model = compilation.GetSemanticModel(tree);
24986var model = compilation.GetSemanticModel(tree);
25177var model = compilation.GetSemanticModel(tree);
25290var model = compilation.GetSemanticModel(tree);
25389var model = compilation.GetSemanticModel(tree);
25568var model = compilation.GetSemanticModel(tree);
25612var model = compilation.GetSemanticModel(tree);
25693var model = compilation.GetSemanticModel(tree);
25737var model = compilation.GetSemanticModel(tree);
25792var model = compilation.GetSemanticModel(tree);
25873var model = compilation.GetSemanticModel(tree);
25933var model = compilation.GetSemanticModel(tree);
26030var model = compilation.GetSemanticModel(tree);
26087var model = compilation.GetSemanticModel(tree);
26154var model = compilation.GetSemanticModel(tree);
26202var model = compilation.GetSemanticModel(tree);
26283var model = compilation.GetSemanticModel(tree);
26330var model = compilation.GetSemanticModel(tree);
26425var model = compilation.GetSemanticModel(tree);
26431Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString());
26473var model = compilation.GetSemanticModel(tree);
26557var model = compilation.GetSemanticModel(tree);
26617var model = compilation.GetSemanticModel(tree);
26701var model = compilation.GetSemanticModel(tree);
26761var model = compilation.GetSemanticModel(tree);
26822var model = compilation.GetSemanticModel(tree);
26892var model = compilation.GetSemanticModel(tree);
26936var model = compilation.GetSemanticModel(tree);
27022var model = compilation.GetSemanticModel(tree);
27028Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString());
27067var model = compilation.GetSemanticModel(tree);
27159var model = compilation.GetSemanticModel(tree);
27213var model = compilation.GetSemanticModel(tree);
27312var model = compilation.GetSemanticModel(tree);
27366var model = compilation.GetSemanticModel(tree);
27435var model = compilation.GetSemanticModel(tree);
27512var model = compilation.GetSemanticModel(tree);
27585var model = compilation.GetSemanticModel(tree);
27689var model = compilation.GetSemanticModel(tree);
27762var model = compilation.GetSemanticModel(tree);
27825var model = compilation.GetSemanticModel(tree);
27902var model = compilation.GetSemanticModel(tree);
27975var model = compilation.GetSemanticModel(tree);
28080var model = compilation.GetSemanticModel(tree);
28153var model = compilation.GetSemanticModel(tree);
28226var model = compilation.GetSemanticModel(tree);
28301var model = compilation.GetSemanticModel(tree);
28355var model = compilation.GetSemanticModel(tree);
28452var model = compilation.GetSemanticModel(tree);
28506var model = compilation.GetSemanticModel(tree);
28573var model = compilation.GetSemanticModel(tree);
28621var model = compilation.GetSemanticModel(tree);
28705var model = compilation.GetSemanticModel(tree);
28766var model = compilation.GetSemanticModel(tree);
28873var model = compilation.GetSemanticModel(tree);
28929var model = compilation.GetSemanticModel(tree);
29024var model = compilation.GetSemanticModel(tree);
29080var model = compilation.GetSemanticModel(tree);
29145var model = compilation.GetSemanticModel(tree);
29231var model = compilation.GetSemanticModel(tree);
29298var model = compilation.GetSemanticModel(tree);
29407var model = compilation.GetSemanticModel(tree);
29474var model = compilation.GetSemanticModel(tree);
29547var model = compilation.GetSemanticModel(tree);
29596var model = compilation.GetSemanticModel(tree);
29694var model = compilation.GetSemanticModel(tree);
29770var model = compilation.GetSemanticModel(tree);
29895var model = compilation.GetSemanticModel(tree);
29971var model = compilation.GetSemanticModel(tree);
30049var model = compilation.GetSemanticModel(tree);
30135var model = compilation.GetSemanticModel(tree);
30196var model = compilation.GetSemanticModel(tree);
30307var model = compilation.GetSemanticModel(tree);
30368var model = compilation.GetSemanticModel(tree);
30432var model = compilation.GetSemanticModel(tree);
30487var model = compilation.GetSemanticModel(tree);
30531var model = compilation.GetSemanticModel(tree);
30575var model = compilation.GetSemanticModel(tree);
30616var model = compilation.GetSemanticModel(tree);
30696var model = compilation.GetSemanticModel(tree);
30765var model = compilation.GetSemanticModel(tree);
30867var model = compilation.GetSemanticModel(tree);
30936var model = compilation.GetSemanticModel(tree);
31000var model = compilation.GetSemanticModel(tree);
31055var model = compilation.GetSemanticModel(tree);
31099var model = compilation.GetSemanticModel(tree);
31143var model = compilation.GetSemanticModel(tree);
31227var model = compilation.GetSemanticModel(tree);
31286var model = compilation.GetSemanticModel(tree);
31400var model = compilation.GetSemanticModel(tree);
31459var model = compilation.GetSemanticModel(tree);
31528var model = compilation.GetSemanticModel(tree);
31583var model = compilation.GetSemanticModel(tree);
31627var model = compilation.GetSemanticModel(tree);
31671var model = compilation.GetSemanticModel(tree);
31712var model = compilation.GetSemanticModel(tree);
31766var model = compilation.GetSemanticModel(tree);
31800var model = compilation.GetSemanticModel(tree);
31853var model = compilation.GetSemanticModel(tree);
31893var model = compilation.GetSemanticModel(tree);
31943var model = compilation.GetSemanticModel(tree);
31977var model = compilation.GetSemanticModel(tree);
32033var model = compilation.GetSemanticModel(tree);
32073var model = compilation.GetSemanticModel(tree);
32118var model = compilation.GetSemanticModel(tree);
32162var model = compilation.GetSemanticModel(tree);
32196var model = compilation.GetSemanticModel(tree);
32230var model = compilation.GetSemanticModel(tree);
32270var model = compilation.GetSemanticModel(tree);
32310var model = compilation.GetSemanticModel(tree);
32328model = compilation.GetSemanticModel(tree);
32365var model = compilation.GetSemanticModel(tree);
32381model = compilation.GetSemanticModel(tree);
32434var model = compilation.GetSemanticModel(tree);
32481var model = compilation.GetSemanticModel(tree);
32520var model = compilation.GetSemanticModel(tree);
32547var model = compilation.GetSemanticModel(tree);
32575var model = compilation.GetSemanticModel(tree);
32603var model = compilation.GetSemanticModel(tree);
32629var model = compilation.GetSemanticModel(tree);
32667var model = compilation.GetSemanticModel(tree);
32703var model = compilation.GetSemanticModel(tree);
32947var model = compilation.GetSemanticModel(tree);
32976var model = comp.Compilation.GetSemanticModel(tree);
33061var model = comp.GetSemanticModel(tree);
33130var model = comp.GetSemanticModel(tree);
33175var model = comp.GetSemanticModel(tree);
33239var model = comp.GetSemanticModel(tree);
33505var model = comp.GetSemanticModel(tree);
33546var model = comp.GetSemanticModel(tree);
33609var model = compilation.GetSemanticModel(tree);
33692var model = compilation.GetSemanticModel(tree);
33780var model = compilation.GetSemanticModel(tree);
33878var model = compilation.GetSemanticModel(tree);
33977var model = compilation.GetSemanticModel(tree);
34075var model = compilation.GetSemanticModel(tree);
34148var model = compilation.GetSemanticModel(tree);
34204var model = compilation.GetSemanticModel(tree);
34270var model = compilation.GetSemanticModel(tree);
34397var model = compilation.GetSemanticModel(tree);
34488var model = compilation.GetSemanticModel(tree);
34595var model = compilation.GetSemanticModel(tree);
34716var model = compilation.GetSemanticModel(tree);
34756var model = compilation.GetSemanticModel(tree);
34832var model = compilation.GetSemanticModel(tree);
34887var model = compilation.GetSemanticModel(tree);
34941var model = compilation.GetSemanticModel(tree);
34999var model = compilation.GetSemanticModel(tree);
35049var model = compilation.GetSemanticModel(tree);
35103var model = compilation.GetSemanticModel(tree);
35143var model = compilation.GetSemanticModel(tree);
35177var model = compilation.GetSemanticModel(tree);
35216var model = compilation.GetSemanticModel(tree);
35260var model = compilation.GetSemanticModel(tree);
35291var model = compilation.GetSemanticModel(tree);
35330var model = compilation.GetSemanticModel(tree);
35362var model = compilation.GetSemanticModel(tree);
35398var model = compilation.GetSemanticModel(tree);
35437var model = compilation.GetSemanticModel(tree);
35467var model = compilation.GetSemanticModel(tree);
35504var model = compilation.GetSemanticModel(tree);
35556var model = compilation.GetSemanticModel(tree);
35561Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef[0]).Type.ToTestDisplayString());
35661var model = comp.GetSemanticModel(tree);
35696var model = comp.GetSemanticModel(tree);
35775var model = compilation.GetSemanticModel(tree);
35817var model = compilation.GetSemanticModel(tree);
35846var model = compilation.GetSemanticModel(tree);
35892var model = compilation.GetSemanticModel(tree);
35980var model = compilation.GetSemanticModel(tree);
36120var model = compilation.GetSemanticModel(tree);
36228var model = compilation.GetSemanticModel(tree);
36321var model = compilation.GetSemanticModel(tree);
36360var model = comp.GetSemanticModel(tree);
36406var model = comp.GetSemanticModel(tree);
36446var model = comp.GetSemanticModel(tree);
36488var model = comp.GetSemanticModel(tree);
36523var model = comp.GetSemanticModel(tree);
36561var 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);
12475var model = compilation.GetSemanticModel(tree);
12642var model = compilation.GetSemanticModel(tree);
12833var model = compilation.GetSemanticModel(tree);
12954var model = compilation.GetSemanticModel(tree);
13046var model = compilation.GetSemanticModel(tree);
13228var model = compilation.GetSemanticModel(tree);
13371var model = compilation.GetSemanticModel(tree);
13445var model = compilation.GetSemanticModel(tree);
13533var model = compilation.GetSemanticModel(tree);
13610var model = compilation.GetSemanticModel(tree);
13689var model = compilation.GetSemanticModel(tree);
13756var model = compilation.GetSemanticModel(tree);
13786var model = compilation.GetSemanticModel(tree);
13821var model = comp.GetSemanticModel(tree);
14018var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (35)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1048)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (966)
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 (2)
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)