Repository Analysis

dotnet/aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

29.8 Moderate AI signal View on GitHub
29.8
Adjusted Score
29.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
37,957
Stars
C#
Language
1,890,253
Lines of Code
13188
Files
10701
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 5113HIGH 140MEDIUM 30LOW 5418

Pattern Findings

10701 matches across 17 categories. Click a row to expand file-level details.

Hallucination Indicators5113 hits · 49874 pts
SeverityFileLineSnippet
CRITICALdocs/Helix.md72D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targe
CRITICALdocs/Helix.md73D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targe
CRITICALdocs/Helix.md74##[error].packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,
CRITICAL…eware/Rewrite/src/PatternSegments/ServerNameSegment.cs12 return context.HttpContext.Request.Host.Host.ToString(CultureInfo.InvariantCulture);
CRITICALsrc/Middleware/HealthChecks/src/PublicAPI.Shipped.txt2~Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext h
CRITICALsrc/Middleware/HealthChecks/src/PublicAPI.Shipped.txt14Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.HealthCheckMiddleware(Microsoft.AspNetCore.Http.Requ
CRITICALsrc/Middleware/HealthChecks/src/PublicAPI.Shipped.txt15Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext! h
CRITICALsrc/Middleware/HealthChecks/src/PublicAPI.Shipped.txt19Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions.HealthCheckOptions() -> void
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs66 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs83 req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.AddHours(-1).ToString("r"));
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs100 req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.ToString("r"));
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs117 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs172 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString(
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs191 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString(
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs219 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
CRITICAL…dleware/StaticFiles/test/UnitTests/RangeHeaderTests.cs246 req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
CRITICALsrc/Middleware/StaticFiles/src/PublicAPI.Shipped.txt66Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions.SharedOptions() -> void
CRITICALsrc/Middleware/StaticFiles/src/PublicAPI.Shipped.txt75Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptionsBase.SharedOptionsBase(Microsoft.AspNetCore.StaticFiles.Inf
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt15Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliBuilder.AngularCliBuilder(string! npmScript) -> void
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt16Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliBuilder.Build(Microsoft.AspNetCore.SpaServices.ISpaBuilder! spaBui
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt22Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerendererBuilder.Build(Microsoft.AspNetCore.SpaServices.ISpaBuilder!
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt43Microsoft.AspNetCore.SpaServices.StaticFiles.SpaStaticFilesOptions.SpaStaticFilesOptions() -> void
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt49static Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddlewareExtensions.UseAngularCliServer(this Microsoft.Asp
CRITICAL…e/Spa/SpaServices.Extensions/src/PublicAPI.Shipped.txt50static Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer.ReactDevelopmentServerMiddlewareExtensions.UseReactDevelo
CRITICAL…eCompression/test/ResponseCompressionMiddlewareTest.cs1325 request.Headers.AcceptEncoding.Add(System.Net.Http.Headers.StringWithQualityHeaderValue.Parse(requestAcceptE
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt5~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next,
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt6~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next,
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt7~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.CorsMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next,
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt8~Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context, Microsoft
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt9~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddDefaultPolicy(Microsoft.AspNetCore.Cors.Infrastructure.CorsPoli
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt10~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddDefaultPolicy(System.Action<Microsoft.AspNetCore.Cors.Infrastru
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt11~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(string name, Microsoft.AspNetCore.Cors.Infrastructure.Co
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt12~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(string name, System.Action<Microsoft.AspNetCore.Cors.Inf
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt13~Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.GetPolicy(string name) -> Microsoft.AspNetCore.Cors.Infrastructure
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt16~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyHeader() -> Microsoft.AspNetCore.Cors.Infrastructure
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt17~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyMethod() -> Microsoft.AspNetCore.Cors.Infrastructure
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt18~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowAnyOrigin() -> Microsoft.AspNetCore.Cors.Infrastructure
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt19~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.AllowCredentials() -> Microsoft.AspNetCore.Cors.Infrastructu
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt20~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Build() -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPoli
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt21~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.CorsPolicyBuilder(Microsoft.AspNetCore.Cors.Infrastructure.C
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt22~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.CorsPolicyBuilder(params string[] origins) -> void
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt23~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.DisallowCredentials() -> Microsoft.AspNetCore.Cors.Infrastru
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt24~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetIsOriginAllowed(System.Func<string, bool> isOriginAllowed
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt25~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetIsOriginAllowedToAllowWildcardSubdomains() -> Microsoft.A
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt26~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.SetPreflightMaxAge(System.TimeSpan preflightMaxAge) -> Micro
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt27~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithExposedHeaders(params string[] exposedHeaders) -> Micros
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt28~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithHeaders(params string[] headers) -> Microsoft.AspNetCore
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt29~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithMethods(params string[] methods) -> Microsoft.AspNetCore
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt30~Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.WithOrigins(params string[] origins) -> Microsoft.AspNetCore
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt34~Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Micr
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt35~Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, stri
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt36~Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt38~Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext conte
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt39~Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsResult r
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt40~Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext context, Mic
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt41~override Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy.ToString() -> string
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt42~override Microsoft.AspNetCore.Cors.Infrastructure.CorsResult.ToString() -> string
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt61~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.ApplyResult(Microsoft.AspNetCore.Cors.Infrastructure.CorsR
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt62~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluatePreflightRequest(Microsoft.AspNetCore.Http.HttpCon
CRITICALsrc/Middleware/CORS/src/PublicAPI.Shipped.txt63~virtual Microsoft.AspNetCore.Cors.Infrastructure.CorsService.EvaluateRequest(Microsoft.AspNetCore.Http.HttpContext cont
5053 more matches not shown…
Over-Commented Block5135 hits · 4972 pts
SeverityFileLineSnippet
LOW.CodeQL.yml1# This file configures CodeQL runs and TSA bug autofiling. For more information, see:
LOWeng/common/SetupNugetSources.sh1#!/usr/bin/env bash
LOWeng/common/vmr-sync.sh1#!/bin/bash
LOWeng/common/vmr-sync.sh21###
LOWeng/common/native/init-distro-rid.sh1#!/bin/sh
LOWeng/common/native/init-distro-rid.sh61
LOW…common/templates-official/variables/pool-providers.yml1# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool
LOWeng/common/templates/vmr-build-pr.yml1# This pipeline is used for running the VMR verification of the PR changes in repo-level PRs.
LOWeng/common/templates/variables/pool-providers.yml1# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool
LOWeng/common/core-templates/stages/renovate.yml1# --------------------------------------------------------------------------------------
LOWeng/common/core-templates/steps/install-microbuild.yml1parameters:
LOWeng/common/core-templates/job/renovate.yml1# --------------------------------------------------------------------------------------
LOWeng/common/core-templates/job/source-build.yml1parameters:
LOWeng/common/core-templates/job/source-build.yml21 # published by source-build.
LOW.devcontainer/scripts/container-creation.sh1#!/usr/bin/env bash
LOW.github/workflows/community-pr-issue-check.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"5d2c80402496fddfbfe56c07c183fe876ad6866c078b22967cec94eefd4
LOW.github/workflows/community-pr-issue-check.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/community-pr-issue-check.lock.yml41# - github/gh-aw-actions/setup@2d6db59a9f9fdfb957a7753d83270a91e84ecf5c # v0.77.1
LOW.github/workflows/browsertesting-deps-update.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"9bd8d2aa3c482a7e584100c909db9bb071d34b6da45006f8410e7e7e43f
LOW.github/workflows/browsertesting-deps-update.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/browsertesting-deps-update.lock.yml41# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
LOW.github/workflows/browsertesting-deps-update.lock.yml781 # --allow-tool nuget(get-latest-package-version)
LOW.github/workflows/cswin32-update.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"f9e3c7b365be12337ecff3579f8bf03e3728f86f58e673ac0eae8105678
LOW.github/workflows/cswin32-update.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/cswin32-update.lock.yml41# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
LOW.github/workflows/cswin32-update.lock.yml781 # --allow-tool nuget(get-latest-package-version)
LOW.github/workflows/cswin32-update.lock.yml801 # --allow-tool shell(jq)
LOW.github/workflows/test-quarantine.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"4f83c8eb8df79483e57ce283e24be142ea3c1de9b1a0d1cdd9861c30b17
LOW.github/workflows/test-quarantine.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/test-quarantine.lock.yml41# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
LOW.github/workflows/test-quarantine.lock.yml61 # run: |
LOW.github/workflows/test-quarantine.lock.yml81 # link = resp.headers.get("Link", "")
LOW.github/workflows/test-quarantine.lock.yml101 #
LOW.github/workflows/test-quarantine.lock.yml121 # for f in files:
LOW.github/workflows/test-quarantine.lock.yml141 # "number": pr["number"],
LOW.github/workflows/test-quarantine.lock.yml941 # --allow-tool shell(echo)
LOW.github/workflows/labeler-predict-pulls.yml1# Workflow template imported and updated from:
LOW.github/workflows/relabel-perf-improvements.yml1name: Relabel benchmark perf issues
LOW.github/workflows/issue-triage-agent.lock.yml1# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"bf6ec2f8045da58462a90d042ecd569b2d3aa531ca3ada88712b8adb3ed
LOW.github/workflows/issue-triage-agent.lock.yml21# Not all edits will cause changes to this file.
LOW.github/workflows/issue-triage-agent.lock.yml801 # --allow-tool shell(grep)
LOW.azure/pipelines/jobs/default-build.yml1# default-build.yml
LOW.azure/pipelines/jobs/default-build.yml21# The name of the artifact container
LOW…ware/Diagnostics.Abstractions/src/DiagnosticMessage.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…ware/Diagnostics.Abstractions/src/DiagnosticMessage.cs41 /// </summary>
LOW…are/Diagnostics.Abstractions/src/CompilationFailure.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…are/Diagnostics.Abstractions/src/CompilationFailure.cs61 /// <summary>
LOW…agnostics.Abstractions/src/IExceptionHandlerFeature.cs21 /// is un-escaped.
LOW…stics.Abstractions/src/IExceptionHandlerPathFeature.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…ostics.Abstractions/src/IStatusCodeReExecuteFeature.cs21 /// <summary>
LOW…/Diagnostics.Abstractions/src/ICompilationException.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…tics.Abstractions/src/IDeveloperPageExceptionFilter.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…aderPropagation/src/HeaderPropagationMessageHandler.cs21 /// <param name="options">The options that define which headers are propagated.</param>
LOW…/src/HeaderPropagationMessageHandlerEntryCollection.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…ware/HeaderPropagation/src/HeaderPropagationContext.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…leware/HeaderPropagation/src/HeaderPropagationEntry.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…leware/HeaderPropagation/src/HeaderPropagationEntry.cs41 /// </summary>
LOW…derPropagation/src/HeaderPropagationEntryCollection.cs1// Licensed to the .NET Foundation under one or more agreements.
LOW…derPropagation/src/HeaderPropagationEntryCollection.cs61
LOW…pagation/src/HeaderPropagationMessageHandlerOptions.cs1// Licensed to the .NET Foundation under one or more agreements.
5075 more matches not shown…
Synthetic Comment Markers112 hits · 836 pts
SeverityFileLineSnippet
HIGH…vc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs25 // Generated Razor code is considered auto generated. By default analyzers skip over auto-generated code unless
HIGH…erences#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…malApis#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…rollers#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…alTexts#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…OpenApi#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…Schemas#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…rollers#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…Formats#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGH…Schemas#OpenApiXmlCommentSupport.generated.verified.cs4// This code was generated by a tool.
HIGHsrc/OpenApi/gen/XmlCommentGenerator.Emitter.cs22// This code was generated by a tool.
HIGH…E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs777 // Staleness check is used to assert enhanced navigation is enabled/disabled, as requested
HIGH…E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs857 // staleness check is used to assert enhanced navigation is enabled/disabled, as requested
HIGHsrc/Http/Routing/tools/Swaggatherer/Template.cs77 // This code was generated by the Swaggatherer
HIGH…marks/Matching/MatcherGithubBenchmarkBase.generated.cs9 // This code was generated by the Swaggatherer
HIGH…kGeneration/LinkGenerationGithubBenchmark.generated.cs10 // This code was generated by the Swaggatherer
HIGH…_TakesCustomMetadataEmitter_Has_Metadata.generated.txt3// This code was generated by a tool.
HIGH…ptyQueryStringValueProvided_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…urnsValidationProblemResult_Has_Metadata.generated.txt3// This code was generated by a tool.
HIGH…icitQuery_NullableIntArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…tion_ExplicitQuery_ComplexTypeArrayParam.generated.txt3// This code was generated by a tool.
HIGH…thArrayQueryString_AndBody_ShouldUseBody.generated.txt3// This code was generated by a tool.
HIGH…r/Baselines/MapAction_BindAsync_Snapshot.generated.txt3// This code was generated by a tool.
HIGH…apAction_NoParam_StringReturn_WithFilter.generated.txt3// This code was generated by a tool.
HIGH…ullableStringArrayParam_EmptyQueryValues.generated.txt3// This code was generated by a tool.
HIGH…pAction_MultipleStringParam_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…ltiple_MapAction_WithParams_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…icitQuery_NullableIntArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…es/MapAction_ReturnsVoid_Has_No_Metadata.generated.txt3// This code was generated by a tool.
HIGH…n_ExplicitQuery_NullableStringArrayParam.generated.txt3// This code was generated by a tool.
HIGH…pportsSameInterceptorsFromDifferentFiles.generated.txt3// This code was generated by a tool.
HIGH…ion_ExplicitSource_SimpleReturn_Snapshot.generated.txt3// This code was generated by a tool.
HIGH…QueryString_AndBody_ShouldUseQueryString.generated.txt3// This code was generated by a tool.
HIGH…nBodyOrService_HandlesBothJsonAndService.generated.txt3// This code was generated by a tool.
HIGH…MapAction_ImplicitQuery_StringArrayParam.generated.txt3// This code was generated by a tool.
HIGH…/Multiple_MapAction_NoParam_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…tringArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…ion_ExplicitHeader_ComplexTypeArrayParam.generated.txt3// This code was generated by a tool.
HIGH…_ExplicitHeader_NullableStringArrayParam.generated.txt3// This code was generated by a tool.
HIGH…tor/Baselines/VerifyAsParametersBaseline.generated.txt3// This code was generated by a tool.
HIGH…_ImplicitQuery_StringArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…rtsDifferentInterceptorsFromSameLocation.generated.txt3// This code was generated by a tool.
HIGH…y_IntArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…s/MapAction_SingleEnumParam_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…leIntArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…lines/MapAction_ReturnsTodo_Has_Metadata.generated.txt3// This code was generated by a tool.
HIGH…/MapPost_WithArrayQueryString_ShouldFail.generated.txt3// This code was generated by a tool.
HIGH…y_IntArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…thArrayQueryString_AndBody_ShouldUseBody.generated.txt3// This code was generated by a tool.
HIGH…on_MultipleSpecialTypeParam_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…ion_ImplicitQuery_IntArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…ion_ExplicitQuery_IntArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…ExplicitBodyParam_ComplexReturn_Snapshot.generated.txt3// This code was generated by a tool.
HIGH…tion_SingleComplexTypeParam_StringReturn.generated.txt3// This code was generated by a tool.
HIGH…leIntArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…_ExplicitQuery_StringArrayParam_Optional.generated.txt3// This code was generated by a tool.
HIGH…tringArrayParam_Optional_QueryNotPresent.generated.txt3// This code was generated by a tool.
HIGH…n_ImplicitQuery_NullableStringArrayParam.generated.txt3// This code was generated by a tool.
HIGH…thArrayQueryString_AndBody_ShouldUseBody.generated.txt3// This code was generated by a tool.
HIGH…RequestDelegateValidateGeneratedFormCode.generated.txt3// This code was generated by a tool.
52 more matches not shown…
Hyper-Verbose Identifiers140 hits · 158 pts
SeverityFileLineSnippet
LOWeng/common/cross/install-debs.py49async def download_deb_files_parallel(mirror, packages, tmp_dir):
LOWeng/common/cross/install-debs.py65async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring):
LOW…rWebCSharp.1/Components/Layout/ReconnectModal.razor.js11function handleReconnectStateChanged(event) {
LOW…rWebCSharp.1/Components/Layout/ReconnectModal.razor.js59async function retryWhenDocumentBecomesVisible() {
LOWsrc/SignalR/clients/ts/FunctionalTests/ts/Common.ts108export function eachTransportAndProtocolAndHttpClient(action: (transport: HttpTransportType, protocol: IHubProtocol, htt
LOWsrc/SignalR/clients/ts/signalr/tests/Utils.ts6export function registerUnhandledRejectionHandler(): void {
LOW…ignalR/clients/ts/signalr/tests/HttpConnection.test.ts39function ServerSentEventsNotAllowed() { throw new Error("Don't allow ServerSentEvents."); }
LOW…/Microsoft.JSInterop.JS/src/src/Microsoft.JSInterop.ts581 export function disposeJSObjectReferenceById(id: number) {
LOW…ps/Wasm.Performance/TestApp/wwwroot/benchmarks/grid.js79async function measureRenderGridFromBlank(app) {
LOW…ps/Wasm.Performance/TestApp/wwwroot/benchmarks/grid.js99async function measureRenderGridSwitchPages(app) {
LOW…AspNetCore.Components.QuickGrid/src/QuickGrid.razor.js29export function checkColumnOptionsPosition(tableElement) {
LOW…ver/RazorComponents/Components/ReconnectModal.razor.js11function handleReconnectStateChanged(event) {
LOW…ver/RazorComponents/Components/ReconnectModal.razor.js59async function retryWhenDocumentBecomesVisible() {
LOW…onents/test/testassets/BasicTestApp/wwwroot/index.html44 function navigationManagerNavigate() {
LOW…onents/test/testassets/BasicTestApp/wwwroot/index.html52 function getRuntimeBuildConfiguration() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js5async function invokeDotNetInteropMethodsAsync(shouldSupportSyncInterop, dotNetObjectByRef, instanceMethodsTarget, gener
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js313function roundTripByteArrayWrapperObject(byteArrayWrapperObject) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js320function jsToDotNetStreamReturnValueAsync() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js329function jsToDotNetStreamReturnValue() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js334function jsToDotNetStreamWrapperObjectReturnValueAsync() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js346function roundTripByteArrayWrapperObjectAsync(byteArrayWrapperObject) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js389function asyncFunctionThrowsSyncException() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js393function asyncFunctionThrowsAsyncException() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js399function asyncFunctionTakesLongerThanDefaultTimeoutToResolve() {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js433function receiveDotNetObjectByRefAsync(incomingData) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js450async function validateDotNetStreamReference(streamRef) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js456async function validateDotNetStreamWrapperReference(wrapper) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js463async function receiveDotNetStreamReference(streamRef) {
LOW…t/testassets/BasicTestApp/wwwroot/js/jsinteroptests.js467async function receiveDotNetStreamWrapperReference(wrapper) {
LOWsrc/Components/Web.JS/src/PageTitle.ts10function getAndRemoveExistingTitle(): string | null {
LOWsrc/Components/Web.JS/src/PageTitle.ts10function getAndRemoveExistingTitle(): string | null {
LOWsrc/Components/Web.JS/src/StreamingInterop.ts21function getChunkFromArrayBufferView(data: ArrayBufferView, position: number, nextChunkSize: number): Uint8Array {
LOWsrc/Components/Web.JS/src/Boot.WebAssembly.Common.ts200export function loadWebAssemblyPlatformIfNotStarted(serverOptions: WebAssemblyServerOptions | undefined): Promise<void>
LOWsrc/Components/Web.JS/src/Boot.WebAssembly.Common.ts223export function hasStartedLoadingWebAssemblyPlatform(): boolean {
LOWsrc/Components/Web.JS/src/Boot.WebAssembly.Common.ts227export function hasLoadedWebAssemblyPlatform(): boolean {
LOWsrc/Components/Web.JS/src/Boot.WebAssembly.Common.ts231export function updateWebAssemblyRootComponents(operations: string, webAssemblyState: string): void {
LOWsrc/Components/Web.JS/src/Boot.WebAssembly.Common.ts270function receiveWebAssemblyDotNetDataStream(streamId: number, data: Uint8Array, bytesRead: number, errorMessage: string)
LOWsrc/Components/Web.JS/src/Virtualize.ts18function findClosestScrollContainer(element: HTMLElement | null): HTMLElement | null {
LOWsrc/Components/Web.JS/src/Virtualize.ts117 function compensateScrollForItemResizes(entries: ResizeObserverEntry[]): void {
LOWsrc/Components/Web.JS/src/Virtualize.ts347 function startConvergenceObserving(): void {
LOWsrc/Components/Web.JS/src/Virtualize.ts559 function processIntersectionEntries(entries: IntersectionObserverEntry[]): void {
LOWsrc/Components/Web.JS/src/Boot.Server.Common.ts195export function updateServerRootComponents(operations: string, serverState: string): Promise<void> | undefined {
LOWsrc/Components/Web.JS/src/Boot.Web.ts105function onInitialDomContentLoaded(options: Partial<WebStartOptions>) {
LOWsrc/Components/Web.JS/src/Boot.Web.ts171function initFormValidationIfNeeded(formValidation?: ValidationOptions): void {
LOWsrc/Components/Web.JS/src/Boot.Web.ts188async function callAfterStartedCallbacks(initializersPromise: Promise<JSInitializer>): Promise<void> {
LOWsrc/Components/Web.JS/src/Boot.WebView.ts43function receiveWebViewDotNetDataStream(streamId: number, data: any, bytesRead: number, errorMessage: string): void {
LOW…ts/Web.JS/src/Platform/Circuits/CircuitStartOptions.ts53function computeDefaultRetryInterval(previousAttempts: number, maxRetries?: number): number | null {
LOW…onents/Web.JS/src/Platform/WebView/WebViewIpcCommon.ts23export function setApplicationIsTerminated(): void {
LOW…onents/Web.JS/src/Platform/WebView/WebViewIpcSender.ts14export function sendBeginInvokeDotNetFromJS(callId: number, assemblyName: string | null, methodIdentifier: string, dotNe
LOW…onents/Web.JS/src/Platform/WebView/WebViewIpcSender.ts18export function sendEndInvokeJSFromDotNet(asyncHandle: number, succeeded: boolean, argsJson: any): void {
LOWsrc/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts56 getObjectFieldsBaseAddress: function getObjectFieldsBaseAddress(referenceTypedObject: System_Object): Pointer {
LOW…Components/Web.JS/src/JSInitializers/JSInitializers.ts57 async function importAndInvokeInitializer(jsInitializer: JSInitializer, asset: JSAsset): Promise<void> {
LOW…Components/Web.JS/src/JSInitializers/JSInitializers.ts91 function runMultiRuntimeInitializers(
LOW…onents/Web.JS/src/JSInitializers/JSInitializers.Web.ts9export async function fetchAndInvokeInitializers(options: Partial<WebStartOptions>, logger: Logger) : Promise<JSInitiali
LOW…nts/Web.JS/src/JSInitializers/JSInitializers.Server.ts8export async function fetchAndInvokeInitializers(options: Partial<CircuitStartOptions>) : Promise<JSInitializer> {
LOW…ts/Web.JS/src/JSInitializers/JSInitializers.WebView.ts6export async function fetchAndInvokeInitializers() : Promise<JSInitializer> {
LOW…eb.JS/src/JSInitializers/JSInitializers.WebAssembly.ts9export async function fetchAndInvokeInitializers(options: Partial<WebAssemblyStartOptions>, loadedConfig: MonoConfig): P
LOW…onents/Web.JS/src/Rendering/ElementReferenceCapture.ts15function getCaptureIdAttributeName(referenceCaptureId: string) {
LOWsrc/Components/Web.JS/src/Rendering/FocusOnNavigate.ts43function onEnhancedNavigationStart() {
LOWsrc/Components/Web.JS/src/Rendering/LogicalElements.ts37export function toLogicalRootCommentElement(descriptor: ComponentDescriptor): LogicalElement {
80 more matches not shown…
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippet
HIGH…ourceGenerators/PublicTopLevelProgramGeneratorTests.cs0using microsoft.aspnetcore.builder; var app = webapplication.create(); app.mapget("/", () => "hello, world!"); app.run()
HIGH…WebApplicationBuilder/PublicPartialProgramClassTest.cs0using microsoft.aspnetcore.builder; var app = webapplication.create(); app.mapget("/", () => "hello, world!"); app.run()
HIGH…WebApplicationBuilder/PublicPartialProgramClassTest.cs0using microsoft.aspnetcore.builder; var app = webapplication.create(); app.mapget("/", () => "hello, world!"); app.run()
HIGH…Http/Headers/test/ContentDispositionHeaderValueTest.cs0, new contentdispositionheadervalue("attachment") { filename = @
HIGH…Http/Headers/test/ContentDispositionHeaderValueTest.cs0, new contentdispositionheadervalue("attachment") { filename = @
HIGH…Http/Headers/test/ContentDispositionHeaderValueTest.cs0, new contentdispositionheadervalue("attachment") { filename = @
HIGH…Http/Headers/test/ContentDispositionHeaderValueTest.cs0, new contentdispositionheadervalue("attachment") { filename = @
HIGH…Http/Headers/test/ContentDispositionHeaderValueTest.cs0, new contentdispositionheadervalue("attachment") { filename = @
HIGH…egateGenerator/RequestDelegateCreationTests.Filters.cs0{{innersource}} app.mapget("/", testaction) .addendpointfilterfactory((routehandlercontext, next) => async (context) =>
HIGH…egateGenerator/RequestDelegateCreationTests.Filters.cs0{{innersource}} app.mapget("/", testaction) .addendpointfilterfactory((routehandlercontext, next) => async (context) =>
HIGH…egateGenerator/RequestDelegateCreationTests.Filters.cs0{{innersource}} app.mapget("/", testaction) .addendpointfilterfactory((routehandlercontext, next) => async (context) =>
HIGH…egateGenerator/RequestDelegateCreationTests.Filters.cs0{{innersource}} app.mapget("/", testaction) .addendpointfilterfactory((routehandlercontext, next) => async (context) =>
HIGH…elegateGenerator/RequestDelegateCreationTests.Forms.cs0void testaction(httpcontext httpcontext, iformfile file) { httpcontext.items["invoked"] = true; } app.mappost("/", testa
HIGH…elegateGenerator/RequestDelegateCreationTests.Forms.cs0void testaction(httpcontext httpcontext, iformfile file) { httpcontext.items["invoked"] = true; } app.mappost("/", testa
HIGH…elegateGenerator/RequestDelegateCreationTests.Forms.cs0void testaction(httpcontext httpcontext, iformfile file) { httpcontext.items["invoked"] = true; } app.mappost("/", testa
HIGH…teGenerator/RuntimeCreationTests.ComplexFormBinding.cs0app.mappost("/", ([fromform] dictionary<string, bool> elements) => results.ok(elements));
HIGH…teGenerator/RuntimeCreationTests.ComplexFormBinding.cs0app.mappost("/", ([fromform] dictionary<string, bool> elements) => results.ok(elements));
HIGH…teGenerator/RuntimeCreationTests.ComplexFormBinding.cs0app.mappost("/", ([fromform] dictionary<string, bool> elements) => results.ok(elements));
HIGH…egateGenerator/RequestDelegateCreationTests.Logging.cs0void testaction(httpcontext httpcontext, [frombody] todo todo) { httpcontext.items["invoked"] = true; } app.mappost("/",
HIGH…egateGenerator/RequestDelegateCreationTests.Logging.cs0void testaction(httpcontext httpcontext, [frombody] todo todo) { httpcontext.items["invoked"] = true; } app.mappost("/",
HIGH…egateGenerator/RequestDelegateCreationTests.Logging.cs0void testaction(httpcontext httpcontext, [frombody] todo todo) { httpcontext.items["invoked"] = true; } app.mappost("/",
HIGH…egateGenerator/RequestDelegateCreationTests.Logging.cs0void testaction(httpcontext httpcontext, [frombody] todo todo) { httpcontext.items["invoked"] = true; } app.mappost("/",
HIGH…egateGenerator/RequestDelegateCreationTests.Logging.cs0void testaction(httpcontext httpcontext, [frombody] todo todo) { httpcontext.items["invoked"] = true; } app.mappost("/",
HIGH…g/TestHost/test/UseSolutionRelativeContentRootTests.cs0<solution> <configurations> <configuration name="debug|any cpu" /> </configurations> </solution>
HIGH…g/TestHost/test/UseSolutionRelativeContentRootTests.cs0<solution> <configurations> <configuration name="debug|any cpu" /> </configurations> </solution>
HIGH…g/TestHost/test/UseSolutionRelativeContentRootTests.cs0<solution> <configurations> <configuration name="debug|any cpu" /> </configurations> </solution>
HIGH…g/TestHost/test/UseSolutionRelativeContentRootTests.cs0<solution> <configurations> <configuration name="debug|any cpu" /> </configurations> </solution>
Verbosity Indicators52 hits · 100 pts
SeverityFileLineSnippet
LOW…src/Infrastructure/DefaultPageHandlerMethodSelector.cs87 // Step 1: match on HTTP method.
LOW…src/Infrastructure/DefaultPageHandlerMethodSelector.cs117 // Step 2: remove candidates with non-matching handlers.
LOWsrc/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs97 // We need to check if the action can generate the content type the user asked for. That is, treat the
LOW…clients/ts/FunctionalTests/scripts/karma.local.conf.js21 // On linux, the browsers just return the command, not a path, so we need to check if it exists.
LOW…c/SignalR/clients/ts/signalr/src/WebSocketTransport.ts97 // ErrorEvent is a browser only type we need to check if the type exists before using it
LOW…c/SignalR/clients/ts/signalr/src/WebSocketTransport.ts126 // ErrorEvent is a browser only type we need to check if the type exists before using it
LOWsrc/SignalR/server/Core/src/HubConnectionContext.cs597 // If there's a transfer format feature, we need to check if we're compatible and set th
LOW…mponents/Web.JS/src/Rendering/Events/EventDelegator.ts171 // when connection closed, it will detachWebRendererInterop, so we need to check if the renderer is still attached
LOW…tection/Extensions/test/DataProtectionProviderTests.cs29 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs33 // Step 2: instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs37 // Step 3: validate that there's now a single key in the directory and that it's not protected
LOW…tection/Extensions/test/DataProtectionProviderTests.cs95 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs99 // Step 2: instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs106 // Step 3: validate that there's now a single key in the directory and that it's protected with DPAPI
LOW…tection/Extensions/test/DataProtectionProviderTests.cs139 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs143 // Step 2: instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs152 // Step 3: validate that there's now a single key in the directory and that it's is protected using
LOW…tection/Extensions/test/DataProtectionProviderTests.cs224 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs228 // Step 2: instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs233 // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert
LOW…tection/Extensions/test/DataProtectionProviderTests.cs253 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs257 // Step 2: instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs262 // Step 3: validate that there's no key in the directory
LOW…tection/Extensions/test/DataProtectionProviderTests.cs293 // Step 1: directory should be completely empty
LOW…tection/Extensions/test/DataProtectionProviderTests.cs297 // Step 2: instantiate the system and create some data
LOW…tection/Extensions/test/DataProtectionProviderTests.cs304 // Step 3: validate that there's now a single key in the directory and that it's is protected using the cert
LOW…tection/Extensions/test/DataProtectionProviderTests.cs312 // Step 4: setup a second system and validate it can decrypt keys and unprotect data
LOW…tection/Extensions/test/DataProtectionProviderTests.cs54 // Step 1: Instantiate the system and round-trip a payload
LOW…tection/Extensions/test/DataProtectionProviderTests.cs72 // Step 2: Validate that there's now a single key in the directory
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs326 // Step 1: Generate a random key modifier and IV for this operation.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs332 // Step 2: Decrypt the KDK, and use it to generate new encryption and HMAC keys.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs344 // Step 2: Copy the key modifier and the IV to the output stream since they'll act as a header.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs347 // Step 3: Generate IV for this operation right into the result array
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs351 // Step 4: Perform the encryption operation.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs361 // Step 5: Calculate the digest over the IV and ciphertext.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs447 // Step 4: Validate the MAC provided as part of the payload.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs502 // Step 1: Extract the key modifier and IV from the payload.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs518 // Step 2: Decrypt the KDK and use it to restore the original encryption and MAC keys.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs544 // Step 3: Calculate the correct MAC for this payload.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs552 // Step 4: Validate the MAC provided as part of the payload.
LOW…rotection/src/Managed/ManagedAuthenticatedEncryptor.cs555 // Step 5: Decipher the ciphertext and return it to the caller.
LOW…ion/src/KeyManagement/KeyRingBasedSpanDataProtector.cs62 // Step 1: Write the magic header and key id
LOW…ion/src/KeyManagement/KeyRingBasedSpanDataProtector.cs77 // Step 2: Perform encryption into the destination writer
LOW…/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs37 // Step 1: Calculate all necessary offsets into the temp input & output buffer.
LOW…/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs43 // Step 2: Copy Label and Context into the temp input buffer.
LOW…/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs47 // Step 3: copy [L] into last part of data to be hashed, big-endian
LOW…/src/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs50 // Step 4: iterate until all desired bytes have been generated
LOWsrc/Http/Routing/src/Matching/ILEmitTrieFactory.cs233 // Basically we need to check if the text is non-ASCII first and bail if it is.
LOWsrc/Http/Routing/src/Template/TemplateBinder.cs449 // Step 2: If the route is a match generate the appropriate URI
LOWsrc/Http/Routing/src/Template/TemplateBinder.cs469 // Step 2: If the route is a match generate the appropriate URI
LOW…elegateGenerator/RequestDelegateGeneratorSuppressor.cs55 // To account for this, we need to check if the location is an InvocationExpression or a child of an Invocat
LOW…rs/IIS/IIS/test/testassets/InProcessWebSite/Startup.cs1110 // We need to check if the aspnetcorev2_outofprocess dll is loaded by iisexpress.exe
Fake / Example Data70 hits · 72 pts
SeverityFileLineSnippet
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs280 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs303 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs833 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs837 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs859 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs869 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs894 client.DefaultRequestHeaders.From = "user@example.com";
LOW…iddleware/ResponseCaching/test/ResponseCachingTests.cs904 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs317 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs341 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs875 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs879 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs899 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/OutputCaching/test/OutputCacheTests.cs909 client.DefaultRequestHeaders.From = "user@example.com";
LOWsrc/Middleware/ResponseCompression/sample/LoremIpsum.cs8 internal const string Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse le
LOWsrc/Middleware/ResponseCompression/sample/LoremIpsum.cs8 internal const string Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse le
LOWsrc/Middleware/ResponseCompression/sample/LoremIpsum.cs9 "Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar.Nulla soll
LOWsrc/Middleware/ResponseCompression/sample/LoremIpsum.cs9 "Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar.Nulla soll
LOW…y/test/Identity.Test/UserClaimsPrincipalFactoryTest.cs45 var user = new PocoUser { UserName = "Foo", Email = "foo@bar.com" };
LOW…dentity.Test/Passkeys/PasskeyHandlerAttestationTest.cs987 public string? UserDisplayName { get; set; } = "John Doe";
LOW…kCore/test/EF.Test/UserStoreEncryptPersonalDataTest.cs207 user.Email = "test@test.com";
LOW…ecification.Tests/src/UserManagerSpecificationTests.cs1821 IdentityResultAssert.IsSuccess(await manager.SetEmailAsync(user, "test@test.com"));
LOW…rsWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs19 ("Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore m
LOW…rsWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs19 ("Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore m
LOW…es/RazorWebSite/Controllers/UrlResolutionController.cs14 Name = "John Doe"
LOWsrc/Security/Authentication/test/CertificateTests.cs571 const string Expected = "John Doe";
LOWsrc/Security/Authentication/test/CertificateTests.cs646 const string Expected = "John Doe";
LOWsrc/Security/Authentication/test/CertificateTests.cs696 const string Expected = "John Doe";
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs18 var model = new ObjectWithJObject { CustomData = (JsonObject)JsonSerializer.SerializeToNode(new { Emails = new[]
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs34 var model = new ObjectWithJObject { CustomData = (JsonObject)JsonSerializer.SerializeToNode(new { Email = "foo@b
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs48 var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar")
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs51 patch.Operations.Add(new Operation<ObjectWithJObject>("test", "/CustomData/Email", null, "foo@bar.com"));
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs65 var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com")]) };
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs74 Assert.Equal("foo@bar.com", model.CustomData["UserName"].GetValue<string>());
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs147 var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar")
LOW…ch.SystemTextJson/test/JsonPatchDocumentJObjectTest.cs163 var model = new ObjectWithJObject { CustomData = new JsonObject([new("Email", "foo@bar.com"), new("Name", "Bar")
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs20 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Emails = new[] { "foo@bar.com" } }) };
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs36 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" })
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs50 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" })
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs53 patch.Operations.Add(new Operation<ObjectWithJObject>("test", "/CustomData/Email", null, "foo@bar.com"));
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs67 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com" }) };
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs76 Assert.Equal("foo@bar.com", model.CustomData["UserName"].Value<string>());
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs148 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" })
LOW…eatures/JsonPatch/test/JsonPatchDocumentJObjectTest.cs164 var model = new ObjectWithJObject { CustomData = JObject.FromObject(new { Email = "foo@bar.com", Name = "Bar" })
LOW…i.SourceGenerators.Tests/OperationTests.MinimalApis.cs327 /// <example>"user@example.com"</example>
LOW…i.SourceGenerators.Tests/OperationTests.MinimalApis.cs490 Assert.Equal("user@example.com", path19.Parameters[1].Example.GetValue<string>());
LOW…malApis#OpenApiXmlCommentSupport.generated.verified.cs82 cache.Add(@"P:MixedParametersClass.Email", new XmlComment(@"The user's email address.", null, null, null, nu
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs1785 var expected = new Customer() { Age = 20, Name = "John Doe", Email = "john.doe@example.com", IsPreferred = true
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs1789 ["Name"] = "John Doe",
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs2060 var expected = new Customer() { Age = 0, Name = "John Doe", Email = "john.doe@example.com", IsPreferred = true }
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs2064 ["Name"] = "John Doe",
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs2099 var expected = new FrequentCustomer() { Age = 20, Name = "John Doe", Email = "john@example.com", IsPreferred = t
LOW…mponents/Endpoints/test/Binding/FormDataMapperTests.cs2103 ["Name"] = "John Doe",
LOW…s/Components.TestServer/RemoteAuthenticationStartup.cs99 ["name"] = "Jane Doe",
LOW…mponents/Web.JS/test/Validation/CoreValidators.test.ts429 expect(regex(makeContext({ value: '555-1234', params: { pattern: '\\d{3}-\\d{4}' } }))).toBe(true);
LOW…mponents/Web.JS/test/Validation/CoreValidators.test.ts507 expect(email(makeContext({ value: 'user@example.com' }))).toBe(true);
LOWsrc/Components/Components/test/NavigationManagerTest.cs98 var actualUri = navigationManager.GetUriWithQueryParameter("full name", "John Doe");
LOWsrc/Components/Components/test/NavigationManagerTest.cs112 var actualUri = navigationManager.GetUriWithQueryParameter("name", "John Doe");
LOWsrc/Components/Components/test/NavigationManagerTest.cs179 ["full name"] = "John Doe", // Single value
LOW…test/PersistentState/PersistentServicesRegistryTest.cs358 Name = "John Doe",
10 more matches not shown…
Decorative Section Separators15 hits · 54 pts
SeverityFileLineSnippet
MEDIUMeng/common/core-templates/stages/renovate.yml1# --------------------------------------------------------------------------------------
MEDIUMeng/common/core-templates/stages/renovate.yml3# --------------------------------------------------------------------------------------
MEDIUMeng/common/core-templates/stages/renovate.yml9# --------------------------------------------------------------------------------------
MEDIUMeng/common/core-templates/job/renovate.yml1# --------------------------------------------------------------------------------------
MEDIUMeng/common/core-templates/job/renovate.yml3# --------------------------------------------------------------------------------------
MEDIUMeng/common/core-templates/job/renovate.yml17# --------------------------------------------------------------------------------------
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs31 // ── build mode + Build scenario (local dev) ──────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs56 // ── build mode + Publish scenario ────────────────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs94 // ── publish mode + Publish scenario (exe found) ──────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs121 // ── publish mode + Publish scenario (dll only) ───────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs162 // ── all mode + Publish scenario ──────────────────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs200 // ── Custom E2EAppsRelativeDir ────────────────────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs222 // ── Multiple apps ────────────────────────────────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs244 // ── PublicUrl metadata flows through ─────────────────────────────
MEDIUM…omponents/Testing/test/GenerateE2EManifestTaskTests.cs268 // ── Helpers ──────────────────────────────────────────────────────
AI Slop Vocabulary11 hits · 30 pts
SeverityFileLineSnippet
LOW…ommon/core-templates/steps/enable-internal-sources.yml24 # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate.
MEDIUM.devcontainer/scripts/container-creation.sh14# Add .NET Dev Certs to environment to facilitate debugging.
MEDIUMsrc/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs260 // A <form> tag that doesn't utilize asp-* attributes. Let it flow to the output.
MEDIUM…ts/Web.JS/src/Services/ComponentDescriptorDiscovery.ts278 // comment invalid. We could unencode them in .NET Code, but that would be slower to do and we can leverage the fact t
MEDIUMsrc/Components/Web.JS/src/Validation/DomUtils.ts44 // Use getComputedStyle for robust visibility detection covering CSS classes, stylesheets,
MEDIUMsrc/Components/Web/src/WebRenderer.cs119 // parameters, we utilize the source-generated WebRendererSerializerContext
MEDIUMsrc/Components/Components/src/ChangeDetection.cs33 if (oldValueType != newValueType // Definitely different
MEDIUM…nents/Components/src/Reflection/ComponentProperties.cs310 // SupplyParameterFromQuery feature that did not utilize cascading values, and thus did not have this li
MEDIUMsrc/Http/Headers/src/SetCookieHeaderValue.cs161 /// "SameSite" cookies offer a robust defense against CSRF attack when
MEDIUMsrc/Http/Http.Extensions/src/RequestDelegateFactory.cs792 // For complex types, leverage the shared form binding infrastructure. For example,
MEDIUMsrc/Http/Http.Extensions/src/RequestDelegateFactory.cs2689 // leverage the STJ polymorphism support.
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippet
LOWeng/common/tools.sh323 # Check if the script is older than 30 days using timestamp file
LOWeng/common/tools.sh425 # Check if the toolset has already been extracted
LOWeng/common/SetupNugetSources.sh59 # Check if disabledPackageSources section exists
LOWeng/common/SetupNugetSources.sh65 # Check if this source name is disabled
LOWeng/common/SetupNugetSources.sh85 # Check if source already exists
LOWeng/common/SetupNugetSources.sh115 # Check if disabledPackageSources section exists
LOWeng/common/SetupNugetSources.sh185 # Check if there is no existing credential for this FeedName
LOWeng/common/core-templates/steps/source-build.yml31 # Check if AzDO substitutes in a build config from a variable, and use it if so.
LOWeng/common/core-templates/steps/install-microbuild.yml64 # Check if ESRP is disabled while SignType is real
Example Usage Blocks4 hits · 7 pts
SeverityFileLineSnippet
LOWeng/common/native/install-dependencies.sh7# Usage:
LOW…common/templates-official/variables/pool-providers.yml12# How to use:
LOWeng/common/templates/variables/pool-providers.yml12# How to use:
LOWeng/common/core-templates/job/renovate.yml11# Usage:
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMeng/build.sh362# Initialize global variables need to be set before the import of Arcade is imported
MEDIUMeng/common/cross/build-rootfs.sh635 # Create the symlink in the same directory
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippet
LOWeng/common/cross/install-debs.py20
LOWeng/common/cross/install-debs.py192
LOWeng/common/cross/install-debs.py217
LOWeng/common/cross/install-debs.py255
LOWeng/common/cross/install-debs.py289
LOWeng/common/cross/install-debs.py333
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippet
HIGH…jectTemplates/content/McpServer-CSharp/local/README.md692. Publish to NuGet.org with `dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMeng/common/cross/install-debs.py42 print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...")
MEDIUMeng/common/cross/install-debs.py202 print(f"Error: Package '{current}' was not found in the available packages.")
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM…ent/McpServer-CSharp/common/Tools/RandomNumberTools.cs5/// Sample MCP tools for demonstration purposes.
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWeng/common/cross/install-debs.py18