422 references to AsSpan
Aspire.Azure.Npgsql (1)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Dashboard (7)
BuildActionTelemetryTable (2)
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)
Identity.ExternalClaims (1)
illink (3)
Microsoft.AspNetCore.Components (9)
Microsoft.AspNetCore.DataProtection.Abstractions (2)
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 (2)
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.Build (10)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Tasks.Core (14)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.Configuration.Ini (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Http (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.NET.StringTools (2)
MSBuild (4)
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)));
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 (9)
System.Diagnostics.Process (3)
System.Diagnostics.TextWriterTraceListener (8)
System.IO.Packaging (2)
System.Memory (1)
System.Net.Http (12)
System.Net.HttpListener (10)
System.Net.Mail (4)
System.Net.NetworkInformation (8)
System.Net.Ping (2)
System.Net.Primitives (1)
System.Net.Requests (5)
System.Net.Security (3)
System.Net.WebHeaderCollection (2)
System.Private.CoreLib (39)
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), _info.ScopeId) :
1626result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2790ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User);
2942str.AsSpan(offset, _info.Offset.Fragment - offset),
2981str.AsSpan(offset, _info.Offset.End - offset),
3023_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3024_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host));
3035return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host),
3050_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3051_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host));
3136return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3146_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3147_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3706syntax = CheckSchemeSyntax(uriString.AsSpan(i, colonOffset), ref err);
4313dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4351dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4372dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4710return string.Concat(basePart.OriginalString.AsSpan(0, idx + 1), relativePart);
4715return 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)
UIAutomationClientSideProviders (3)
Wasm.Performance.ConsoleHost (1)