410 references to AsSpan
Aspire.Azure.Npgsql (1)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Dashboard (7)
Aspire.Hosting (1)
BuildActionTelemetryTable (1)
ClientSample (1)
dotnet-dev-certs (1)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-razorpagegenerator (1)
dotnet-sql-cache (1)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
GenerateDocumentationAndConfigFiles (3)
Identity.ExternalClaims (1)
illink (2)
Metrics (3)
Metrics.Legacy (3)
Microsoft.AspNetCore.Components (9)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Grpc.Swagger (2)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Http.Abstractions (2)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Razor (1)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.Routing (7)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Microsoft.AspNetCore.Shared.Tests (3)
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Extensions.Package (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.Configuration.Ini (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Identity.Core (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (4)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.EventLog (2)
Microsoft.Extensions.Primitives (3)
Microsoft.Extensions.Telemetry (3)
Microsoft.Extensions.WebEncoders (3)
Microsoft.Maui (1)
Microsoft.Maui.Graphics.Skia (1)
Microsoft.ML.Tokenizers (4)
Microsoft.ML.Tokenizers.Tests (2)
Microsoft.NET.StringTools (2)
PresentationBuildTasks (1)
PresentationCore (5)
PresentationFramework (25)
MS\Internal\Data\RBNode.cs (4)
820node.LeftSize = Int32.Parse(s.AsSpan(0, index), TypeConverterHelper.InvariantEnglishUS);
824node.Size = Int32.Parse(s.AsSpan(0, index), TypeConverterHelper.InvariantEnglishUS);
830node.SetItemAt(k, AsT(Int32.Parse(s.AsSpan(0, index), TypeConverterHelper.InvariantEnglishUS)));
834node.SetItemAt(node.Size - 1, AsT(Int32.Parse(s.AsSpan(0, index), TypeConverterHelper.InvariantEnglishUS)));
Roslyn.Diagnostics.Analyzers (3)
Swaggatherer (1)
System.CodeDom (1)
System.Collections.Immutable (23)
System\Collections\Frozen\String\KeyAnalyzer.cs (11)
90static (string s, int index, int count) => s.AsSpan(index, count));
114static (string s, int index, int count) => s.AsSpan(s.Length + index, count));
312public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index), Count).SequenceEqual(y.AsSpan(IsLeft ? Index : (y!.Length + Index), Count));
313public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinal(s.AsSpan(IsLeft ? Index : (s.Length + Index), Count));
318public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index), Count).Equals(y.AsSpan(IsLeft ? Index : (y!.Length + Index), Count), StringComparison.OrdinalIgnoreCase);
319public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCase(s.AsSpan(IsLeft ? Index : (s.Length + Index), Count));
324public override bool Equals(string? x, string? y) => x.AsSpan(IsLeft ? Index : (x!.Length + Index), Count).Equals(y.AsSpan(IsLeft ? Index : (y!.Length + Index), Count), StringComparison.OrdinalIgnoreCase);
325public override int GetHashCode(string s) => Hashing.GetHashCodeOrdinalIgnoreCaseAscii(s.AsSpan(IsLeft ? Index : (s.Length + Index), Count));
System.ComponentModel.TypeConverter (1)
System.Data.Common (2)
System.Diagnostics.DiagnosticSource (10)
System.Diagnostics.TextWriterTraceListener (8)
System.IO.Packaging (2)
System.Memory (1)
System.Net.HttpListener (10)
System.Net.Mail (4)
System.Net.Ping (2)
System.Net.Security (2)
System.Net.WebHeaderCollection (2)
System.Private.CoreLib (45)
System.Private.DataContractSerialization (5)
System.Private.Uri (24)
System\Uri.cs (20)
611UriParser? syntax = CheckSchemeSyntax(relativeStr.AsSpan(0, i), ref error);
1188string.Concat(host.AsSpan(1, host.Length - 2), scopeId) :
1626result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2796ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User);
2948str.AsSpan(offset, _info.Offset.Fragment - offset),
2987str.AsSpan(offset, _info.Offset.End - offset),
3029_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3030_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host));
3041return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host),
3056_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3057_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host));
3142return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3152_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3153_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3716syntax = CheckSchemeSyntax(uriString.AsSpan(i, colonOffset), ref err);
4326dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4364dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4385dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4723return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart);
4728return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart);
System.Private.Xml (9)
System.Private.Xml.Linq (1)
System.Reflection.Emit (1)
System.Reflection.Metadata (2)
System.ServiceModel.Syndication (1)
System.Text.Encodings.Web (3)
System.Text.RegularExpressions (13)
System.Text.RegularExpressions.Generator (7)
System.Transactions.Local (2)
System.Web.HttpUtility (6)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (17)
System.Windows.Forms.Design (6)
System.Xaml (2)
Templates.Blazor.Tests (2)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
Test.Utilities (3)
Text.Analyzers (3)
UIAutomationClientSideProviders (3)
Wasm.Performance.ConsoleHost (1)