147 implementations of
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.Build (9)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.Collections.Package (5)
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Threading.Package (5)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Maui.Controls (1)
MSBuild (1)
Roslyn.Diagnostics.Analyzers (5)
Shared (1)
Shared.Tests (2)
System.Collections (3)
System.Collections.Immutable (5)
System.Formats.Nrbf (1)
System.Net.Http (2)
System.Net.WebSockets.Client (1)
System.Private.CoreLib (4)
System.Security.Cryptography.Cose (1)
System.Text.RegularExpressions (1)
Text.Analyzers (5)
957 references to
AzureFunctionsEndToEnd.Functions (1)
dotnet-format (1)
dotnet-watch (1)
InMemory.FunctionalTests (21)
KestrelMetricsTests.cs (19)
97Assert.Equal("value!", (string)m.Tags["custom"]);
385Assert.Equal("value!", (string)m.Tags["custom"]);
752Assert.Equal("1.2", (string)m.Tags["tls.protocol.version"]);
760Assert.Equal("http", (string)measurement.Tags["network.protocol.name"]);
761Assert.Equal(httpVersion, (string)measurement.Tags["network.protocol.version"]);
912Assert.Equal(typeof(AuthenticationException).FullName, (string)m.Tags["error.type"]);
933Assert.Equal(networkTransport, (string)measurement.Tags["network.transport"]);
934Assert.Equal(localAddress, (string)measurement.Tags["server.address"]);
937Assert.Equal(localPort, (int)measurement.Tags["server.port"]);
945Assert.Equal(networkType, (string)measurement.Tags["network.type"]);
953Assert.Equal("http", (string)measurement.Tags["network.protocol.name"]);
954Assert.Equal(httpVersion, (string)measurement.Tags["network.protocol.version"]);
963Assert.Equal(tlsProtocolVersion, (string)measurement.Tags["tls.protocol.version"]);
971Assert.Equal(error, (string)measurement.Tags["error.type"]);
981throw new Exception($"Connection has unexpected error.type value: {measurement.Tags["error.type"]}", ex);
989Assert.Equal(networkTransport, (string)measurement.Tags["network.transport"]);
990Assert.Equal(localAddress, (string)measurement.Tags["server.address"]);
993Assert.Equal(localPort, (int)measurement.Tags["server.port"]);
1001Assert.Equal(networkType, (string)measurement.Tags["network.type"]);
Interop.FunctionalTests (14)
Metrics (2)
Metrics.Legacy (2)
Microsoft.AspNetCore.Authentication.Test (21)
AuthenticationMetricsTest.cs (21)
38Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
39Assert.Equal("success", (string)measurement.Tags["aspnetcore.authentication.result"]);
66Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
67Assert.Equal("failure", (string)measurement.Tags["aspnetcore.authentication.result"]);
68Assert.Equal("Microsoft.AspNetCore.Authentication.AuthenticationFailureException", (string)measurement.Tags["error.type"]);
94Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
95Assert.Equal("none", (string)measurement.Tags["aspnetcore.authentication.result"]);
123Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
124Assert.Equal("System.InvalidOperationException", (string)measurement.Tags["error.type"]);
148Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
175Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
176Assert.Equal("System.InvalidOperationException", (string)measurement.Tags["error.type"]);
199Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
226Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
227Assert.Equal("System.InvalidOperationException", (string)measurement.Tags["error.type"]);
250Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
277Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
278Assert.Equal("System.InvalidOperationException", (string)measurement.Tags["error.type"]);
301Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
328Assert.Equal("custom", (string)measurement.Tags["aspnetcore.authentication.scheme"]);
329Assert.Equal("System.InvalidOperationException", (string)measurement.Tags["error.type"]);
Microsoft.AspNetCore.Authorization.Test (15)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Microsoft.AspNetCore.Components.Server.Tests (6)
Microsoft.AspNetCore.Components.Web.Tests (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Microsoft.AspNetCore.Diagnostics.Tests (20)
Microsoft.AspNetCore.HeaderParsing.Tests (4)
Microsoft.AspNetCore.Hosting.Tests (36)
HostingApplicationDiagnosticsTests.cs (32)
263Assert.Equal("http", m.Tags["url.scheme"]);
264Assert.Equal("POST", m.Tags["http.request.method"]);
279Assert.Equal("http", m.Tags["url.scheme"]);
280Assert.Equal("POST", m.Tags["http.request.method"]);
285Assert.Equal("http", m.Tags["url.scheme"]);
286Assert.Equal("POST", m.Tags["http.request.method"]);
322Assert.Equal("http", m.Tags["url.scheme"]);
323Assert.Equal("POST", m.Tags["http.request.method"]);
338Assert.Equal("http", m.Tags["url.scheme"]);
339Assert.Equal("POST", m.Tags["http.request.method"]);
344Assert.Equal("http", m.Tags["url.scheme"]);
345Assert.Equal("POST", m.Tags["http.request.method"]);
351Assert.Equal("hello/{name}", m.Tags["http.route"]);
387Assert.Equal("http", m.Tags["url.scheme"]);
388Assert.Equal("POST", m.Tags["http.request.method"]);
403Assert.Equal("http", m.Tags["url.scheme"]);
404Assert.Equal("POST", m.Tags["http.request.method"]);
409Assert.Equal("http", m.Tags["url.scheme"]);
410Assert.Equal("POST", m.Tags["http.request.method"]);
416Assert.Equal("/", m.Tags["http.route"]);
447Assert.Equal("http", m.Tags["url.scheme"]);
448Assert.Equal("POST", m.Tags["http.request.method"]);
463Assert.Equal("http", m.Tags["url.scheme"]);
464Assert.Equal("POST", m.Tags["http.request.method"]);
469Assert.Equal("http", m.Tags["url.scheme"]);
470Assert.Equal("POST", m.Tags["http.request.method"]);
502Assert.Equal("http", m.Tags["url.scheme"]);
503Assert.Equal("POST", m.Tags["http.request.method"]);
518Assert.Equal("http", m.Tags["url.scheme"]);
519Assert.Equal("POST", m.Tags["http.request.method"]);
524Assert.Equal("http", m.Tags["url.scheme"]);
525Assert.Equal("POST", m.Tags["http.request.method"]);
Microsoft.AspNetCore.Http.Connections.Tests (3)
Microsoft.AspNetCore.Mvc.Core.Test (18)
Routing\ActionEndpointFactoryTest.cs (13)
150Assert.Equal("TestController", endpoint.RoutePattern.RequiredValues["controller"]);
151Assert.Equal("TestAction", endpoint.RoutePattern.RequiredValues["action"]);
152Assert.Equal("TestController", endpoint.RoutePattern.Defaults["controller"]);
185Assert.Equal("TESTACTION", endpoint.RoutePattern.Defaults["action"]);
187Assert.Equal("TestAction", endpoint.RoutePattern.RequiredValues["action"]);
233Assert.Equal("TestController", endpoint.RoutePattern.RequiredValues["controller"]);
234Assert.Equal("TestAction", endpoint.RoutePattern.RequiredValues["action"]);
251Assert.Equal("TestController", endpoint.RoutePattern.RequiredValues["controller"]);
252Assert.Equal("TestAction", endpoint.RoutePattern.RequiredValues["action"]);
348Assert.Equal("Index", matcherEndpoint.RoutePattern.RequiredValues["action"]);
349Assert.Equal("Home", matcherEndpoint.RoutePattern.RequiredValues["controller"]);
356Assert.Equal("Index", matcherEndpoint.RoutePattern.RequiredValues["action"]);
357Assert.Equal("Home", matcherEndpoint.RoutePattern.RequiredValues["controller"]);
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
Microsoft.AspNetCore.RateLimiting.Tests (4)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Routing.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
Microsoft.Build (3)
Microsoft.Build.BuildCheck.UnitTests (7)
Microsoft.Build.Engine.OM.UnitTests (32)
Construction\SolutionFile_Tests.cs (32)
602Assert.Equal("Debug|AnyCPU", csharpProject.ProjectConfigurations["Debug|Any CPU"].FullName);
603Assert.True(csharpProject.ProjectConfigurations["Debug|Any CPU"].IncludeInBuild);
605Assert.Equal("Release|AnyCPU", csharpProject.ProjectConfigurations["Debug|Mixed Platforms"].FullName);
606Assert.True(csharpProject.ProjectConfigurations["Debug|Mixed Platforms"].IncludeInBuild);
608Assert.Equal("Debug|AnyCPU", csharpProject.ProjectConfigurations["Debug|Win32"].FullName);
609Assert.False(csharpProject.ProjectConfigurations["Debug|Win32"].IncludeInBuild);
611Assert.Equal("Release|AnyCPU", csharpProject.ProjectConfigurations["Release|Any CPU"].FullName);
612Assert.True(csharpProject.ProjectConfigurations["Release|Any CPU"].IncludeInBuild);
614Assert.Equal("Release|AnyCPU", csharpProject.ProjectConfigurations["Release|Mixed Platforms"].FullName);
615Assert.True(csharpProject.ProjectConfigurations["Release|Mixed Platforms"].IncludeInBuild);
617Assert.Equal("Release|AnyCPU", csharpProject.ProjectConfigurations["Release|Win32"].FullName);
618Assert.False(csharpProject.ProjectConfigurations["Release|Win32"].IncludeInBuild);
622Assert.Equal("Debug|Win32", vcProject.ProjectConfigurations["Debug|Any CPU"].FullName);
623Assert.False(vcProject.ProjectConfigurations["Debug|Any CPU"].IncludeInBuild);
625Assert.Equal("Debug|Win32", vcProject.ProjectConfigurations["Debug|Mixed Platforms"].FullName);
626Assert.True(vcProject.ProjectConfigurations["Debug|Mixed Platforms"].IncludeInBuild);
628Assert.Equal("Debug|Win32", vcProject.ProjectConfigurations["Debug|Win32"].FullName);
629Assert.True(vcProject.ProjectConfigurations["Debug|Win32"].IncludeInBuild);
631Assert.Equal("Release|Win32", vcProject.ProjectConfigurations["Release|Any CPU"].FullName);
632Assert.False(vcProject.ProjectConfigurations["Release|Any CPU"].IncludeInBuild);
634Assert.Equal("Release|Win32", vcProject.ProjectConfigurations["Release|Mixed Platforms"].FullName);
635Assert.True(vcProject.ProjectConfigurations["Release|Mixed Platforms"].IncludeInBuild);
637Assert.Equal("Release|Win32", vcProject.ProjectConfigurations["Release|Win32"].FullName);
638Assert.True(vcProject.ProjectConfigurations["Release|Win32"].IncludeInBuild);
688Assert.Equal("Debug|x86", winFormsApp1.ProjectConfigurations["Debug|Win32"].FullName);
689Assert.True(winFormsApp1.ProjectConfigurations["Debug|Win32"].IncludeInBuild);
691Assert.Equal("Release|x86", winFormsApp1.ProjectConfigurations["Release|Win32"].FullName);
692Assert.True(winFormsApp1.ProjectConfigurations["Debug|Win32"].IncludeInBuild);
696Assert.Equal("Debug|AnyCPU", classLibrary1.ProjectConfigurations["Debug|Any CPU"].FullName);
697Assert.False(classLibrary1.ProjectConfigurations["Debug|Any CPU"].IncludeInBuild);
699Assert.Equal("Release|AnyCPU", classLibrary1.ProjectConfigurations["Release|Any CPU"].FullName);
700Assert.False(classLibrary1.ProjectConfigurations["Release|Any CPU"].IncludeInBuild);
Microsoft.Build.Engine.UnitTests (130)
Graph\ProjectGraph_Tests.cs (76)
930targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
931targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "B" });
932targetLists[GetFirstNodeWithProjectNumber(projectGraph, 3)].ShouldBe(new[] { "B" });
933targetLists[GetFirstNodeWithProjectNumber(projectGraph, 4)].ShouldBe(new[] { "C", "D" }); // From B => C and B => D
958targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
959targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "B", "X", "C" });
960targetLists[GetFirstNodeWithProjectNumber(projectGraph, 3)].ShouldBe(new[] { "X", "Y", "Z" }); // Simplified from X, Y, X, Z
989targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
990targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "B" });
991targetLists[GetFirstNodeWithProjectNumber(projectGraph, 3)].ShouldBe(new[] { "B" });
992targetLists[GetFirstNodeWithProjectNumber(projectGraph, 4)].ShouldBe(new[] { "C" });
993targetLists[GetFirstNodeWithProjectNumber(projectGraph, 5)].ShouldBe(new[] { "B", "C", "D" });
994targetLists[GetFirstNodeWithProjectNumber(projectGraph, 6)].ShouldBe(new[] { "C", "D", "E" });
1011targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
1012targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "B" });
1029targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "Foo" });
1030targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBeEmpty();
1052targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBeEmpty();
1053targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBeEmpty();
1075targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
1076targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBeEmpty();
1119targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
1120targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(NonOuterBuildTargets);
1160targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
1161targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(NonOuterBuildTargets);
1199targetLists[root].ShouldBe(new[] { "A" });
1200targetLists[outerBuild].ShouldBe(OuterBuildTargets);
1204targetLists[innerBuild].ShouldBe(NonOuterBuildTargets);
1264targetLists[rootOuterBuild].ShouldBe(new[] { "A" });
1268targetLists[innerBuild].ShouldBe(new[] { "D1", "A", "AOuter", "AInner" });
1271targetLists[GetFirstNodeWithProjectNumber(graph, 2)].ShouldBe(new[] { "T2", "A", "AOuter", "AInner" });
1273targetLists[nonRootOuterBuild].ShouldBe(new[] { "T3", "A", "AOuter" });
1277targetLists[innerBuild].ShouldBe(new[] { "T3", "A", "AOuter", "AInner", "D3" });
1371targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "A" });
1372targetLists[GetFirstNodeWithProjectNumber(projectGraph, 4)].ShouldBe(NonOuterBuildTargets);
1373targetLists[GetFirstNodeWithProjectNumber(projectGraph, 5)].ShouldBe(NonOuterBuildTargets);
1378targetLists[GetOuterBuild(projectGraph, projectNumber)].ShouldBe(outerBuildTargets);
1382targetLists[innerBuild].ShouldBe(nonOuterBuildTargets);
1400targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "A" });
1401targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "B" });
1423targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "Build" });
1424targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "A", "Build" });
1453targetLists[GetFirstNodeWithProjectNumber(projectGraph, 1)].ShouldBe(new[] { "Build" });
1454targetLists[GetFirstNodeWithProjectNumber(projectGraph, 2)].ShouldBe(new[] { "A", "Build" });
1455targetLists[GetFirstNodeWithProjectNumber(projectGraph, 3)].ShouldBe(new[] { "A", "X" });
1456targetLists[GetFirstNodeWithProjectNumber(projectGraph, 4)].ShouldBe(new[] { "A", "Y" });
1457targetLists[GetFirstNodeWithProjectNumber(projectGraph, 5)].ShouldBe(new[] { "A", "Build" });
1458targetLists[GetFirstNodeWithProjectNumber(projectGraph, 6)].ShouldBe(new[] { "B", "Build" });
1459targetLists[GetFirstNodeWithProjectNumber(projectGraph, 7)].ShouldBe(new[] { "C", "Z", "W" });
1510targetLists[key: GetFirstNodeWithProjectNumber(graph: projectGraph, projectNum: 1)].ShouldBe(expected: new[] { "Build" });
1511targetLists[key: GetFirstNodeWithProjectNumber(graph: projectGraph, projectNum: 2)].ShouldBe(expected: new[] { "Build" });
1512targetLists[key: GetFirstNodeWithProjectNumber(graph: projectGraph, projectNum: 3)].ShouldBe(expected: new[] { "Build" });
1513targetLists[key: GetFirstNodeWithProjectNumber(graph: projectGraph, projectNum: 4)].ShouldBe(expected: new[] { "Build" });
1514targetLists[key: GetFirstNodeWithProjectNumber(graph: projectGraph, projectNum: 5)].ShouldBe(expected: new[] { "T51", "T2", "T53", "T54", "T3", "D51", "D52", "T4" });
1554targetLists[key: GetFirstNodeWithProjectNumber(graph: graph, projectNum: 1)].ShouldBe(expected: new[] { "Build" });
1555targetLists[key: GetFirstNodeWithProjectNumber(graph: graph, projectNum: 2)].ShouldBe(expected: new[] { "NonskippableTarget1", "NonskippableTarget2", "SkippableExistingTarget" });
1604targetLists[key: GetFirstNodeWithProjectNumber(graph: graph, projectNum: 1)].ShouldBe(expected: new[] { "Build" });
1605targetLists[key: GetFirstNodeWithProjectNumber(graph: graph, projectNum: 2)].ShouldBe(expected: new[] { "NonskippableTarget1", "SkippableExistingTarget" });
1635targetLists[key: GetOuterBuild(graph, 2)].ShouldBe(expected: OuterBuildTargets.Prepend("A"));
1858var targets = string.Join(".*", targetsPerNode[node]);
2621targetLists[outerBuild1].ShouldBe(new[] { "Build" });
2631targetLists[inner1].ShouldBe(new[] { "BuildForOuterBuild", "Build" });
2635targetLists[outerBuild2].ShouldBe(new[] { "BuildForOuterBuild" });
2643targetLists[inner2].ShouldBe(new[] { "BuildForOuterBuild", "Build", "1ATarget", "1BTarget" });
2647targetLists[outerBuild3].ShouldBe(new[] { "BuildForOuterBuild" });
2660targetLists[inner3]
2703targetLists[project1].ShouldBe(new[] { "SomeDefaultTarget1" });
2704targetLists[project2].ShouldBe(new[] { "SomeDefaultTarget2" });
2745targetLists[project1].ShouldBe(new[] { "SomeDefaultTarget1" });
2746targetLists[project2].ShouldBe(new[] { "SomeDefaultTarget2", "SomeOtherTarget" });
2800targetLists[GetOuterBuild(graph, 1)].ShouldBe(new[] { "Build" });
2803targetLists[inner].ShouldBe(new[] { "Build" });
2806targetLists[GetOuterBuild(graph, 2)].ShouldBe(new[] { "GetTargetFrameworks" });
2810targetLists[inner].ShouldBe(new[] { "GetTargetFrameworks", "GetTargetPath", "GetNativeManifest", "GetTargetFrameworksWithPlatformForSingleTargetFramework" });
2880targetLists[project1Node].ShouldBe(expectedProject1Targets);
2881targetLists[project2Node].ShouldBe(expectedProject2Targets);
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CSharp (8)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Features.UnitTests (11)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (409)
SemanticTokens\SemanticTokensFullTests.cs (12)
420, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
431, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
440, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
450, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], (int)TokenModifiers.Static, // 'C'
460, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
470, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
550, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
561, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
570, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
580, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], (int)TokenModifiers.Static, // 'C'
590, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
600, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
SemanticTokens\SemanticTokensRangesTests.cs (12)
420, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
431, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
440, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
450, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], (int)TokenModifiers.Static, // 'C'
460, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
470, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
550, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
561, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
570, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
580, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], (int)TokenModifiers.Static, // 'C'
590, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
600, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
SemanticTokens\SemanticTokensRangeTests.cs (385)
460, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
471, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
480, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
490, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], (int)TokenModifiers.Static, // 'C'
500, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
510, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
590, 0, 10, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '// Comment'
601, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
610, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
620, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], (int)TokenModifiers.Static, // 'C'
630, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
640, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
13812, 0, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
1390, 4, 1, tokenTypeToIndex[ClassificationTypeNames.LocalName], 0, // 'z'
1400, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
1410, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Number], 0, // '1'
1420, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
14316, 3, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
1440, 4, 1, tokenTypeToIndex[ClassificationTypeNames.LocalName], 0, // 'x'
1450, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
15312, 0, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'var'
1540, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Variable], 0, // 'z'
1550, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
1560, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Number], 0, // '1'
1570, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
15816, 3, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'var'
1590, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Variable], 0, // 'x'
1600, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
1941, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
1950, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
1960, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], (int)TokenModifiers.Static, // 'C'
1970, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
1980, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
2061, 0, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'static'
2070, 7, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
2080, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], (int)TokenModifiers.Static, // 'C'
2090, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
2100, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
2460, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
2470, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'C'
2480, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
2490, 2, 6, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '/* one'
2502, 0, 3, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // 'two'
2511, 0, 8, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // 'three */'
2520, 9, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
2600, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
2610, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'C'
2620, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
2630, 2, 6, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // '/* one'
2642, 0, 3, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // 'two'
2651, 0, 8, tokenTypeToIndex[SemanticTokenTypes.Comment], 0, // 'three */'
2660, 9, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
3070, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
3080, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'C'
3091, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
3101, 4, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
3110, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M'
3120, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '('
3130, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')'
3141, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
3151, 8, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
3160, 4, 1, tokenTypeToIndex[ClassificationTypeNames.LocalName], 0, // 'x'
3170, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
3180, 2, 5, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // '@"one'
3191, 0, 4, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // 'two '
3200, 4, 2, tokenTypeToIndex[ClassificationTypeNames.StringEscapeCharacter], 0, // '""'
3211, 0, 6, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // 'three"'
3220, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
3231, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
3241, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
3320, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
3330, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'C'
3341, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
3351, 4, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
3360, 5, 1, tokenTypeToIndex[SemanticTokenTypes.Method], 0, // 'M'
3370, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '('
3380, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')'
3391, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
3401, 8, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'var'
3410, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Variable], 0, // 'x'
3420, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
3430, 2, 5, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '@"one'
3441, 0, 4, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // 'two '
3450, 4, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringEscapeCharacter], 0, // '""'
3461, 0, 6, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // 'three"'
3470, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
3481, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
3491, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
3900, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'using'
3910, 6, 6, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'System'
3920, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
3930, 1, 4, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'Text'
3940, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
3950, 1, 18, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'RegularExpressions'
3960, 18, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
3972, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
3980, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'C'
3991, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
4001, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
4010, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M'
4020, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '('
4030, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')'
4041, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
4051, 2, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
4060, 4, 1, tokenTypeToIndex[ClassificationTypeNames.LocalName], 0, // 'x'
4070, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
4080, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'new'
4090, 4, 5, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'Regex'
4100, 5, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '('
4110, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0, // '"'
4120, 1, 1, tokenTypeToIndex[ClassificationTypeNames.RegexGrouping], 0, // '('
4130, 1, 3, tokenTypeToIndex[ClassificationTypeNames.RegexText], 0, // 'abc'
4140, 3, 1, tokenTypeToIndex[ClassificationTypeNames.RegexGrouping], 0, // ')'
4150, 1, 1, tokenTypeToIndex[ClassificationTypeNames.RegexQuantifier], 0, // '*'
4160, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0, // '"'
4170, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')'
4180, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
4191, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // }
4201, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // }
4280, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'using'
4290, 6, 6, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'System'
4300, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
4310, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'Text'
4320, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
4330, 1, 18, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'RegularExpressions'
4340, 18, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';'
4352, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
4360, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'C'
4371, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
4381, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
4390, 5, 1, tokenTypeToIndex[SemanticTokenTypes.Method], 0, // 'M'
4400, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '('
4410, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')'
4421, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
4431, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'var'
4440, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Variable], 0, // 'x'
4450, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
4460, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'new'
4470, 4, 5, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'Regex'
4480, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '('
4490, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0, // '"'
4500, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // '('
4510, 1, 3, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexText], 0, // 'abc'
4520, 3, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // ')'
4530, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexQuantifier], 0, // '*'
4540, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0, // '"'
4550, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')'
4560, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';'
4571, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // }
4581, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // }
5020, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'using'
5030, 6, 6, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'System'
5040, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5050, 1, 4, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'Text'
5060, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5070, 1, 18, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0, // 'RegularExpressions'
5080, 18, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
5092, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
5100, 6, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'C'
5111, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
5121, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
5130, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M'
5140, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '('
5150, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')'
5161, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{'
5171, 2, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
5180, 4, 1, tokenTypeToIndex[ClassificationTypeNames.LocalName], 0, // 'x'
5190, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
5200, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'new'
5210, 4, 5, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0, // 'Regex'
5220, 5, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '('
5230, 1, 2, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // '@"'
5240, 2, 1, tokenTypeToIndex[ClassificationTypeNames.RegexGrouping], 0, // '('
5250, 1, 3, tokenTypeToIndex[ClassificationTypeNames.RegexText], 0, // 'abc'
5260, 3, 1, tokenTypeToIndex[ClassificationTypeNames.RegexGrouping], 0, // ')'
5270, 1, 1, tokenTypeToIndex[ClassificationTypeNames.RegexQuantifier], 0, // '*'
5280, 1, 1, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // ' '
5290, 1, 9, tokenTypeToIndex[ClassificationTypeNames.RegexComment], 0, // '#comment'
5301, 0, 27, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0, // '"'
5310, 27, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ','
5320, 2, 12, tokenTypeToIndex[ClassificationTypeNames.EnumName], 0, // 'RegexOptions'
5330, 12, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5340, 1, 23, tokenTypeToIndex[ClassificationTypeNames.EnumMemberName], 0, // 'IgnorePatternWhitespace'
5350, 23, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')'
5360, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';'
5371, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // }
5381, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // }
5460, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'using'
5470, 6, 6, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'System'
5480, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5490, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'Text'
5500, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5510, 1, 18, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0, // 'RegularExpressions'
5520, 18, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';'
5532, 0, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'class'
5540, 6, 1, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'C'
5551, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
5561, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'void'
5570, 5, 1, tokenTypeToIndex[SemanticTokenTypes.Method], 0, // 'M'
5580, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '('
5590, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')'
5601, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{'
5611, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'var'
5620, 4, 1, tokenTypeToIndex[SemanticTokenTypes.Variable], 0, // 'x'
5630, 2, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '='
5640, 2, 3, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0, // 'new'
5650, 4, 5, tokenTypeToIndex[SemanticTokenTypes.Class], 0, // 'Regex'
5660, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '('
5670, 1, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '@"'
5680, 2, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // '('
5690, 1, 3, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexText], 0, // 'abc'
5700, 3, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // ')'
5710, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexQuantifier], 0, // '*'
5720, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // ' '
5730, 1, 9, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexComment], 0, // '#comment'
5741, 0, 27, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '"'
5750, 27, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ','
5760, 2, 12, tokenTypeToIndex[SemanticTokenTypes.Enum], 0, // 'RegexOptions'
5770, 12, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0, // '.'
5780, 1, 23, tokenTypeToIndex[SemanticTokenTypes.EnumMember], 0, // 'IgnorePatternWhitespace'
5790, 23, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')'
5800, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';'
5811, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // }
5821, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // }
602var tokenName = schema.TokenTypeMap[expectedClassificationName];
6384, 8, 15, tokenTypeToIndex[SemanticTokenTypes.Comment], 0,
6391, 8, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6400, 6, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6410, 7, 4, tokenTypeToIndex[ClassificationTypeNames.ConstantName], 1,
6420, 5, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0,
6430, 2, 2, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6441, 8, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6450, 5, 1, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6460, 1, 1, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0,
6470, 1, 1, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6480, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
6491, 0, 12, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6500, 12, 2, tokenTypeToIndex[SemanticTokenTypes.Comment], 0,
6511, 0, 8, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6520, 8, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
6530, 1, 1, tokenTypeToIndex[ClassificationTypeNames.VerbatimStringLiteral], 0,
6540, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
6624, 8, 15, tokenTypeToIndex[SemanticTokenTypes.Comment], 0,
6631, 8, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6640, 6, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6650, 7, 4, tokenTypeToIndex[CustomLspSemanticTokenNames.ConstantName], 1,
6660, 5, 1, tokenTypeToIndex[SemanticTokenTypes.Operator], 0,
6670, 2, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6681, 8, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
6690, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6700, 1, 1, tokenTypeToIndex[SemanticTokenTypes.Class], 0,
6710, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6720, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
6731, 0, 12, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6740, 12, 2, tokenTypeToIndex[SemanticTokenTypes.Comment], 0,
6751, 0, 8, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6760, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
6770, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0,
6780, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
7201, 12, 3, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7211, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7220, 4, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7230, 5, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7240, 1, 6, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0,
7250, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7261, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7270, 4, 9, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7280, 9, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7290, 1, 4, tokenTypeToIndex[ClassificationTypeNames.NamespaceName], 0,
7300, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7311, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7320, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7330, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7340, 1, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7350, 5, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7360, 1, 7, tokenTypeToIndex[ClassificationTypeNames.ClassName], 0,
7371, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7380, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7391, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7400, 8, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7410, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7420, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7430, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7440, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7450, 4, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7460, 1, 4, tokenTypeToIndex[ClassificationTypeNames.MethodName], 1,
7470, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7480, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7490, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7500, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7510, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7520, 1, 4, tokenTypeToIndex[ClassificationTypeNames.ParameterName], 0,
7530, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7541, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7550, 8, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7561, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7570, 12, 6, tokenTypeToIndex[ClassificationTypeNames.ControlKeyword], 0,
7580, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7591, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7600, 8, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7611, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7620, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7631, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7640, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7650, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7660, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7670, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7680, 1, 6, tokenTypeToIndex[ClassificationTypeNames.StructName], 0,
7690, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7700, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7710, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7721, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7730, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7740, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7750, 1, 9, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7760, 9, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7770, 1, 4, tokenTypeToIndex[ClassificationTypeNames.InterfaceName], 0,
7780, 4, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7790, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7800, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7811, 0, 7, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7820, 7, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0,
7901, 12, 3, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7911, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7920, 4, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7930, 5, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7940, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0,
7950, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
7961, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7970, 4, 9, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
7980, 9, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
7990, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Namespace], 0,
8000, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8011, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8020, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8030, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8040, 1, 5, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8050, 5, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8060, 1, 7, tokenTypeToIndex[SemanticTokenTypes.Class], 0,
8071, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8080, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8091, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8100, 8, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8110, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8120, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8130, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8140, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8150, 4, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8160, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Method], 1,
8170, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8180, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8190, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8200, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8210, 1, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8220, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Parameter], 0,
8230, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8241, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8250, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8261, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8270, 12, 6, tokenTypeToIndex[CustomLspSemanticTokenNames.KeywordControl], 0,
8280, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8291, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8300, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8311, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8320, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8331, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8340, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8350, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8360, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8370, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8380, 1, 6, tokenTypeToIndex[SemanticTokenTypes.Struct], 0,
8390, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8400, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8410, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8421, 0, 4, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8430, 4, 6, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8440, 6, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8450, 1, 9, tokenTypeToIndex[SemanticTokenTypes.Keyword], 0,
8460, 9, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8470, 1, 4, tokenTypeToIndex[SemanticTokenTypes.Interface], 0,
8480, 4, 1, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8490, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8500, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
8511, 0, 7, tokenTypeToIndex[SemanticTokenTypes.String], 0,
8520, 7, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.UnitTests (9)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Data.Analysis.Tests (8)
Microsoft.DotNet.ApiDiff.Tests (3)
Microsoft.DotNet.Build.Tasks.Packaging (3)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.PackageValidation (1)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.AI.OpenAI.Tests (8)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (2)
Microsoft.Extensions.Resilience.Tests (5)
Microsoft.Extensions.Telemetry.Tests (6)
Microsoft.ML.TensorFlow.Tests (1)
Microsoft.ML.Tokenizers (5)
Microsoft.ML.Tokenizers.Tests (7)
Microsoft.ML.TorchSharp (7)
Microsoft.ML.Vision (5)
Microsoft.NET.Build.Containers (2)
Microsoft.NET.Build.Tests (1)
Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests (1)
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (1)
Microsoft.TemplateEngine.Cli (10)
Microsoft.TemplateEngine.Cli.UnitTests (21)
PresentationBuildTasks (1)
PresentationFramework (1)
Roslyn.Diagnostics.Analyzers (2)
Roslyn.VisualStudio.Next.UnitTests (4)
Shared.Tests (1)
Sockets.FunctionalTests (1)
System.Private.Windows.Core (2)
System.Resources.Extensions (3)
System.Xaml (1)
Test.Utilities (2)
Text.Analyzers (2)
WinFormsControlsTest (1)