2635 references to ReferenceEquals
Accessibility_Core_App (1)
Aspire.Dashboard (139)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (10)
322if (ReferenceEquals(other, null)) {
325if (ReferenceEquals(other, this)) {
701if (ReferenceEquals(other, null)) {
704if (ReferenceEquals(other, this)) {
901if (ReferenceEquals(other, null)) {
904if (ReferenceEquals(other, this)) {
1106if (ReferenceEquals(other, null)) {
1109if (ReferenceEquals(other, this)) {
1387if (ReferenceEquals(other, null)) {
1390if (ReferenceEquals(other, this)) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (32)
322if (ReferenceEquals(other, null)) {
325if (ReferenceEquals(other, this)) {
549if (ReferenceEquals(other, null)) {
552if (ReferenceEquals(other, this)) {
833if (ReferenceEquals(other, null)) {
836if (ReferenceEquals(other, this)) {
1302if (ReferenceEquals(other, null)) {
1305if (ReferenceEquals(other, this)) {
1748if (ReferenceEquals(other, null)) {
1751if (ReferenceEquals(other, this)) {
1972if (ReferenceEquals(other, null)) {
1975if (ReferenceEquals(other, this)) {
2228if (ReferenceEquals(other, null)) {
2231if (ReferenceEquals(other, this)) {
2460if (ReferenceEquals(other, null)) {
2463if (ReferenceEquals(other, this)) {
2679if (ReferenceEquals(other, null)) {
2682if (ReferenceEquals(other, this)) {
3030if (ReferenceEquals(other, null)) {
3033if (ReferenceEquals(other, this)) {
3614if (ReferenceEquals(other, null)) {
3617if (ReferenceEquals(other, this)) {
4325if (ReferenceEquals(other, null)) {
4328if (ReferenceEquals(other, this)) {
4868if (ReferenceEquals(other, null)) {
4871if (ReferenceEquals(other, this)) {
5207if (ReferenceEquals(other, null)) {
5210if (ReferenceEquals(other, this)) {
5564if (ReferenceEquals(other, null)) {
5567if (ReferenceEquals(other, this)) {
5938if (ReferenceEquals(other, null)) {
5941if (ReferenceEquals(other, this)) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (14)
168if (ReferenceEquals(other, null)) {
171if (ReferenceEquals(other, this)) {
395if (ReferenceEquals(other, null)) {
398if (ReferenceEquals(other, this)) {
679if (ReferenceEquals(other, null)) {
682if (ReferenceEquals(other, this)) {
1205if (ReferenceEquals(other, null)) {
1208if (ReferenceEquals(other, this)) {
1818if (ReferenceEquals(other, null)) {
1821if (ReferenceEquals(other, this)) {
2154if (ReferenceEquals(other, null)) {
2157if (ReferenceEquals(other, this)) {
2466if (ReferenceEquals(other, null)) {
2469if (ReferenceEquals(other, this)) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (44)
224if (ReferenceEquals(other, null)) {
227if (ReferenceEquals(other, this)) {
398if (ReferenceEquals(other, null)) {
401if (ReferenceEquals(other, this)) {
799if (ReferenceEquals(other, null)) {
802if (ReferenceEquals(other, this)) {
1258if (ReferenceEquals(other, null)) {
1261if (ReferenceEquals(other, this)) {
1564if (ReferenceEquals(other, null)) {
1567if (ReferenceEquals(other, this)) {
1842if (ReferenceEquals(other, null)) {
1845if (ReferenceEquals(other, this)) {
2118if (ReferenceEquals(other, null)) {
2121if (ReferenceEquals(other, this)) {
2400if (ReferenceEquals(other, null)) {
2403if (ReferenceEquals(other, this)) {
2700if (ReferenceEquals(other, null)) {
2703if (ReferenceEquals(other, this)) {
3038if (ReferenceEquals(other, null)) {
3041if (ReferenceEquals(other, this)) {
3327if (ReferenceEquals(other, null)) {
3330if (ReferenceEquals(other, this)) {
3634if (ReferenceEquals(other, null)) {
3637if (ReferenceEquals(other, this)) {
4163if (ReferenceEquals(other, null)) {
4166if (ReferenceEquals(other, this)) {
4692if (ReferenceEquals(other, null)) {
4695if (ReferenceEquals(other, this)) {
4907if (ReferenceEquals(other, null)) {
4910if (ReferenceEquals(other, this)) {
5170if (ReferenceEquals(other, null)) {
5173if (ReferenceEquals(other, this)) {
5422if (ReferenceEquals(other, null)) {
5425if (ReferenceEquals(other, this)) {
5633if (ReferenceEquals(other, null)) {
5636if (ReferenceEquals(other, this)) {
5882if (ReferenceEquals(other, null)) {
5885if (ReferenceEquals(other, this)) {
6181if (ReferenceEquals(other, null)) {
6184if (ReferenceEquals(other, this)) {
6433if (ReferenceEquals(other, null)) {
6436if (ReferenceEquals(other, this)) {
6634if (ReferenceEquals(other, null)) {
6637if (ReferenceEquals(other, this)) {
Aspire.Hosting (45)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (44)
224if (ReferenceEquals(other, null)) {
227if (ReferenceEquals(other, this)) {
398if (ReferenceEquals(other, null)) {
401if (ReferenceEquals(other, this)) {
799if (ReferenceEquals(other, null)) {
802if (ReferenceEquals(other, this)) {
1258if (ReferenceEquals(other, null)) {
1261if (ReferenceEquals(other, this)) {
1564if (ReferenceEquals(other, null)) {
1567if (ReferenceEquals(other, this)) {
1842if (ReferenceEquals(other, null)) {
1845if (ReferenceEquals(other, this)) {
2118if (ReferenceEquals(other, null)) {
2121if (ReferenceEquals(other, this)) {
2400if (ReferenceEquals(other, null)) {
2403if (ReferenceEquals(other, this)) {
2700if (ReferenceEquals(other, null)) {
2703if (ReferenceEquals(other, this)) {
3038if (ReferenceEquals(other, null)) {
3041if (ReferenceEquals(other, this)) {
3327if (ReferenceEquals(other, null)) {
3330if (ReferenceEquals(other, this)) {
3634if (ReferenceEquals(other, null)) {
3637if (ReferenceEquals(other, this)) {
4163if (ReferenceEquals(other, null)) {
4166if (ReferenceEquals(other, this)) {
4692if (ReferenceEquals(other, null)) {
4695if (ReferenceEquals(other, this)) {
4907if (ReferenceEquals(other, null)) {
4910if (ReferenceEquals(other, this)) {
5170if (ReferenceEquals(other, null)) {
5173if (ReferenceEquals(other, this)) {
5422if (ReferenceEquals(other, null)) {
5425if (ReferenceEquals(other, this)) {
5633if (ReferenceEquals(other, null)) {
5636if (ReferenceEquals(other, this)) {
5882if (ReferenceEquals(other, null)) {
5885if (ReferenceEquals(other, this)) {
6181if (ReferenceEquals(other, null)) {
6184if (ReferenceEquals(other, this)) {
6433if (ReferenceEquals(other, null)) {
6436if (ReferenceEquals(other, this)) {
6634if (ReferenceEquals(other, null)) {
6637if (ReferenceEquals(other, this)) {
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Testing (1)
BasketService (18)
artifacts\obj\BasketService\Debug\net8.0\Protos\Basket.cs (18)
134if (ReferenceEquals(other, null)) {
137if (ReferenceEquals(other, this)) {
344if (ReferenceEquals(other, null)) {
347if (ReferenceEquals(other, this)) {
568if (ReferenceEquals(other, null)) {
571if (ReferenceEquals(other, this)) {
832if (ReferenceEquals(other, null)) {
835if (ReferenceEquals(other, this)) {
1144if (ReferenceEquals(other, null)) {
1147if (ReferenceEquals(other, this)) {
1329if (ReferenceEquals(other, null)) {
1332if (ReferenceEquals(other, this)) {
1503if (ReferenceEquals(other, null)) {
1506if (ReferenceEquals(other, this)) {
1688if (ReferenceEquals(other, null)) {
1691if (ReferenceEquals(other, this)) {
1886if (ReferenceEquals(other, null)) {
1889if (ReferenceEquals(other, this)) {
BinaryFormatTests (1)
ClientSample (4)
DesignSurface (1)
dotnet-svcutil-lib (76)
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IISExpress.FunctionalTests (2)
illink (5)
ILLink.RoslynAnalyzer (2)
InMemory.FunctionalTests (1)
IntegrationTestsWebsite (10)
artifacts\obj\IntegrationTestsWebsite\Release\net10.0\Protos\Greet.cs (10)
162if (ReferenceEquals(other, null)) {
165if (ReferenceEquals(other, this)) {
352if (ReferenceEquals(other, null)) {
355if (ReferenceEquals(other, this)) {
567if (ReferenceEquals(other, null)) {
570if (ReferenceEquals(other, this)) {
786if (ReferenceEquals(other, null)) {
789if (ReferenceEquals(other, this)) {
979if (ReferenceEquals(other, null)) {
982if (ReferenceEquals(other, this)) {
InteropClient (26)
artifacts\obj\InteropClient\Release\net10.0\Messages.cs (24)
165if (ReferenceEquals(other, null)) {
168if (ReferenceEquals(other, this)) {
377if (ReferenceEquals(other, null)) {
380if (ReferenceEquals(other, this)) {
608if (ReferenceEquals(other, null)) {
611if (ReferenceEquals(other, this)) {
944if (ReferenceEquals(other, null)) {
947if (ReferenceEquals(other, this)) {
1377if (ReferenceEquals(other, null)) {
1380if (ReferenceEquals(other, this)) {
1649if (ReferenceEquals(other, null)) {
1652if (ReferenceEquals(other, this)) {
1887if (ReferenceEquals(other, null)) {
1890if (ReferenceEquals(other, this)) {
2119if (ReferenceEquals(other, null)) {
2122if (ReferenceEquals(other, this)) {
2422if (ReferenceEquals(other, null)) {
2425if (ReferenceEquals(other, this)) {
2698if (ReferenceEquals(other, null)) {
2701if (ReferenceEquals(other, this)) {
2901if (ReferenceEquals(other, null)) {
2904if (ReferenceEquals(other, this)) {
3108if (ReferenceEquals(other, null)) {
3111if (ReferenceEquals(other, this)) {
InteropWebsite (26)
artifacts\obj\InteropWebsite\Release\net10.0\Messages.cs (24)
165if (ReferenceEquals(other, null)) {
168if (ReferenceEquals(other, this)) {
377if (ReferenceEquals(other, null)) {
380if (ReferenceEquals(other, this)) {
608if (ReferenceEquals(other, null)) {
611if (ReferenceEquals(other, this)) {
944if (ReferenceEquals(other, null)) {
947if (ReferenceEquals(other, this)) {
1377if (ReferenceEquals(other, null)) {
1380if (ReferenceEquals(other, this)) {
1649if (ReferenceEquals(other, null)) {
1652if (ReferenceEquals(other, this)) {
1887if (ReferenceEquals(other, null)) {
1890if (ReferenceEquals(other, this)) {
2119if (ReferenceEquals(other, null)) {
2122if (ReferenceEquals(other, this)) {
2422if (ReferenceEquals(other, null)) {
2425if (ReferenceEquals(other, this)) {
2698if (ReferenceEquals(other, null)) {
2701if (ReferenceEquals(other, this)) {
2901if (ReferenceEquals(other, null)) {
2904if (ReferenceEquals(other, this)) {
3108if (ReferenceEquals(other, null)) {
3111if (ReferenceEquals(other, this)) {
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Local (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Components (8)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.DataProtection (3)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (36)
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Transcoding.cs (16)
607if (ReferenceEquals(other, null)) {
610if (ReferenceEquals(other, this)) {
1433if (ReferenceEquals(other, null)) {
1436if (ReferenceEquals(other, this)) {
1845if (ReferenceEquals(other, null)) {
1848if (ReferenceEquals(other, this)) {
2442if (ReferenceEquals(other, null)) {
2445if (ReferenceEquals(other, this)) {
2759if (ReferenceEquals(other, null)) {
2762if (ReferenceEquals(other, this)) {
3253if (ReferenceEquals(other, null)) {
3256if (ReferenceEquals(other, this)) {
3568if (ReferenceEquals(other, null)) {
3571if (ReferenceEquals(other, this)) {
3777if (ReferenceEquals(other, null)) {
3780if (ReferenceEquals(other, this)) {
Microsoft.AspNetCore.Grpc.Microbenchmarks (6)
Microsoft.AspNetCore.Grpc.Swagger.Tests (70)
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Messages.cs (26)
232if (ReferenceEquals(other, null)) {
235if (ReferenceEquals(other, this)) {
550if (ReferenceEquals(other, null)) {
553if (ReferenceEquals(other, this)) {
962if (ReferenceEquals(other, null)) {
965if (ReferenceEquals(other, this)) {
1559if (ReferenceEquals(other, null)) {
1562if (ReferenceEquals(other, this)) {
1876if (ReferenceEquals(other, null)) {
1879if (ReferenceEquals(other, this)) {
2329if (ReferenceEquals(other, null)) {
2332if (ReferenceEquals(other, this)) {
2535if (ReferenceEquals(other, null)) {
2538if (ReferenceEquals(other, this)) {
2731if (ReferenceEquals(other, null)) {
2734if (ReferenceEquals(other, this)) {
2945if (ReferenceEquals(other, null)) {
2948if (ReferenceEquals(other, this)) {
3165if (ReferenceEquals(other, null)) {
3168if (ReferenceEquals(other, this)) {
3525if (ReferenceEquals(other, null)) {
3528if (ReferenceEquals(other, this)) {
3796if (ReferenceEquals(other, null)) {
3799if (ReferenceEquals(other, this)) {
3976if (ReferenceEquals(other, null)) {
3979if (ReferenceEquals(other, this)) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Parameters.cs (16)
175if (ReferenceEquals(other, null)) {
178if (ReferenceEquals(other, this)) {
428if (ReferenceEquals(other, null)) {
431if (ReferenceEquals(other, this)) {
728if (ReferenceEquals(other, null)) {
731if (ReferenceEquals(other, this)) {
951if (ReferenceEquals(other, null)) {
954if (ReferenceEquals(other, this)) {
1215if (ReferenceEquals(other, null)) {
1218if (ReferenceEquals(other, this)) {
1504if (ReferenceEquals(other, null)) {
1507if (ReferenceEquals(other, this)) {
1763if (ReferenceEquals(other, null)) {
1766if (ReferenceEquals(other, this)) {
1953if (ReferenceEquals(other, null)) {
1956if (ReferenceEquals(other, this)) {
Microsoft.AspNetCore.HostFiltering.Tests (2)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Hosting.Tests (7)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Abstractions (11)
HttpProtocol.cs (5)
54return object.ReferenceEquals(Http09, protocol) || StringComparer.OrdinalIgnoreCase.Equals(Http09, protocol);
66return object.ReferenceEquals(Http10, protocol) || StringComparer.OrdinalIgnoreCase.Equals(Http10, protocol);
78return object.ReferenceEquals(Http11, protocol) || StringComparer.OrdinalIgnoreCase.Equals(Http11, protocol);
90return object.ReferenceEquals(Http2, protocol) || StringComparer.OrdinalIgnoreCase.Equals(Http2, protocol);
102return object.ReferenceEquals(Http3, protocol) || StringComparer.OrdinalIgnoreCase.Equals(Http3, protocol);
Microsoft.AspNetCore.Http.Connections.Client (4)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Tests (3)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.Core (9)
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.RazorPages (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.Routing (16)
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (397)
Internal\Http\HttpHeaders.Generated.cs (372)
2596if (ReferenceEquals(HeaderNames.TE, key))
2619if (ReferenceEquals(HeaderNames.Via, key))
2642if (ReferenceEquals(HeaderNames.Host, key))
2651if (ReferenceEquals(HeaderNames.Date, key))
2660if (ReferenceEquals(HeaderNames.From, key))
2701if (ReferenceEquals(InternalHeaderNames.Path, key))
2710if (ReferenceEquals(HeaderNames.Range, key))
2742if (ReferenceEquals(HeaderNames.Accept, key))
2751if (ReferenceEquals(HeaderNames.Cookie, key))
2760if (ReferenceEquals(HeaderNames.Expect, key))
2769if (ReferenceEquals(HeaderNames.Origin, key))
2778if (ReferenceEquals(HeaderNames.Pragma, key))
2837if (ReferenceEquals(InternalHeaderNames.Method, key))
2846if (ReferenceEquals(InternalHeaderNames.Scheme, key))
2855if (ReferenceEquals(HeaderNames.Baggage, key))
2864if (ReferenceEquals(HeaderNames.Referer, key))
2873if (ReferenceEquals(HeaderNames.Upgrade, key))
2882if (ReferenceEquals(HeaderNames.Warning, key))
2950if (ReferenceEquals(InternalHeaderNames.AltUsed, key))
2959if (ReferenceEquals(HeaderNames.IfMatch, key))
2968if (ReferenceEquals(HeaderNames.IfRange, key))
3009if (ReferenceEquals(InternalHeaderNames.Protocol, key))
3018if (ReferenceEquals(HeaderNames.Translate, key))
3050if (ReferenceEquals(HeaderNames.Connection, key))
3059if (ReferenceEquals(HeaderNames.UserAgent, key))
3068if (ReferenceEquals(InternalHeaderNames.Authority, key))
3077if (ReferenceEquals(HeaderNames.KeepAlive, key))
3086if (ReferenceEquals(HeaderNames.RequestId, key))
3095if (ReferenceEquals(HeaderNames.TraceState, key))
3163if (ReferenceEquals(HeaderNames.TraceParent, key))
3186if (ReferenceEquals(HeaderNames.ContentType, key))
3195if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
3204if (ReferenceEquals(HeaderNames.MaxForwards, key))
3245if (ReferenceEquals(HeaderNames.Authorization, key))
3254if (ReferenceEquals(HeaderNames.CacheControl, key))
3263if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
3272if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
3322if (ReferenceEquals(HeaderNames.AcceptCharset, key))
3331if (ReferenceEquals(HeaderNames.ContentLength, key))
3363if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
3372if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
3404if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
3413if (ReferenceEquals(HeaderNames.TransferEncoding, key))
3445if (ReferenceEquals(HeaderNames.CorrelationContext, key))
3454if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
3463if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
3504if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
3527if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
3550if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
3573if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
3605if (ReferenceEquals(HeaderNames.TE, key))
3622if (ReferenceEquals(HeaderNames.Via, key))
3639if (ReferenceEquals(HeaderNames.Host, key))
3645if (ReferenceEquals(HeaderNames.Date, key))
3651if (ReferenceEquals(HeaderNames.From, key))
3680if (ReferenceEquals(InternalHeaderNames.Path, key))
3686if (ReferenceEquals(HeaderNames.Range, key))
3709if (ReferenceEquals(HeaderNames.Accept, key))
3715if (ReferenceEquals(HeaderNames.Cookie, key))
3721if (ReferenceEquals(HeaderNames.Expect, key))
3727if (ReferenceEquals(HeaderNames.Origin, key))
3733if (ReferenceEquals(HeaderNames.Pragma, key))
3774if (ReferenceEquals(InternalHeaderNames.Method, key))
3780if (ReferenceEquals(InternalHeaderNames.Scheme, key))
3786if (ReferenceEquals(HeaderNames.Baggage, key))
3792if (ReferenceEquals(HeaderNames.Referer, key))
3798if (ReferenceEquals(HeaderNames.Upgrade, key))
3804if (ReferenceEquals(HeaderNames.Warning, key))
3851if (ReferenceEquals(InternalHeaderNames.AltUsed, key))
3857if (ReferenceEquals(HeaderNames.IfMatch, key))
3863if (ReferenceEquals(HeaderNames.IfRange, key))
3892if (ReferenceEquals(InternalHeaderNames.Protocol, key))
3898if (ReferenceEquals(HeaderNames.Translate, key))
3921if (ReferenceEquals(HeaderNames.Connection, key))
3927if (ReferenceEquals(HeaderNames.UserAgent, key))
3933if (ReferenceEquals(InternalHeaderNames.Authority, key))
3939if (ReferenceEquals(HeaderNames.KeepAlive, key))
3945if (ReferenceEquals(HeaderNames.RequestId, key))
3951if (ReferenceEquals(HeaderNames.TraceState, key))
3998if (ReferenceEquals(HeaderNames.TraceParent, key))
4015if (ReferenceEquals(HeaderNames.ContentType, key))
4021if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
4027if (ReferenceEquals(HeaderNames.MaxForwards, key))
4056if (ReferenceEquals(HeaderNames.Authorization, key))
4062if (ReferenceEquals(HeaderNames.CacheControl, key))
4068if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
4074if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
4109if (ReferenceEquals(HeaderNames.AcceptCharset, key))
4115if (ReferenceEquals(HeaderNames.ContentLength, key))
4136if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
4142if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
4165if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
4171if (ReferenceEquals(HeaderNames.TransferEncoding, key))
4194if (ReferenceEquals(HeaderNames.CorrelationContext, key))
4200if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
4206if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
4235if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
4252if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
4269if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
4286if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
4312if (ReferenceEquals(HeaderNames.TE, key))
4337if (ReferenceEquals(HeaderNames.Via, key))
4362if (ReferenceEquals(HeaderNames.Host, key))
4372if (ReferenceEquals(HeaderNames.Date, key))
4382if (ReferenceEquals(HeaderNames.From, key))
4427if (ReferenceEquals(InternalHeaderNames.Path, key))
4437if (ReferenceEquals(HeaderNames.Range, key))
4472if (ReferenceEquals(HeaderNames.Accept, key))
4482if (ReferenceEquals(HeaderNames.Cookie, key))
4492if (ReferenceEquals(HeaderNames.Expect, key))
4502if (ReferenceEquals(HeaderNames.Origin, key))
4512if (ReferenceEquals(HeaderNames.Pragma, key))
4577if (ReferenceEquals(InternalHeaderNames.Method, key))
4587if (ReferenceEquals(InternalHeaderNames.Scheme, key))
4597if (ReferenceEquals(HeaderNames.Baggage, key))
4607if (ReferenceEquals(HeaderNames.Referer, key))
4617if (ReferenceEquals(HeaderNames.Upgrade, key))
4627if (ReferenceEquals(HeaderNames.Warning, key))
4702if (ReferenceEquals(InternalHeaderNames.AltUsed, key))
4712if (ReferenceEquals(HeaderNames.IfMatch, key))
4722if (ReferenceEquals(HeaderNames.IfRange, key))
4767if (ReferenceEquals(InternalHeaderNames.Protocol, key))
4777if (ReferenceEquals(HeaderNames.Translate, key))
4812if (ReferenceEquals(HeaderNames.Connection, key))
4822if (ReferenceEquals(HeaderNames.UserAgent, key))
4832if (ReferenceEquals(InternalHeaderNames.Authority, key))
4842if (ReferenceEquals(HeaderNames.KeepAlive, key))
4852if (ReferenceEquals(HeaderNames.RequestId, key))
4862if (ReferenceEquals(HeaderNames.TraceState, key))
4937if (ReferenceEquals(HeaderNames.TraceParent, key))
4962if (ReferenceEquals(HeaderNames.ContentType, key))
4972if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
4982if (ReferenceEquals(HeaderNames.MaxForwards, key))
5027if (ReferenceEquals(HeaderNames.Authorization, key))
5037if (ReferenceEquals(HeaderNames.CacheControl, key))
5047if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
5057if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
5112if (ReferenceEquals(HeaderNames.AcceptCharset, key))
5122if (ReferenceEquals(HeaderNames.ContentLength, key))
5155if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
5165if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
5200if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
5210if (ReferenceEquals(HeaderNames.TransferEncoding, key))
5245if (ReferenceEquals(HeaderNames.CorrelationContext, key))
5255if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
5265if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
5310if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
5335if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
5360if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
5385if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
5419if (ReferenceEquals(HeaderNames.TE, key))
5444if (ReferenceEquals(HeaderNames.Via, key))
5469if (ReferenceEquals(HeaderNames.Host, key))
5479if (ReferenceEquals(HeaderNames.Date, key))
5489if (ReferenceEquals(HeaderNames.From, key))
5534if (ReferenceEquals(InternalHeaderNames.Path, key))
5544if (ReferenceEquals(HeaderNames.Range, key))
5579if (ReferenceEquals(HeaderNames.Accept, key))
5589if (ReferenceEquals(HeaderNames.Cookie, key))
5599if (ReferenceEquals(HeaderNames.Expect, key))
5609if (ReferenceEquals(HeaderNames.Origin, key))
5619if (ReferenceEquals(HeaderNames.Pragma, key))
5684if (ReferenceEquals(InternalHeaderNames.Method, key))
5694if (ReferenceEquals(InternalHeaderNames.Scheme, key))
5704if (ReferenceEquals(HeaderNames.Baggage, key))
5714if (ReferenceEquals(HeaderNames.Referer, key))
5724if (ReferenceEquals(HeaderNames.Upgrade, key))
5734if (ReferenceEquals(HeaderNames.Warning, key))
5809if (ReferenceEquals(InternalHeaderNames.AltUsed, key))
5819if (ReferenceEquals(HeaderNames.IfMatch, key))
5829if (ReferenceEquals(HeaderNames.IfRange, key))
5874if (ReferenceEquals(InternalHeaderNames.Protocol, key))
5884if (ReferenceEquals(HeaderNames.Translate, key))
5919if (ReferenceEquals(HeaderNames.Connection, key))
5929if (ReferenceEquals(HeaderNames.UserAgent, key))
5939if (ReferenceEquals(InternalHeaderNames.Authority, key))
5949if (ReferenceEquals(HeaderNames.KeepAlive, key))
5959if (ReferenceEquals(HeaderNames.RequestId, key))
5969if (ReferenceEquals(HeaderNames.TraceState, key))
6044if (ReferenceEquals(HeaderNames.TraceParent, key))
6069if (ReferenceEquals(HeaderNames.ContentType, key))
6079if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
6089if (ReferenceEquals(HeaderNames.MaxForwards, key))
6134if (ReferenceEquals(HeaderNames.Authorization, key))
6144if (ReferenceEquals(HeaderNames.CacheControl, key))
6154if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
6164if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
6219if (ReferenceEquals(HeaderNames.AcceptCharset, key))
6229if (ReferenceEquals(HeaderNames.ContentLength, key))
6262if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
6272if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
6307if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
6317if (ReferenceEquals(HeaderNames.TransferEncoding, key))
6352if (ReferenceEquals(HeaderNames.CorrelationContext, key))
6362if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
6372if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
6417if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
6442if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
6467if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
6492if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
7781var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
7990var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
8159var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
10882if (ReferenceEquals(HeaderNames.Age, key))
10891if (ReferenceEquals(HeaderNames.Via, key))
10923if (ReferenceEquals(HeaderNames.Date, key))
10932if (ReferenceEquals(HeaderNames.ETag, key))
10941if (ReferenceEquals(HeaderNames.Vary, key))
10982if (ReferenceEquals(HeaderNames.Allow, key))
11005if (ReferenceEquals(HeaderNames.Server, key))
11014if (ReferenceEquals(HeaderNames.Pragma, key))
11046if (ReferenceEquals(HeaderNames.AltSvc, key))
11055if (ReferenceEquals(HeaderNames.Expires, key))
11064if (ReferenceEquals(HeaderNames.Trailer, key))
11073if (ReferenceEquals(HeaderNames.Upgrade, key))
11082if (ReferenceEquals(HeaderNames.Warning, key))
11141if (ReferenceEquals(HeaderNames.Location, key))
11164if (ReferenceEquals(HeaderNames.Connection, key))
11173if (ReferenceEquals(HeaderNames.KeepAlive, key))
11182if (ReferenceEquals(HeaderNames.SetCookie, key))
11223if (ReferenceEquals(HeaderNames.ContentMD5, key))
11232if (ReferenceEquals(HeaderNames.RetryAfter, key))
11264if (ReferenceEquals(HeaderNames.ContentType, key))
11287if (ReferenceEquals(HeaderNames.AcceptRanges, key))
11296if (ReferenceEquals(HeaderNames.CacheControl, key))
11305if (ReferenceEquals(HeaderNames.ContentRange, key))
11314if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
11323if (ReferenceEquals(HeaderNames.LastModified, key))
11382if (ReferenceEquals(HeaderNames.ContentLength, key))
11405if (ReferenceEquals(HeaderNames.ContentEncoding, key))
11414if (ReferenceEquals(HeaderNames.ContentLanguage, key))
11423if (ReferenceEquals(HeaderNames.ContentLocation, key))
11432if (ReferenceEquals(HeaderNames.ProxyConnection, key))
11441if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
11500if (ReferenceEquals(HeaderNames.TransferEncoding, key))
11523if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
11546if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
11569if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
11592if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
11601if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
11633if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
11656if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
11689if (ReferenceEquals(HeaderNames.Age, key))
11695if (ReferenceEquals(HeaderNames.Via, key))
11718if (ReferenceEquals(HeaderNames.Date, key))
11725if (ReferenceEquals(HeaderNames.ETag, key))
11731if (ReferenceEquals(HeaderNames.Vary, key))
11761if (ReferenceEquals(HeaderNames.Allow, key))
11778if (ReferenceEquals(HeaderNames.Server, key))
11785if (ReferenceEquals(HeaderNames.Pragma, key))
11809if (ReferenceEquals(HeaderNames.AltSvc, key))
11816if (ReferenceEquals(HeaderNames.Expires, key))
11822if (ReferenceEquals(HeaderNames.Trailer, key))
11828if (ReferenceEquals(HeaderNames.Upgrade, key))
11834if (ReferenceEquals(HeaderNames.Warning, key))
11876if (ReferenceEquals(HeaderNames.Location, key))
11893if (ReferenceEquals(HeaderNames.Connection, key))
11900if (ReferenceEquals(HeaderNames.KeepAlive, key))
11906if (ReferenceEquals(HeaderNames.SetCookie, key))
11936if (ReferenceEquals(HeaderNames.ContentMD5, key))
11942if (ReferenceEquals(HeaderNames.RetryAfter, key))
11965if (ReferenceEquals(HeaderNames.ContentType, key))
11982if (ReferenceEquals(HeaderNames.AcceptRanges, key))
11988if (ReferenceEquals(HeaderNames.CacheControl, key))
11994if (ReferenceEquals(HeaderNames.ContentRange, key))
12000if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
12006if (ReferenceEquals(HeaderNames.LastModified, key))
12047if (ReferenceEquals(HeaderNames.ContentLength, key))
12062if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12068if (ReferenceEquals(HeaderNames.ContentLanguage, key))
12074if (ReferenceEquals(HeaderNames.ContentLocation, key))
12080if (ReferenceEquals(HeaderNames.ProxyConnection, key))
12086if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
12127if (ReferenceEquals(HeaderNames.TransferEncoding, key))
12146if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
12163if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
12180if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
12197if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
12203if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
12226if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
12243if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
12270if (ReferenceEquals(HeaderNames.Age, key))
12280if (ReferenceEquals(HeaderNames.Via, key))
12315if (ReferenceEquals(HeaderNames.Date, key))
12326if (ReferenceEquals(HeaderNames.ETag, key))
12336if (ReferenceEquals(HeaderNames.Vary, key))
12382if (ReferenceEquals(HeaderNames.Allow, key))
12407if (ReferenceEquals(HeaderNames.Server, key))
12418if (ReferenceEquals(HeaderNames.Pragma, key))
12454if (ReferenceEquals(HeaderNames.AltSvc, key))
12465if (ReferenceEquals(HeaderNames.Expires, key))
12475if (ReferenceEquals(HeaderNames.Trailer, key))
12485if (ReferenceEquals(HeaderNames.Upgrade, key))
12495if (ReferenceEquals(HeaderNames.Warning, key))
12561if (ReferenceEquals(HeaderNames.Location, key))
12586if (ReferenceEquals(HeaderNames.Connection, key))
12597if (ReferenceEquals(HeaderNames.KeepAlive, key))
12607if (ReferenceEquals(HeaderNames.SetCookie, key))
12653if (ReferenceEquals(HeaderNames.ContentMD5, key))
12663if (ReferenceEquals(HeaderNames.RetryAfter, key))
12698if (ReferenceEquals(HeaderNames.ContentType, key))
12723if (ReferenceEquals(HeaderNames.AcceptRanges, key))
12733if (ReferenceEquals(HeaderNames.CacheControl, key))
12743if (ReferenceEquals(HeaderNames.ContentRange, key))
12753if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
12763if (ReferenceEquals(HeaderNames.LastModified, key))
12828if (ReferenceEquals(HeaderNames.ContentLength, key))
12851if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12861if (ReferenceEquals(HeaderNames.ContentLanguage, key))
12871if (ReferenceEquals(HeaderNames.ContentLocation, key))
12881if (ReferenceEquals(HeaderNames.ProxyConnection, key))
12891if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
12956if (ReferenceEquals(HeaderNames.TransferEncoding, key))
12983if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
13008if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
13033if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
13058if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
13068if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
13103if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
13128if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
13162if (ReferenceEquals(HeaderNames.Age, key))
13172if (ReferenceEquals(HeaderNames.Via, key))
13207if (ReferenceEquals(HeaderNames.Date, key))
13218if (ReferenceEquals(HeaderNames.ETag, key))
13228if (ReferenceEquals(HeaderNames.Vary, key))
13274if (ReferenceEquals(HeaderNames.Allow, key))
13299if (ReferenceEquals(HeaderNames.Server, key))
13310if (ReferenceEquals(HeaderNames.Pragma, key))
13346if (ReferenceEquals(HeaderNames.AltSvc, key))
13357if (ReferenceEquals(HeaderNames.Expires, key))
13367if (ReferenceEquals(HeaderNames.Trailer, key))
13377if (ReferenceEquals(HeaderNames.Upgrade, key))
13387if (ReferenceEquals(HeaderNames.Warning, key))
13453if (ReferenceEquals(HeaderNames.Location, key))
13478if (ReferenceEquals(HeaderNames.Connection, key))
13489if (ReferenceEquals(HeaderNames.KeepAlive, key))
13499if (ReferenceEquals(HeaderNames.SetCookie, key))
13545if (ReferenceEquals(HeaderNames.ContentMD5, key))
13555if (ReferenceEquals(HeaderNames.RetryAfter, key))
13590if (ReferenceEquals(HeaderNames.ContentType, key))
13615if (ReferenceEquals(HeaderNames.AcceptRanges, key))
13625if (ReferenceEquals(HeaderNames.CacheControl, key))
13635if (ReferenceEquals(HeaderNames.ContentRange, key))
13645if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
13655if (ReferenceEquals(HeaderNames.LastModified, key))
13720if (ReferenceEquals(HeaderNames.ContentLength, key))
13743if (ReferenceEquals(HeaderNames.ContentEncoding, key))
13753if (ReferenceEquals(HeaderNames.ContentLanguage, key))
13763if (ReferenceEquals(HeaderNames.ContentLocation, key))
13773if (ReferenceEquals(HeaderNames.ProxyConnection, key))
13783if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
13848if (ReferenceEquals(HeaderNames.TransferEncoding, key))
13875if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
13900if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
13925if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
13950if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
13960if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
13995if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
14020if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
15169var encoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector)
17179if (ReferenceEquals(HeaderNames.ETag, key))
17202if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17225if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17258if (ReferenceEquals(HeaderNames.ETag, key))
17275if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17292if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17319if (ReferenceEquals(HeaderNames.ETag, key))
17344if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17369if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17403if (ReferenceEquals(HeaderNames.ETag, key))
17428if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17453if (ReferenceEquals(HeaderNames.GrpcMessage, key))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Microsoft.AspNetCore.Shared.Tests (4)
Microsoft.AspNetCore.SignalR.Client.Core (8)
HubConnection.cs (5)
1277SafeAssert(ReferenceEquals(expectedConnectionState, connectionState), "The connection state changed unexpectedly!");
1735SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, connectionState),
1869SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
1910SafeAssert(ReferenceEquals(_state.CurrentConnectionStateUnsynchronized, null),
2366SafeAssert(ReferenceEquals(_hubConnection._state.CurrentConnectionStateUnsynchronized, this),
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (12)
HubConnectionTests.Tracing.cs (12)
42ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
237ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
381ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
484ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
580ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
670ShouldListenTo = activitySource => ReferenceEquals(activitySource, serverSource) || ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
Microsoft.AspNetCore.SignalR.Client.Tests (5)
HubConnectionTests.Tracing.cs (5)
29ShouldListenTo = activitySource => ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
66ShouldListenTo = activitySource => ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
104ShouldListenTo = activitySource => ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
138ShouldListenTo = activitySource => ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
176ShouldListenTo = activitySource => ReferenceEquals(activitySource, clientSourceContainer.ActivitySource),
Microsoft.AspNetCore.SignalR.Tests (18)
HubConnectionHandlerTests.Activity.cs (18)
37ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
38|| ReferenceEquals(activitySource, hubMethodTestSource.ActivitySource) || ReferenceEquals(activitySource, signalrSource),
112ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
113|| ReferenceEquals(activitySource, hubMethodTestSource.ActivitySource) || ReferenceEquals(activitySource, signalrSource),
181ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
182|| ReferenceEquals(activitySource, signalrSource),
240ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
241|| ReferenceEquals(activitySource, signalrSource),
313ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
314|| ReferenceEquals(activitySource, signalrSource),
360ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
361|| ReferenceEquals(activitySource, signalrSource),
412ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
413|| ReferenceEquals(activitySource, signalrSource),
463ShouldListenTo = activitySource => (ReferenceEquals(activitySource, testSource))
464|| ReferenceEquals(activitySource, signalrSource),
Microsoft.Build (51)
Definition\Project.cs (6)
1809ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(Xml, otherXml), "OM_CannotModifyEvaluatedObjectInImportedFile", otherXml.Location.File);
2938ReferenceEquals(property.Xml.ContainingProject, Xml))
3360if (ReferenceEquals(Xml, xmlRootElement))
3365if (_data.ImportClosure.Any(import => ReferenceEquals(import.ImportedProject, xmlRootElement)))
3585ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(Xml, otherXml), "OM_CannotModifyEvaluatedObjectInImportedFile", otherXml.Location.File);
3927IEnumerable<ProjectRootElement> children = _data.ImportClosure.Where(resolvedImport => ReferenceEquals(resolvedImport.ImportingElement, import)).Select(triple => triple.ImportedProject);
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (85)
Definition\DefinitionEditing_Tests.cs (18)
484Assert.True(object.ReferenceEquals(item1, item2));
547Assert.True(object.ReferenceEquals(item1, item2));
572Assert.False(object.ReferenceEquals(item1, item2));
899Assert.True(object.ReferenceEquals(item.Xml, newItemElement));
927Assert.True(object.ReferenceEquals(item.Xml, newItemElement));
953Assert.True(object.ReferenceEquals(item.Xml, newItemElement));
1190Assert.True(object.ReferenceEquals(itemGroupElement, item.Xml.Parent));
1198Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItems("j"))));
1199Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItemsIgnoringCondition("j"))));
1200Assert.True(object.ReferenceEquals(item, Helpers.GetFirst(project.GetItemsByEvaluatedInclude("i1"))));
1237Assert.True(object.ReferenceEquals(itemElement, metadatumElement1.Parent));
1284Assert.True(object.ReferenceEquals(itemGroupElement, item.Xml.Parent));
1285Assert.True(object.ReferenceEquals(itemGroupElement, Helpers.GetFirst(project.GetItems("i")).Xml.Parent));
1942Assert.True(object.ReferenceEquals(metadatum1, metadatum2));
1955Assert.True(object.ReferenceEquals(items[0].Xml, items[1].Xml));
2405Assert.True(object.ReferenceEquals(item1, item2));
2464Assert.True(object.ReferenceEquals(item1, item2));
2489Assert.False(object.ReferenceEquals(item1, item2));
Definition\Project_Tests.cs (17)
612object.ReferenceEquals(imports.First().ImportingElement, xml.Imports.ElementAt(0)).ShouldBeTrue();
616object.ReferenceEquals(imports.First().ImportedProject, ProjectRootElement.Open(importPath)).ShouldBeTrue();
1652object.ReferenceEquals(property1, property2).ShouldBeFalse(); // different object indicates reevaluation occurred
2576object.ReferenceEquals(zero, logicalProject[0].ContainingProject).ShouldBeTrue();
2577object.ReferenceEquals(zero, logicalProject[1].ContainingProject).ShouldBeTrue();
2578object.ReferenceEquals(one, logicalProject[2].ContainingProject).ShouldBeTrue();
2579object.ReferenceEquals(one, logicalProject[3].ContainingProject).ShouldBeTrue();
2580object.ReferenceEquals(three, logicalProject[4].ContainingProject).ShouldBeTrue();
2581object.ReferenceEquals(three, logicalProject[5].ContainingProject).ShouldBeTrue();
2582object.ReferenceEquals(two, logicalProject[6].ContainingProject).ShouldBeTrue();
2583object.ReferenceEquals(two, logicalProject[7].ContainingProject).ShouldBeTrue();
2622object.ReferenceEquals(zero, logicalProject[0].ContainingProject).ShouldBeTrue(); // PropertyGroup
2623object.ReferenceEquals(zero, logicalProject[1].ContainingProject).ShouldBeTrue(); // p = 0
2624object.ReferenceEquals(one, logicalProject[2].ContainingProject).ShouldBeTrue(); // PropertyGroup
2625object.ReferenceEquals(one, logicalProject[3].ContainingProject).ShouldBeTrue(); // p = 1
2626object.ReferenceEquals(two, logicalProject[4].ContainingProject).ShouldBeTrue(); // PropertyGroup
2627object.ReferenceEquals(two, logicalProject[5].ContainingProject).ShouldBeTrue(); // p = 2
Definition\ProjectCollection_Tests.cs (16)
73Assert.True(ReferenceEquals(project, project2));
102Assert.True(ReferenceEquals(project, project2));
131Assert.True(ReferenceEquals(project, project2));
151Assert.True(ReferenceEquals(project, project2));
328Assert.True(ReferenceEquals(project2, collection.LoadProject("c:\\1")));
329Assert.False(ReferenceEquals(project1, collection.LoadProject("c:\\1")));
350Assert.True(ReferenceEquals(project1.Xml, project1b.Xml));
355Assert.False(ReferenceEquals(project1.Xml, project2.Xml));
425Assert.True(ReferenceEquals(project1, ProjectCollection.GlobalProjectCollection.LoadProject(projectDirectory, globalProperties1, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
426Assert.True(ReferenceEquals(project2, ProjectCollection.GlobalProjectCollection.LoadProject(projectDirectory, globalProperties2, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
513Assert.True(ReferenceEquals(project1, ProjectCollection.GlobalProjectCollection.LoadProject("c:\\1", null, "2.0")));
514Assert.True(ReferenceEquals(project2, ProjectCollection.GlobalProjectCollection.LoadProject("c:\\1", null, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
536Assert.True(ReferenceEquals(project, project2));
558Assert.True(ReferenceEquals(project, project2));
575Assert.True(ReferenceEquals(project, newProject));
794Assert.True(ReferenceEquals(project, Helpers.MakeList(ProjectCollection.GlobalProjectCollection.LoadedProjects)[0]));
Definition\ProjectItem_Tests.cs (16)
82Assert.True(Object.ReferenceEquals(project, item.Project));
172Assert.True(Object.ReferenceEquals(m0, idm0));
173Assert.False(Object.ReferenceEquals(m1, idm1));
1208Assert.True(Object.ReferenceEquals(item1.GetMetadata("m").Xml, item2.GetMetadata("m").Xml));
1406Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("l").Xml, project.GetItems("m").First().GetMetadata("l").Xml));
1407Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("m").Xml, project.GetItems("m").First().GetMetadata("m").Xml));
1408Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("n").Xml, project.GetItems("m").First().GetMetadata("n").Xml));
1409Assert.True(Object.ReferenceEquals(project.GetItems("j").First().GetMetadata("o").Xml, project.GetItems("k").First().GetMetadata("o").Xml));
1410Assert.True(Object.ReferenceEquals(project.GetItems("k").First().GetMetadata("p").Xml, project.GetItems("m").First().GetMetadata("p").Xml));
1411Assert.True(!Object.ReferenceEquals(project.GetItems("j").First().GetMetadata("p").Xml, project.GetItems("m").First().GetMetadata("p").Xml));
1504Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("l").Xml, project.GetItems("m").First().GetMetadata("l").Xml));
1505Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("m").Xml, project.GetItems("m").First().GetMetadata("m").Xml));
1506Assert.True(Object.ReferenceEquals(project.GetItems("i").First().GetMetadata("n").Xml, project.GetItems("m").First().GetMetadata("n").Xml));
1507Assert.True(Object.ReferenceEquals(project.GetItems("j").First().GetMetadata("o").Xml, project.GetItems("k").First().GetMetadata("o").Xml));
1508Assert.True(Object.ReferenceEquals(project.GetItems("k").First().GetMetadata("p").Xml, project.GetItems("m").First().GetMetadata("p").Xml));
1509Assert.True(!Object.ReferenceEquals(project.GetItems("j").First().GetMetadata("p").Xml, project.GetItems("m").First().GetMetadata("p").Xml));
Microsoft.Build.Engine.UnitTests (31)
Microsoft.Build.Framework (5)
Microsoft.Build.Tasks.Core (13)
Microsoft.Build.UnitTests.Shared (2)
Microsoft.Build.Utilities.Core (3)
Microsoft.CodeAnalysis (90)
ConstantValueSpecialized.cs (12)
50return ReferenceEquals(this, other);
107return ReferenceEquals(this, other);
428return ReferenceEquals(this, other);
456if (ReferenceEquals(other, this))
461if (ReferenceEquals(other, null))
479if (ReferenceEquals(other, this))
484if (ReferenceEquals(other, null))
502if (ReferenceEquals(other, this))
507if (ReferenceEquals(other, null))
654return ReferenceEquals(this, other);
672if (ReferenceEquals(other, this))
677if (ReferenceEquals(other, null))
Microsoft.CodeAnalysis.CodeStyle (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
55if (ReferenceEquals(this, other))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
23if (ReferenceEquals(x, y))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
25if (ReferenceEquals(x, y))
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.CSharp (222)
Symbols\Retargeting\RetargetingSymbolTranslator.cs (27)
44Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
50Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
56Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
62Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
88Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
94Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
100Debug.Assert(ReferenceEquals(symbol.ContainingModule, _underlyingModule));
239if (ReferenceEquals(retargetFrom, this.RetargetingAssembly.UnderlyingAssembly))
256if (ReferenceEquals(retargetFrom, this.RetargetingAssembly.UnderlyingAssembly))
281if (ReferenceEquals(module, this.UnderlyingModule))
489if (ReferenceEquals(type, originalDefinition))
499Debug.Assert(originalDefinition.Arity == 0 || !ReferenceEquals(type.ConstructedFrom, type));
502if (ReferenceEquals(newDefinition, originalDefinition))
876Debug.Assert(ReferenceEquals(method.ContainingModule, this.UnderlyingModule));
877Debug.Assert(ReferenceEquals(method, method.OriginalDefinition));
886if (ReferenceEquals(method.ContainingModule, this.UnderlyingModule) && ReferenceEquals(method, method.OriginalDefinition))
894if (ReferenceEquals(retargetedType, containingType))
926Debug.Assert(ReferenceEquals(property.ContainingModule, this.UnderlyingModule));
927Debug.Assert(ReferenceEquals(property, property.OriginalDefinition));
934if (ReferenceEquals(property.ContainingModule, this.UnderlyingModule) && ReferenceEquals(property, property.OriginalDefinition))
943return ReferenceEquals(retargetedType, containingType) ?
950if (ReferenceEquals(@event.ContainingModule, this.UnderlyingModule) && ReferenceEquals(@event, @event.OriginalDefinition))
959return ReferenceEquals(retargetedType, containingType) ?
1320Debug.Assert(ReferenceEquals(symbol, _retargetingModule.UnderlyingModule));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.LanguageServer.Protocol (19)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.Scripting (4)
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (27)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
55if (ReferenceEquals(this, other))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
23if (ReferenceEquals(x, y))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
25if (ReferenceEquals(x, y))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (1)
Microsoft.Data.Analysis.Tests (9)
Microsoft.DotNet.AsmDiff (1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.NuGetRepack.Tests (2)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.SignCheck (1)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.VersionTools (2)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
Microsoft.Extensions.Caching.Hybrid (2)
Microsoft.Extensions.Caching.StackExchangeRedis (1)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (8)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Http (2)
Microsoft.Extensions.Http.Resilience.Tests (4)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
Microsoft.Gen.ContextualOptions (1)
Microsoft.Gen.Logging (1)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.LibraryImportGenerator (10)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (10)
524if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessValueInRequiresConvertToUnmanagedRule))
528if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessLinearCollectionRequiresTwoParameterAllocateContainerForUnmanagedElementsRule))
532if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessRequiresConvertToManagedRule))
536if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessLinearCollectionInRequiresCollectionMethodsRule))
540if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessLinearCollectionOutRequiresCollectionMethodsRule))
544if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatelessLinearCollectionRequiresTwoParameterAllocateContainerForManagedElementsRule))
548if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatefulMarshallerRequiresFromManagedRule))
552if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatefulMarshallerRequiresToUnmanagedRule))
556if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatefulMarshallerRequiresToManagedRule))
560if (ReferenceEquals(errorDescriptor, CustomMarshallerAttributeAnalyzer.StatefulMarshallerRequiresFromUnmanagedRule))
Microsoft.JSInterop (2)
Microsoft.Maui.Controls (23)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.Maps (1)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.Maui.Graphics (1)
Microsoft.Maui.Graphics.Skia (1)
Microsoft.Maui.Maps (1)
Microsoft.ML.Core (13)
Utilities\Contracts.cs (13)
557if (object.ReferenceEquals(val, null))
563if (object.ReferenceEquals(val, null))
570if (object.ReferenceEquals(val, null))
577if (object.ReferenceEquals(val, null))
582if (object.ReferenceEquals(val, null))
587if (object.ReferenceEquals(val, null))
593if (object.ReferenceEquals(val, null))
864if (object.ReferenceEquals(val, null))
870if (object.ReferenceEquals(val, null))
877if (object.ReferenceEquals(val, null))
884if (object.ReferenceEquals(val, null))
891if (object.ReferenceEquals(val, null))
897if (object.ReferenceEquals(val, null))
Microsoft.ML.CpuMath (13)
src\Microsoft.ML.Core\Utilities\Contracts.cs (13)
557if (object.ReferenceEquals(val, null))
563if (object.ReferenceEquals(val, null))
570if (object.ReferenceEquals(val, null))
577if (object.ReferenceEquals(val, null))
582if (object.ReferenceEquals(val, null))
587if (object.ReferenceEquals(val, null))
593if (object.ReferenceEquals(val, null))
864if (object.ReferenceEquals(val, null))
870if (object.ReferenceEquals(val, null))
877if (object.ReferenceEquals(val, null))
884if (object.ReferenceEquals(val, null))
891if (object.ReferenceEquals(val, null))
897if (object.ReferenceEquals(val, null))
Microsoft.ML.DataView (1)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.OnnxConverter (38)
OnnxMl.cs (38)
519if (ReferenceEquals(other, null))
523if (ReferenceEquals(other, this))
1013if (ReferenceEquals(other, null))
1017if (ReferenceEquals(other, this))
1327if (ReferenceEquals(other, null))
1331if (ReferenceEquals(other, this))
1734if (ReferenceEquals(other, null))
1738if (ReferenceEquals(other, this))
2057if (ReferenceEquals(other, null))
2061if (ReferenceEquals(other, this))
2252if (ReferenceEquals(other, null))
2256if (ReferenceEquals(other, this))
2555if (ReferenceEquals(other, null))
2559if (ReferenceEquals(other, this))
3058if (ReferenceEquals(other, null))
3062if (ReferenceEquals(other, this))
3505if (ReferenceEquals(other, null))
3509if (ReferenceEquals(other, this))
3735if (ReferenceEquals(other, null))
3739if (ReferenceEquals(other, this))
3942if (ReferenceEquals(other, null))
3946if (ReferenceEquals(other, this))
4160if (ReferenceEquals(other, null))
4164if (ReferenceEquals(other, this))
4495if (ReferenceEquals(other, null))
4499if (ReferenceEquals(other, this))
4825if (ReferenceEquals(other, null))
4829if (ReferenceEquals(other, this))
5017if (ReferenceEquals(other, null))
5021if (ReferenceEquals(other, this))
5207if (ReferenceEquals(other, null))
5211if (ReferenceEquals(other, this))
5411if (ReferenceEquals(other, null))
5415if (ReferenceEquals(other, this))
5616if (ReferenceEquals(other, null))
5620if (ReferenceEquals(other, this))
5827if (ReferenceEquals(other, null))
5831if (ReferenceEquals(other, this))
Microsoft.ML.OnnxTransformer (38)
Microsoft.ML.SearchSpace (2)
Microsoft.ML.Tokenizers (12)
SentencepieceModel.cs (12)
1603if (ReferenceEquals(other, null)) {
1606if (ReferenceEquals(other, this)) {
3090if (ReferenceEquals(other, null)) {
3093if (ReferenceEquals(other, this)) {
3447if (ReferenceEquals(other, null)) {
3450if (ReferenceEquals(other, this)) {
3713if (ReferenceEquals(other, null)) {
3716if (ReferenceEquals(other, this)) {
4007if (ReferenceEquals(other, null)) {
4010if (ReferenceEquals(other, this)) {
4442if (ReferenceEquals(other, null)) {
4445if (ReferenceEquals(other, this)) {
Microsoft.ML.Transforms (1)
Microsoft.Net.Http.Headers (1)
Microsoft.NET.StringTools.net35 (1)
Microsoft.NET.StringTools.net35.UnitTests (1)
Microsoft.NET.StringTools.UnitTests (2)
Microsoft.VisualStudio.LanguageServices (8)
MSBuild (6)
MSBuildTaskHost (5)
MyFrontend (18)
artifacts\obj\MyFrontend\Debug\net8.0\Basket.cs (18)
134if (ReferenceEquals(other, null)) {
137if (ReferenceEquals(other, this)) {
344if (ReferenceEquals(other, null)) {
347if (ReferenceEquals(other, this)) {
568if (ReferenceEquals(other, null)) {
571if (ReferenceEquals(other, this)) {
832if (ReferenceEquals(other, null)) {
835if (ReferenceEquals(other, this)) {
1144if (ReferenceEquals(other, null)) {
1147if (ReferenceEquals(other, this)) {
1329if (ReferenceEquals(other, null)) {
1332if (ReferenceEquals(other, this)) {
1503if (ReferenceEquals(other, null)) {
1506if (ReferenceEquals(other, this)) {
1688if (ReferenceEquals(other, null)) {
1691if (ReferenceEquals(other, this)) {
1886if (ReferenceEquals(other, null)) {
1889if (ReferenceEquals(other, this)) {
PresentationBuildTasks (5)
PresentationCore (59)
PresentationFramework (36)
PresentationUI (1)
ReachFramework (6)
Roslyn.VisualStudio.Next.UnitTests (3)
Sandbox (18)
artifacts\obj\Sandbox\Release\net10.0\Transcoding.cs (12)
253if (ReferenceEquals(other, null)) {
256if (ReferenceEquals(other, this)) {
571if (ReferenceEquals(other, null)) {
574if (ReferenceEquals(other, this)) {
983if (ReferenceEquals(other, null)) {
986if (ReferenceEquals(other, this)) {
1580if (ReferenceEquals(other, null)) {
1583if (ReferenceEquals(other, this)) {
1897if (ReferenceEquals(other, null)) {
1900if (ReferenceEquals(other, this)) {
2363if (ReferenceEquals(other, null)) {
2366if (ReferenceEquals(other, this)) {
ScenarioTests.Common.Tests (2)
SocialWeather (2)
Stress.TelemetryService (84)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (10)
322if (ReferenceEquals(other, null)) {
325if (ReferenceEquals(other, this)) {
701if (ReferenceEquals(other, null)) {
704if (ReferenceEquals(other, this)) {
901if (ReferenceEquals(other, null)) {
904if (ReferenceEquals(other, this)) {
1106if (ReferenceEquals(other, null)) {
1109if (ReferenceEquals(other, this)) {
1387if (ReferenceEquals(other, null)) {
1390if (ReferenceEquals(other, this)) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (32)
322if (ReferenceEquals(other, null)) {
325if (ReferenceEquals(other, this)) {
549if (ReferenceEquals(other, null)) {
552if (ReferenceEquals(other, this)) {
833if (ReferenceEquals(other, null)) {
836if (ReferenceEquals(other, this)) {
1302if (ReferenceEquals(other, null)) {
1305if (ReferenceEquals(other, this)) {
1748if (ReferenceEquals(other, null)) {
1751if (ReferenceEquals(other, this)) {
1972if (ReferenceEquals(other, null)) {
1975if (ReferenceEquals(other, this)) {
2228if (ReferenceEquals(other, null)) {
2231if (ReferenceEquals(other, this)) {
2460if (ReferenceEquals(other, null)) {
2463if (ReferenceEquals(other, this)) {
2679if (ReferenceEquals(other, null)) {
2682if (ReferenceEquals(other, this)) {
3030if (ReferenceEquals(other, null)) {
3033if (ReferenceEquals(other, this)) {
3614if (ReferenceEquals(other, null)) {
3617if (ReferenceEquals(other, this)) {
4325if (ReferenceEquals(other, null)) {
4328if (ReferenceEquals(other, this)) {
4868if (ReferenceEquals(other, null)) {
4871if (ReferenceEquals(other, this)) {
5207if (ReferenceEquals(other, null)) {
5210if (ReferenceEquals(other, this)) {
5564if (ReferenceEquals(other, null)) {
5567if (ReferenceEquals(other, this)) {
5938if (ReferenceEquals(other, null)) {
5941if (ReferenceEquals(other, this)) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (14)
168if (ReferenceEquals(other, null)) {
171if (ReferenceEquals(other, this)) {
395if (ReferenceEquals(other, null)) {
398if (ReferenceEquals(other, this)) {
679if (ReferenceEquals(other, null)) {
682if (ReferenceEquals(other, this)) {
1205if (ReferenceEquals(other, null)) {
1208if (ReferenceEquals(other, this)) {
1818if (ReferenceEquals(other, null)) {
1821if (ReferenceEquals(other, this)) {
2154if (ReferenceEquals(other, null)) {
2157if (ReferenceEquals(other, this)) {
2466if (ReferenceEquals(other, null)) {
2469if (ReferenceEquals(other, this)) {
System.Collections.Concurrent (4)
System.Collections.Immutable (36)
System\Collections\Frozen\FrozenDictionary.cs (6)
102return ReferenceEquals(comparer, FrozenDictionary<TKey, TValue>.Empty.Comparer) ?
123if (typeof(TKey).IsValueType && ReferenceEquals(comparer, EqualityComparer<TKey>.Default))
161(ReferenceEquals(comparer, EqualityComparer<TKey>.Default) || ReferenceEquals(comparer, StringComparer.Ordinal) || ReferenceEquals(comparer, StringComparer.OrdinalIgnoreCase)))
188KeyAnalyzer.AnalysisResults analysis = KeyAnalyzer.Analyze(keys, ReferenceEquals(stringComparer, StringComparer.OrdinalIgnoreCase), minLength, maxLength);
System\Collections\Frozen\FrozenSet.cs (7)
33return equalityComparer is null || ReferenceEquals(equalityComparer, FrozenSet<T>.Empty.Comparer) ?
85return ReferenceEquals(comparer, FrozenSet<T>.Empty.Comparer) ?
104if (typeof(T).IsValueType && ReferenceEquals(comparer, EqualityComparer<T>.Default))
136(ReferenceEquals(comparer, EqualityComparer<T>.Default) || ReferenceEquals(comparer, StringComparer.Ordinal) || ReferenceEquals(comparer, StringComparer.OrdinalIgnoreCase)))
164KeyAnalyzer.AnalysisResults analysis = KeyAnalyzer.Analyze(entries, ReferenceEquals(stringComparer, StringComparer.OrdinalIgnoreCase), minLength, maxLength);
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (3)
System.ComponentModel.TypeConverter (6)
System.Composition.TypedParts (2)
System.Configuration.ConfigurationManager (6)
System.Data.Common (22)
System.Diagnostics.DiagnosticSource (10)
System\Diagnostics\Metrics\Instrument.cs (6)
175if (!_subscriptions.AddIfNotExist(subscription, (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener)))
177ListenerSubscription oldSubscription = _subscriptions.Remove(subscription, (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener));
178_subscriptions.AddIfNotExist(subscription, (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener));
179oldStateStored = object.ReferenceEquals(oldSubscription.Listener, subscription.Listener);
187internal object? DisableMeasurements(MeterListener listener) => _subscriptions.Remove(new ListenerSubscription(listener), (s1, s2) => object.ReferenceEquals(s1.Listener, s2.Listener)).State;
200if (object.ReferenceEquals(listener, current.Value.Listener))
System.Drawing.Common.Tests (3)
System.IO.Packaging (7)
System.Linq (1)
System.Linq.AsyncEnumerable (1)
System.Linq.Expressions (8)
System.Memory.Data (1)
System.Net.Http (12)
System.Net.Http.Json (1)
System.Net.HttpListener (3)
System.Net.Mail (4)
System.Net.Quic (1)
System.Net.Requests (8)
System.Net.Security (8)
System.Net.Sockets (1)
System.Private.CoreLib (198)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (36)
174if (ReferenceEquals(value.GetType(), targetType))
179if (ReferenceEquals(targetType, typeof(bool)))
181if (ReferenceEquals(targetType, typeof(char)))
183if (ReferenceEquals(targetType, typeof(sbyte)))
185if (ReferenceEquals(targetType, typeof(byte)))
187if (ReferenceEquals(targetType, typeof(short)))
189if (ReferenceEquals(targetType, typeof(ushort)))
191if (ReferenceEquals(targetType, typeof(int)))
193if (ReferenceEquals(targetType, typeof(uint)))
195if (ReferenceEquals(targetType, typeof(long)))
197if (ReferenceEquals(targetType, typeof(ulong)))
199if (ReferenceEquals(targetType, typeof(float)))
201if (ReferenceEquals(targetType, typeof(double)))
203if (ReferenceEquals(targetType, typeof(decimal)))
205if (ReferenceEquals(targetType, typeof(DateTime)))
207if (ReferenceEquals(targetType, typeof(string)))
209if (ReferenceEquals(targetType, typeof(object)))
212if (ReferenceEquals(targetType, typeof(Enum)))
214if (ReferenceEquals(targetType, typeof(DBNull)))
216if (ReferenceEquals(targetType, typeof(Empty)))
251if (ReferenceEquals(conversionType, typeof(bool)))
253if (ReferenceEquals(conversionType, typeof(char)))
255if (ReferenceEquals(conversionType, typeof(sbyte)))
257if (ReferenceEquals(conversionType, typeof(byte)))
259if (ReferenceEquals(conversionType, typeof(short)))
261if (ReferenceEquals(conversionType, typeof(ushort)))
263if (ReferenceEquals(conversionType, typeof(int)))
265if (ReferenceEquals(conversionType, typeof(uint)))
267if (ReferenceEquals(conversionType, typeof(long)))
269if (ReferenceEquals(conversionType, typeof(ulong)))
271if (ReferenceEquals(conversionType, typeof(float)))
273if (ReferenceEquals(conversionType, typeof(double)))
275if (ReferenceEquals(conversionType, typeof(decimal)))
277if (ReferenceEquals(conversionType, typeof(DateTime)))
279if (ReferenceEquals(conversionType, typeof(string)))
281if (ReferenceEquals(conversionType, typeof(object)))
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (18)
86if (!ReferenceEquals(_rootType, type))
344if (ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType) || value == null)
362if (ReferenceEquals(foundType, type) || type.IsAssignableFrom(foundType))
375return ReferenceEquals(foundType, typeof(bool)) ? (bool)value! : _converter.ToBoolean(value!); // if value is null To* method will either deal with it or throw
381return ReferenceEquals(foundType, typeof(char)) ? (char)value! : _converter.ToChar(value!);
388return ReferenceEquals(foundType, typeof(sbyte)) ? (sbyte)value! : _converter.ToSByte(value!);
394return ReferenceEquals(foundType, typeof(byte)) ? (byte)value! : _converter.ToByte(value!);
400return ReferenceEquals(foundType, typeof(short)) ? (short)value! : _converter.ToInt16(value!);
407return ReferenceEquals(foundType, typeof(ushort)) ? (ushort)value! : _converter.ToUInt16(value!);
413return ReferenceEquals(foundType, typeof(int)) ? (int)value! : _converter.ToInt32(value!);
420return ReferenceEquals(foundType, typeof(uint)) ? (uint)value! : _converter.ToUInt32(value!);
426return ReferenceEquals(foundType, typeof(long)) ? (long)value! : _converter.ToInt64(value!);
433return ReferenceEquals(foundType, typeof(ulong)) ? (ulong)value! : _converter.ToUInt64(value!);
439return ReferenceEquals(foundType, typeof(float)) ? (float)value! : _converter.ToSingle(value!);
446return ReferenceEquals(foundType, typeof(double)) ? (double)value! : _converter.ToDouble(value!);
452return ReferenceEquals(foundType, typeof(decimal)) ? (decimal)value! : _converter.ToDecimal(value!);
458return ReferenceEquals(foundType, typeof(DateTime)) ? (DateTime)value! : _converter.ToDateTime(value!);
464return ReferenceEquals(foundType, typeof(string)) || value == null ? (string?)value : _converter.ToString(value);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (12)
51if (ReferenceEquals(strA, strB))
219if (ReferenceEquals(strA, strB))
375if (ReferenceEquals(strA, strB))
398if (length == 0 || (ReferenceEquals(strA, strB) && indexA == indexB))
429if (ReferenceEquals(strA, strB))
464if (ReferenceEquals(strA, strB))
493if (length == 0 || (ReferenceEquals(strA, strB) && indexA == indexB))
615if (ReferenceEquals(this, obj))
631if (ReferenceEquals(this, value))
650if (ReferenceEquals(this, value))
692if (ReferenceEquals(a, b))
708if (ReferenceEquals(a, b))
src\libraries\System.Private.CoreLib\src\System\Threading\AsyncLocal.cs (34)
155return ReferenceEquals(key, _item0.Key) ?
163return ReferenceEquals(key, _item0.Key) ?
171if (ReferenceEquals(key, _item0.Key))
206ReferenceEquals(key, _item0.Key) ? new TwoElementAsyncLocalValueMap(newItem, _item1) :
207ReferenceEquals(key, _item1.Key) ? new TwoElementAsyncLocalValueMap(_item0, newItem) :
215ReferenceEquals(key, _item0.Key) ? new OneElementAsyncLocalValueMap(_item1) :
216ReferenceEquals(key, _item1.Key) ? new OneElementAsyncLocalValueMap(_item0) :
223if (ReferenceEquals(key, _item0.Key))
228else if (ReferenceEquals(key, _item1.Key))
266ReferenceEquals(key, _item0.Key) ? new ThreeElementAsyncLocalValueMap(newItem, _item1, _item2) :
267ReferenceEquals(key, _item1.Key) ? new ThreeElementAsyncLocalValueMap(_item0, newItem, _item2) :
268ReferenceEquals(key, _item2.Key) ? new ThreeElementAsyncLocalValueMap(_item0, _item1, newItem) :
276ReferenceEquals(key, _item0.Key) ? new TwoElementAsyncLocalValueMap(_item1, _item2) :
277ReferenceEquals(key, _item1.Key) ? new TwoElementAsyncLocalValueMap(_item0, _item2) :
278ReferenceEquals(key, _item2.Key) ? new TwoElementAsyncLocalValueMap(_item0, _item1) :
285if (ReferenceEquals(key, _item0.Key))
290else if (ReferenceEquals(key, _item1.Key))
295else if (ReferenceEquals(key, _item2.Key))
335ReferenceEquals(key, _item0.Key) ? new FourElementAsyncLocalValueMap(newItem, _item1, _item2, _item3) :
336ReferenceEquals(key, _item1.Key) ? new FourElementAsyncLocalValueMap(_item0, newItem, _item2, _item3) :
337ReferenceEquals(key, _item2.Key) ? new FourElementAsyncLocalValueMap(_item0, _item1, newItem, _item3) :
338ReferenceEquals(key, _item3.Key) ? new FourElementAsyncLocalValueMap(_item0, _item1, _item2, newItem) :
346ReferenceEquals(key, _item0.Key) ? new ThreeElementAsyncLocalValueMap(_item1, _item2, _item3) :
347ReferenceEquals(key, _item1.Key) ? new ThreeElementAsyncLocalValueMap(_item0, _item2, _item3) :
348ReferenceEquals(key, _item2.Key) ? new ThreeElementAsyncLocalValueMap(_item0, _item1, _item3) :
349ReferenceEquals(key, _item3.Key) ? new ThreeElementAsyncLocalValueMap(_item0, _item1, _item2) :
356if (ReferenceEquals(key, _item0.Key))
361else if (ReferenceEquals(key, _item1.Key))
366else if (ReferenceEquals(key, _item2.Key))
371else if (ReferenceEquals(key, _item3.Key))
401if (ReferenceEquals(key, _keyValues[i].Key))
468if (ReferenceEquals(key, pair.Key))
517if (!ReferenceEquals(key, pair.Key))
530if (!ReferenceEquals(key, pair.Key))
System.Private.DataContractSerialization (15)
System.Private.Uri (12)
System.Private.Windows.Core (2)
System.Private.Xml (7)
System.Reflection.Emit (3)
System.Reflection.Metadata (2)
System.Reflection.MetadataLoadContext (5)
System.Resources.Extensions (2)
System.Runtime.Caching (1)
System.Runtime.Serialization.Formatters (1)
System.Security.Claims (7)
System.Security.Cryptography (8)
System.Security.Cryptography.Pkcs (3)
System.Security.Permissions (1)
System.ServiceModel.Federation (2)
System.ServiceModel.NetFramingBase (3)
System.ServiceModel.UnixDomainSocket (5)
System.Text.Json (12)
System.Threading.Channels (3)
System.Threading.RateLimiting (3)
System.Windows.Controls.Ribbon (12)
System.Windows.Forms (6)
System.Windows.Forms.Design (19)
System.Windows.Forms.Design.Tests (1)
System.Windows.Input.Manipulations (3)
System.Xaml (14)
UIAutomationClient (1)
UnitTests.Common (1)
xunit.assert (5)
xunit.console (1)