3444 references to Empty
Analyzer.Utilities.UnitTests (1)
AnalyzerRunner (1)
aspire (13)
Aspire.Cli.Tests (24)
Aspire.Components.Common.TestUtilities (2)
Aspire.Confluent.Kafka (2)
Aspire.Dashboard (5)
Aspire.Dashboard.Tests (2)
Aspire.Hosting (5)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.CognitiveServices (1)
Aspire.Hosting.Azure.EventHubs (1)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.KeyVault (1)
Aspire.Hosting.Azure.Search (1)
Aspire.Hosting.Azure.ServiceBus (1)
Aspire.Hosting.Azure.Storage (2)
Aspire.Hosting.Azure.Tests (3)
Aspire.Hosting.Azure.WebPubSub (1)
Aspire.Hosting.GitHub.Models (1)
Aspire.Hosting.Tests (9)
Aspire.Hosting.Yarp.Tests (1)
Aspire.Microsoft.Azure.Cosmos.Tests (1)
Aspire.Microsoft.Data.SqlClient.Tests (1)
Aspire.Milvus.Client.Tests (1)
Aspire.Qdrant.Client.Tests (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
aspire-managed (2)
Binding.UDS.IntegrationTests (1)
BuildValidator (3)
CodeGenerator (1)
ConfigurationSchemaGenerator (2)
Contract.Service.IntegrationTests (1)
Crossgen2Tasks (1)
csc (1)
DemoConsole (1)
dotnet-dev-certs (1)
dotnet-svcutil-lib (55)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (4)
1194Call(message.Headers.Action, true, operation, new object[] { message }, Array.Empty<object>(), timeout);
1210EndCall(MessageHeaders.WildcardAction, Array.Empty<object>(), result);
1221return (Message)Call(message.Headers.Action, false, operation, new object[] { message }, Array.Empty<object>(), timeout);
1237return (Message)EndCall(MessageHeaders.WildcardAction, Array.Empty<object>(), result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
1183Task task = _webSocket.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, timeoutHelper.GetCancellationToken());
1209await _webSocket.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, cancelToken);
dotnet-user-jwts (1)
GenerateDocumentationAndConfigFiles (9)
GenerateRulesMissingDocumentation (1)
GetDocument.Insider (3)
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IISExpress.FunctionalTests (2)
illink (7)
ILLink.CodeFixProvider (1)
ILLink.RoslynAnalyzer (2)
InMemory.FunctionalTests (9)
Http2\Http2WebSocketTests.cs (5)
127await SendDataAsync(1, Array.Empty<byte>(), endStream: true);
218await SendDataAsync(1, Array.Empty<byte>(), endStream: true);
253await SendDataAsync(3, Array.Empty<byte>(), endStream: true);
357await SendDataAsync(1, Array.Empty<byte>(), endStream: true);
661await SendDataAsync(1, Array.Empty<byte>(), endStream: true);
InProcessWebSite (3)
Interop.FunctionalTests (1)
Metrics (8)
Metrics.Legacy (8)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Extra.Tests (2)
Microsoft.Analyzers.Local (3)
Microsoft.Analyzers.Local.Tests (25)
ApiLifecycle\ApiLifecycleAnalyzerTest.cs (19)
150Array.Empty<string>(),
165Array.Empty<string>(),
179Array.Empty<string>(),
217Array.Empty<string>(),
236Array.Empty<string>(),
279Array.Empty<string>(),
298Array.Empty<string>(),
313Array.Empty<string>(),
328Array.Empty<string>(),
394Array.Empty<string>(),
435Array.Empty<string>(),
458Array.Empty<string>(),
498Array.Empty<string>(),
524Array.Empty<string>(),
685Array.Empty<string>(),
693Array.Empty<string>(),
717Array.Empty<string>(),
740Array.Empty<string>(),
763Array.Empty<string>(),
Microsoft.AspNetCore.Antiforgery (2)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.App.Analyzers.Test (2)
Microsoft.AspNetCore.Authentication.BearerToken (5)
BearerTokenJsonSerializerContext.AccessTokenResponse.g.cs (5)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse).GetProperty("TokenType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse).GetProperty("AccessToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
110AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse).GetProperty("ExpiresIn", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
131AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse).GetProperty("RefreshToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.Authentication.Twitter (5)
Microsoft.AspNetCore.Authorization (3)
Microsoft.AspNetCore.Authorization.Policy (3)
Microsoft.AspNetCore.Authorization.Test (4)
Microsoft.AspNetCore.BrowserTesting (1)
Microsoft.AspNetCore.Components (17)
Microsoft.AspNetCore.Components.Analyzers.Tests (2)
Microsoft.AspNetCore.Components.Endpoints (26)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (15)
159Array.Empty<Type>(),
185Array.Empty<Type>(),
287Array.Empty<Type>(),
297Array.Empty<Type>(),
304Array.Empty<Type>(),
314Array.Empty<Type>(),
361Array.Empty<Expression>()));
379Array.Empty<Type>(),
398Array.Empty<Type>(),
406Array.Empty<Type>(),
461Array.Empty<Expression>()));
483Array.Empty<Type>(),
501Array.Empty<Type>(),
509Array.Empty<Type>(),
552Expression.Not(Expression.Call(readerParam, nameof(FormDataReader.CurrentPrefixExists), Array.Empty<Type>())),
ImportMapSerializerContext.ImportMapDefinition.g.cs (3)
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ImportMapDefinition).GetProperty("Imports", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ImportMapDefinition).GetProperty("Scopes", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyDictionary<string, global::System.Collections.Generic.IReadOnlyDictionary<string, string>>), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ImportMapDefinition).GetProperty("Integrity", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
ResourceCollectionSerializerContext.ResourceAsset.g.cs (2)
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ResourceAsset).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ResourceAsset).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Components.ResourceAssetProperty>), global::System.Array.Empty<global::System.Type>(), null),
ResourceCollectionSerializerContext.ResourceAssetProperty.g.cs (2)
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ResourceAssetProperty).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ResourceAssetProperty).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Components.Endpoints.Tests (29)
RazorComponentEndpointDataSourceTest.cs (17)
48Array.Empty<PageComponentBuilder>(), Array.Empty<ComponentBuilder>()));
62Array.Empty<IComponentRenderMode>(),
90Array.Empty<IComponentRenderMode>(),
119Array.Empty<IComponentRenderMode>(),
154Array.Empty<IComponentRenderMode>(),
155Array.Empty<Type>(),
160Array.Empty<IComponentRenderMode>(),
166Array.Empty<IComponentRenderMode>(),
173Array.Empty<IComponentRenderMode>(),
174Array.Empty<Type>(),
179Array.Empty<IComponentRenderMode>(),
187Array.Empty<Type>()
192Array.Empty<IComponentRenderMode>(),
193Array.Empty<Type>(),
199Array.Empty<IComponentRenderMode>(),
208Array.Empty<Type>()
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Components.QuickGrid (3)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (2)
Microsoft.AspNetCore.Components.Server (16)
CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (10)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("PrerenderId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Key", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?), global::System.Array.Empty<global::System.Type>(), null),
128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null),
148AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Descriptor", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
168AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
188AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
208AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
228AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
CircuitPersistenceManagerSerializerContext.ComponentMarkerKey.g.cs (3)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("LocationHash", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("FormattedComponentKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Components.Server.Tests (19)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (9)
65message: new InvocationMessage("xyz", "method", Array.Empty<object>()),
69message: new InvocationMessage("method", Array.Empty<object>()),
81message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__" }),
89message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__", "__test_id2__" }),
147message: new StreamInvocationMessage("xyz", "method", Array.Empty<object>()),
155message: new StreamInvocationMessage("xyz", "method", Array.Empty<object>(), new string[] { "__test_id__" }),
239var expectedMessage = new InvocationMessage("xyz", "method", Array.Empty<object>());
428new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty<object>()), 15),
429new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty<object>(), new [] { "2" }), 17),
Microsoft.AspNetCore.Components.Tests (40)
RendererTest.cs (20)
261[1] = CreateRenderFactory(Array.Empty<int>())
420[1] = CreateRenderFactory(Array.Empty<int>())
464[1] = CreateRenderFactory(Array.Empty<int>())
523[2] = CreateRenderFactory(Array.Empty<int>()),
524[3] = CreateRenderFactory(Array.Empty<int>())
3568[0] = CreateRenderFactory(Array.Empty<int>()),
3601[0] = CreateRenderFactory(Array.Empty<int>()),
3634[0] = CreateRenderFactory(Array.Empty<int>()),
3672[0] = CreateRenderFactory(Array.Empty<int>()),
3754[0] = Array.Empty<NestedAsyncComponent.ExecutionAction>(),
3783[1] = CreateRenderFactory(Array.Empty<int>()),
3784[2] = CreateRenderFactory(Array.Empty<int>()),
3812[0] = Array.Empty<NestedAsyncComponent.ExecutionAction>(),
3839[1] = CreateRenderFactory(Array.Empty<int>()),
3840[2] = CreateRenderFactory(Array.Empty<int>()),
3894[1] = CreateRenderFactory(Array.Empty<int>()),
3950[1] = CreateRenderFactory(Array.Empty<int>()),
4062[0] = CreateRenderFactory(Array.Empty<int>()),
4096[0] = CreateRenderFactory(Array.Empty<int>()),
4138[0] = CreateRenderFactory(Array.Empty<int>()),
Routing\QueryParameterValueSupplierTest.cs (17)
135AssertKeyValuePair<bool[]>("BoolVals", Array.Empty<bool>());
136AssertKeyValuePair<DateTime[]>("DateTimeVals", Array.Empty<DateTime>());
137AssertKeyValuePair<decimal[]>("DecimalVals", Array.Empty<decimal>());
138AssertKeyValuePair<double[]>("DoubleVals", Array.Empty<double>());
139AssertKeyValuePair<float[]>("FloatVals", Array.Empty<float>());
140AssertKeyValuePair<Guid[]>("GuidVals", Array.Empty<Guid>());
141AssertKeyValuePair<int[]>("IntVals", Array.Empty<int>());
142AssertKeyValuePair<long[]>("LongVals", Array.Empty<long>());
143AssertKeyValuePair<bool?[]>("NullableBoolVals", Array.Empty<bool?>());
144AssertKeyValuePair<DateTime?[]>("NullableDateTimeVals", Array.Empty<DateTime?>());
145AssertKeyValuePair<decimal?[]>("NullableDecimalVals", Array.Empty<decimal?>());
146AssertKeyValuePair<double?[]>("NullableDoubleVals", Array.Empty<double?>());
147AssertKeyValuePair<float?[]>("NullableFloatVals", Array.Empty<float?>());
148AssertKeyValuePair<Guid?[]>("NullableGuidVals", Array.Empty<Guid?>());
149AssertKeyValuePair<int?[]>("NullableIntVals", Array.Empty<int?>());
150AssertKeyValuePair<long?[]>("NullableLongVals", Array.Empty<long?>());
151AssertKeyValuePair<string[]>("StringVals", Array.Empty<string>());
Microsoft.AspNetCore.Components.Web (12)
WebRendererSerializerContext.JSComponentParameter.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Web.JSComponentConfigurationStore.JSComponentParameter).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Components.Web.Tests (8)
Microsoft.AspNetCore.Components.WebAssembly (26)
WebAssemblyJsonSerializerContext.ComponentMarker.g.cs (10)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("PrerenderId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Key", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?), global::System.Array.Empty<global::System.Type>(), null),
126AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null),
146AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Descriptor", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
166AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
186AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
206AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
226AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
WebAssemblyJsonSerializerContext.ComponentMarkerKey.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("LocationHash", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("FormattedComponentKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
WebAssemblyJsonSerializerContext.ComponentParameter.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentParameter).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
WebAssemblyJsonSerializerContext.RootComponentOperation.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationType), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation).GetProperty("SsrComponentId", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation).GetProperty("Marker", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarker?), global::System.Array.Empty<global::System.Type>(), null),
WebAssemblyJsonSerializerContext.RootComponentOperationBatch.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).GetProperty("BatchId", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).GetProperty("Operations", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation[]), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Components.WebView (19)
SourceGenerationContext.StaticWebAssetManifest.g.cs (3)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetProperty("ContentRoots", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetProperty("Root", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetMatch.g.cs (3)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetProperty("ContentRoot", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetProperty("Path", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetNode.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Match", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Children", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Patterns", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern[]), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetPattern.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("ContentRoot", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("Depth", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("Pattern", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
Microsoft.AspNetCore.Components.WebView.Wpf (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DataProtection.Abstractions (2)
Microsoft.AspNetCore.DataProtection.Tests (5)
Microsoft.AspNetCore.Diagnostics (7)
ExtensionsExceptionJsonContext.ExceptionExtensionData.g.cs (5)
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("Details", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("Headers", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("Path", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
129AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("Endpoint", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
149AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("RouteValues", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Routing.RouteValueDictionary), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Diagnostics.HealthChecks (4)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (3)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Hosting (20)
SourceGenerationContext.StaticWebAssetManifest.g.cs (3)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetProperty("ContentRoots", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetManifest).GetProperty("Root", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetMatch.g.cs (3)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetProperty("ContentRoot", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch).GetProperty("Path", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetNode.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Match", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetMatch), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Children", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode).GetProperty("Patterns", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern[]), global::System.Array.Empty<global::System.Type>(), null),
SourceGenerationContext.StaticWebAssetPattern.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("ContentRoot", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("Depth", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetPattern).GetProperty("Pattern", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Hosting.WindowsServices (1)
Microsoft.AspNetCore.Http (6)
Microsoft.AspNetCore.Http.Abstractions (13)
Routing\RouteValueDictionary.cs (11)
108_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
154_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
158_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
175_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
192_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
208_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
215_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
231_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
246_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
254_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
398_arrayStorage = Array.Empty<KeyValuePair<string, object?>>();
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Connections.Tests (4)
Microsoft.AspNetCore.Http.Extensions (49)
ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (8)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetProperty("Errors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string[]>), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
109AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Title", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
130AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Status", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null),
151AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Detail", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
172AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Instance", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
193AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
ProblemDetailsJsonContext.ProblemDetails.g.cs (7)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Title", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Status", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null),
129AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Detail", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
150AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Instance", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
171AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (15)
159Array.Empty<Type>(),
185Array.Empty<Type>(),
287Array.Empty<Type>(),
297Array.Empty<Type>(),
304Array.Empty<Type>(),
314Array.Empty<Type>(),
361Array.Empty<Expression>()));
379Array.Empty<Type>(),
398Array.Empty<Type>(),
406Array.Empty<Type>(),
461Array.Empty<Expression>()));
483Array.Empty<Type>(),
501Array.Empty<Type>(),
509Array.Empty<Type>(),
552Expression.Not(Expression.Call(readerParam, nameof(FormDataReader.CurrentPrefixExists), Array.Empty<Type>())),
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (6)
495(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
496(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
497(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
514(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_taskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
515(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
Microsoft.AspNetCore.Http.Microbenchmarks (14)
SharedTestJsonContext.JsonTodo.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.JsonTodo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
SharedTestJsonContext.JsonTodoChild.g.cs (5)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.JsonTodoChild).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.JsonTodoChild).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
126AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
SharedTestJsonContext.Todo.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.Http.Results (8)
Microsoft.AspNetCore.Http.Results.Tests (24)
TestJsonContext.JsonTodo.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.JsonTodo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.Todo.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.TodoChild.g.cs (5)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoChild).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoChild).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.TodoJsonChild.g.cs (5)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoJsonChild).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoJsonChild).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.Todo).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.TodoStruct.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoStruct).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoStruct).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoStruct).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.TodoStruct).GetProperty("IsComplete", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Http.Tests (5)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.HttpLogging.Tests (7)
Microsoft.AspNetCore.Identity (119)
IdentityEndpointsJsonSerializerContext.ForgotPasswordRequest.g.cs (2)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("NewEmail", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("NewPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("OldPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.InfoResponse.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoResponse).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoResponse).GetProperty("IsEmailConfirmed", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (5)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
132AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorRecoveryCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.RefreshRequest.g.cs (2)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.RefreshRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.RefreshRequest).GetProperty("RefreshToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.RegisterRequest.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.RegisterRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.RegisterRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.RegisterRequest).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.ResendConfirmationEmailRequest.g.cs (2)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResendConfirmationEmailRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResendConfirmationEmailRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.ResetPasswordRequest.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest).GetProperty("ResetCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest).GetProperty("NewPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.TwoFactorRequest.g.cs (6)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetProperty("Enable", InstanceMemberBindingFlags, null, typeof(bool?), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetProperty("TwoFactorCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetProperty("ResetSharedKey", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
126AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetProperty("ResetRecoveryCodes", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
146AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest).GetProperty("ForgetMachine", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
IdentityEndpointsJsonSerializerContext.TwoFactorResponse.g.cs (6)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetProperty("SharedKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetProperty("RecoveryCodesLeft", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
110AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetProperty("RecoveryCodes", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
130AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetProperty("IsTwoFactorEnabled", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
151AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorResponse).GetProperty("IsMachineRemembered", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.AuthenticatorAssertionResponse.g.cs (5)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse).GetProperty("AuthenticatorData", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse).GetProperty("Signature", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse).GetProperty("UserHandle", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
132AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorResponse).GetProperty("ClientDataJSON", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.AuthenticatorAttestationResponse.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse).GetProperty("AttestationObject", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse).GetProperty("Transports", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null),
109AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorResponse).GetProperty("ClientDataJSON", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.AuthenticatorSelectionCriteria.g.cs (5)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria).GetProperty("AuthenticatorAttachment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria).GetProperty("ResidentKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria).GetProperty("RequireResidentKey", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
126AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria).GetProperty("UserVerification", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.CollectedClientData.g.cs (7)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("Origin", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
135AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("CrossOrigin", InstanceMemberBindingFlags, null, typeof(bool?), global::System.Array.Empty<global::System.Type>(), null),
155AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("TopOrigin", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
175AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData).GetProperty("TokenBinding", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.TokenBinding), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PasskeyAssertionState.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAssertionState).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAssertionState).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::System.ReadOnlyMemory<byte>), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAssertionState).GetProperty("UserId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PasskeyAttestationState.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAttestationState).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAttestationState).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::System.ReadOnlyMemory<byte>), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAttestationState).GetProperty("UserEntity", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PasskeyUserEntity.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAssertionResponse.g.cs (6)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("ClientExtensionResults", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement), global::System.Array.Empty<global::System.Type>(), null),
133AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Response", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse), global::System.Array.Empty<global::System.Type>(), null),
156AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("AuthenticatorAttachment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAttestationResponse.g.cs (6)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetProperty("ClientExtensionResults", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement), global::System.Array.Empty<global::System.Type>(), null),
133AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetProperty("Response", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse), global::System.Array.Empty<global::System.Type>(), null),
156AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetProperty("AuthenticatorAttachment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (12)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Rp", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("User", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
135AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("PubKeyCredParams", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters>), global::System.Array.Empty<global::System.Type>(), null),
157AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Timeout", InstanceMemberBindingFlags, null, typeof(ulong?), global::System.Array.Empty<global::System.Type>(), null),
177AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("ExcludeCredentials", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>), global::System.Array.Empty<global::System.Type>(), null),
199AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("AuthenticatorSelection", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria), global::System.Array.Empty<global::System.Type>(), null),
219AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Hints", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null),
241AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Attestation", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
261AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("AttestationFormats", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null),
283AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement?), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetProperty("Transports", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialParameters.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters).GetProperty("Alg", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.COSEAlgorithmIdentifier), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (8)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Timeout", InstanceMemberBindingFlags, null, typeof(ulong?), global::System.Array.Empty<global::System.Type>(), null),
109AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("RpId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
129AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("AllowCredentials", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>), global::System.Array.Empty<global::System.Type>(), null),
151AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("UserVerification", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
171AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Hints", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null),
193AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement?), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialRpEntity.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.PublicKeyCredentialUserEntity.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
IdentityJsonSerializerContext.TokenBinding.g.cs (3)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.TokenBinding).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.TokenBinding).GetProperty("Status", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.TokenBinding).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Identity.Test (2)
Microsoft.AspNetCore.InternalTesting.Tests (2)
Microsoft.AspNetCore.Mvc.Abstractions (7)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (22)
Microsoft.AspNetCore.Mvc.Core (44)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (6)
495(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
496(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
497(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
514(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_taskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
515(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
Microsoft.AspNetCore.Mvc.Core.Test (137)
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (26)
18var controllerModel = new ControllerModel(controllerType.GetTypeInfo(), Array.Empty<object>());
21var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>());
25Array.Empty<object>());
47var controllerModel1 = new ControllerModel(controllerType1, Array.Empty<object>())
51new ActionModel(actionMethod1, Array.Empty<object>()),
57var controllerModel2 = new ControllerModel(controllerType2, Array.Empty<object>())
61new ActionModel(actionMethod2, Array.Empty<object>()),
92Array.Empty<object>());
95var controllerModel1 = new ControllerModel(controllerType1, Array.Empty<object>())
99new PropertyModel(property1, Array.Empty<object>()),
103new ActionModel(actionMethod1, Array.Empty<object>())
115var controllerModel2 = new ControllerModel(controllerType2, Array.Empty<object>())
119new PropertyModel(property2, Array.Empty<object>()),
153app.Controllers.Add(new ControllerModel(typeof(HelloController).GetTypeInfo(), Array.Empty<object>()));
154app.Controllers.Add(new ControllerModel(typeof(WorldController).GetTypeInfo(), Array.Empty<object>()));
194new ControllerModel(typeof(HelloController).GetTypeInfo(), Array.Empty<object>())
231var controllerModel = new ControllerModel(controllerType, Array.Empty<object>())
236new ActionModel(controllerType.GetMethod(nameof(HelloController.GetHello)), Array.Empty<object>())
256var controllerModel = new ControllerModel(controllerType, Array.Empty<object>())
261new PropertyModel(controllerType.GetProperty(nameof(HelloController.Property1)), Array.Empty<object>())
282var controllerModel = new ControllerModel(controllerType, Array.Empty<object>())
305var controllerModel = new ControllerModel(controllerType, Array.Empty<object>())
310var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>())
317Array.Empty<object>())
338var controllerModel = new ControllerModel(controllerType, Array.Empty<object>())
343var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>())
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (6)
278new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
301new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
324new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
347new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
370new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
394new ModelAttributes(Array.Empty<object>(), null, parameterAttributes));
ModelBinding\Metadata\DefaultModelMetadataTest.cs (9)
126var attributes = new ModelAttributes(Array.Empty<object>(), Array.Empty<object>(), null);
163var attributes = new ModelAttributes(Array.Empty<object>(), Array.Empty<object>(), null);
200var attributes = new ModelAttributes(Array.Empty<object>(), Array.Empty<object>(), null);
358var cache = new DefaultMetadataDetails(key, new ModelAttributes(Array.Empty<object>(), null, null));
381var cache = new DefaultMetadataDetails(key, new ModelAttributes(Array.Empty<object>(), null, null));
402var cache = new DefaultMetadataDetails(key, new ModelAttributes(Array.Empty<object>(), null, null));
Routing\ActionEndpointFactoryTest.cs (19)
277Array.Empty<ConventionalRouteEntry>(),
278conventions: Array.Empty<Action<EndpointBuilder>>(),
279groupConventions: Array.Empty<Action<EndpointBuilder>>(),
280finallyConventions: Array.Empty<Action<EndpointBuilder>>(),
281groupFinallyConventions: Array.Empty<Action<EndpointBuilder>>(),
370var endpoints = CreateConventionalRoutedEndpoints(action, Array.Empty<ConventionalRouteEntry>(), createInertEndpoints: true);
383Array.Empty<ConventionalRouteEntry>(),
384conventions: Array.Empty<Action<EndpointBuilder>>(),
385groupConventions: Array.Empty<Action<EndpointBuilder>>(),
386finallyConventions: Array.Empty<Action<EndpointBuilder>>(),
387groupFinallyConventions: Array.Empty<Action<EndpointBuilder>>(),
407conventions: Array.Empty<Action<EndpointBuilder>>(),
408groupConventions: Array.Empty<Action<EndpointBuilder>>(),
409finallyConventions: Array.Empty<Action<EndpointBuilder>>(),
410groupFinallyConventions: Array.Empty<Action<EndpointBuilder>>(),
433conventions: Array.Empty<Action<EndpointBuilder>>(),
434groupConventions: Array.Empty<Action<EndpointBuilder>>(),
435finallyConventions: Array.Empty<Action<EndpointBuilder>>(),
436groupFinallyConventions: Array.Empty<Action<EndpointBuilder>>(),
TestJsonContext.JsonPerson.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Parent", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.JsonPersonExtended.g.cs (5)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended).GetProperty("Age", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Parent", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
TestJsonContext.Person.g.cs (4)
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person).GetProperty("Parent", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.Person), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (8)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
Microsoft.AspNetCore.Mvc.Localization (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (8)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
Microsoft.AspNetCore.Mvc.Razor.Test (3)
Microsoft.AspNetCore.Mvc.RazorPages (11)
Microsoft.AspNetCore.Mvc.RazorPages.Test (64)
Infrastructure\CompiledPageActionDescriptorFactoryTest.cs (19)
18var model = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
82var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
109var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
110var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
137var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
168var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
169var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
199var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
200var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
201var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>());
230var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
231var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
266var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
267var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
268var parameterModel = new PageParameterModel(parameterInfo, Array.Empty<object>());
299var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
300var handlerModel = new PageHandlerModel(methodInfo, Array.Empty<object>());
301var propertyModel = new PagePropertyModel(propertyInfo, Array.Empty<object>());
329var applicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
Infrastructure\DefaultPageLoaderTest.cs (7)
25var actionDescriptors = new ActionDescriptorCollection(Array.Empty<ActionDescriptor>(), 1);
44var pageApplicationModel1 = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
45var pageApplicationModel2 = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
125var pageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
173c.PageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
242var pageApplicationModel = new PageApplicationModel(descriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
308c.PageApplicationModel = new PageApplicationModel(c.ActionDescriptor, typeof(object).GetTypeInfo(), Array.Empty<object>());
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (8)
Microsoft.AspNetCore.Mvc.Testing (5)
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
Microsoft.AspNetCore.OpenApi (10)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (6)
495(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
496(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
497(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
514(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_taskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
515(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
Microsoft.AspNetCore.OpenApi.Tests (3)
Microsoft.AspNetCore.OutputCaching (6)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
Microsoft.AspNetCore.OutputCaching.Tests (2)
Microsoft.AspNetCore.RateLimiting.Tests (1)
Microsoft.AspNetCore.Razor (1)
Microsoft.AspNetCore.RequestDecompression.Tests (5)
Microsoft.AspNetCore.Routing (37)
Matching\DfaMatcherBuilder.cs (10)
574Array.Empty<Candidate>(),
575Array.Empty<IEndpointSelectorPolicy>(),
669endpointSelectorPolicies?.ToArray() ?? Array.Empty<IEndpointSelectorPolicy>(),
709return Array.Empty<Candidate>();
840Array.Empty<KeyValuePair<string, object>>(),
841Array.Empty<(string parameterName, int segmentIndex, int slotIndex)>(),
843Array.Empty<(RoutePatternPathSegment pathSegment, int segmentIndex)>(),
844Array.Empty<KeyValuePair<string, IRouteConstraint>>());
911if (!nodeBuilder.AppliesToEndpoints(parent.Matches ?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>()))
921var edges = nodeBuilder.GetEdges(parent.Matches ?? (IReadOnlyList<Endpoint>)Array.Empty<Endpoint>());
Microsoft.AspNetCore.Routing.FunctionalTests (1)
Microsoft.AspNetCore.Routing.Microbenchmarks (4)
Microsoft.AspNetCore.Routing.Tests (48)
Matching\AcceptsMatcherPolicyTest.cs (10)
35CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
53CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
72CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
106CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
124CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
143CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
165CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
340CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
409CreateEndpoint("/", new AcceptsMetadata(Array.Empty<string>())),
616$"test: {template} - {string.Join(", ", consumesMetadata?.ContentTypes ?? Array.Empty<string>())}");
Matching\HostMatcherPolicyTest.cs (8)
32CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
50CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
69CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
124CreateEndpoint("/", new HostAttribute(Array.Empty<string>()), new DynamicEndpointMetadata()),
142CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
161CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
202CreateEndpoint("/", new HostAttribute(Array.Empty<string>())),
276$"test: {template} - {string.Join(", ", hostMetadata?.Hosts ?? Array.Empty<string>())}");
Matching\HttpMethodMatcherPolicyTest.cs (10)
33CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
51CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
70CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
104CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
122CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>()), new DynamicEndpointMetadata()),
141CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
185CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
188CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
230CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>())),
233CreateEndpoint("/", new HttpMethodMetadata(Array.Empty<string>(), acceptCorsPreflight: true)),
Microsoft.AspNetCore.Security.Microbenchmarks (1)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Microsoft.AspNetCore.Server.IIS (5)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (21)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
Microsoft.AspNetCore.Session (2)
Microsoft.AspNetCore.Shared.Tests (19)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (6)
495(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
496(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
497(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
514(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_taskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
515(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
Microsoft.AspNetCore.SignalR.Client.Core (7)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (25)
HubConnectionTests.cs (7)
865_ = await hubConnection.StreamAsChannelCoreAsync("stream", typeof(int), Array.Empty<object>(), default);
866_ = await hubConnection.InvokeCoreAsync("test", typeof(int), Array.Empty<object>(), default);
867await hubConnection.SendCoreAsync("test2", Array.Empty<object>(), default);
868_ = hubConnection.StreamAsyncCore<int>("stream2", Array.Empty<object>(), default);
875mockConnection.Verify(c => c.InvokeCoreAsync("test", typeof(int), Array.Empty<object>(), It.IsAny<CancellationToken>()), Times.Once);
876mockConnection.Verify(c => c.SendCoreAsync("test2", Array.Empty<object>(), It.IsAny<CancellationToken>()), Times.Once);
877mockConnection.Verify(c => c.StreamAsyncCore<int>("stream2", Array.Empty<object>(), It.IsAny<CancellationToken>()), Times.Once);
Microsoft.AspNetCore.SignalR.Common (3)
Microsoft.AspNetCore.SignalR.Common.Tests (22)
Internal\Protocol\JsonHubProtocolTestsBase.cs (8)
35new JsonProtocolTestData("InvocationMessage_HasStreamArgument", new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__" }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[],\"streamIds\":[\"__test_id__\"]}"),
37new JsonProtocolTestData("InvocationMessage_HasMultipleStreams", new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__", "__test_id2__" }), true, true, "{\"type\":1,\"target\":\"Target\",\"arguments\":[],\"streamIds\":[\"__test_id__\",\"__test_id2__\"]}"),
78new JsonProtocolTestData("StreamInvocationMessage_HasStreamArgument", new StreamInvocationMessage("123", "Target", Array.Empty<object>(), new string[] { "__test_id__" }), true, true, "{\"type\":4,\"invocationId\":\"123\",\"target\":\"Target\",\"arguments\":[],\"streamIds\":[\"__test_id__\"]}"),
194var binder = new TestBinder(Array.Empty<Type>(), typeof(object));
205var binder = new TestBinder(Array.Empty<Type>(), typeof(object));
209Assert.Same(Array.Empty<string>(), (message as InvocationMessage).StreamIds);
376new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty<object>()), 63),
377new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty<object>(), new [] { "2" }), 81),
Internal\Protocol\MessagePackHubProtocolTestBase.cs (9)
65message: new InvocationMessage("xyz", "method", Array.Empty<object>()),
69message: new InvocationMessage("method", Array.Empty<object>()),
81message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__" }),
89message: new InvocationMessage(null, "Target", Array.Empty<object>(), new string[] { "__test_id__", "__test_id2__" }),
147message: new StreamInvocationMessage("xyz", "method", Array.Empty<object>()),
155message: new StreamInvocationMessage("xyz", "method", Array.Empty<object>(), new string[] { "__test_id__" }),
239var expectedMessage = new InvocationMessage("xyz", "method", Array.Empty<object>());
428new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty<object>()), 15),
429new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty<object>(), new [] { "2" }), 17),
Microsoft.AspNetCore.SignalR.Core (14)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (6)
495(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
496(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
497(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_valueTaskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
514(awaitable) => ((MethodInfo)awaitable.GetType().GetMemberWithSameMetadataDefinitionAs(_taskGetAwaiterMethodInfo)).Invoke(awaitable, Array.Empty<object>()),
515(awaiter) => (bool)((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetIsCompletedMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,
Microsoft.AspNetCore.SignalR.Microbenchmarks (26)
DefaultHubDispatcherBenchmark.cs (12)
215return _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "Invocation", Array.Empty<object>()));
221return _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationAsync", Array.Empty<object>()));
227return _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationReturnValue", Array.Empty<object>()));
233return _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationReturnAsync", Array.Empty<object>()));
239return _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationValueTaskAsync", Array.Empty<object>()));
245return _dispatcher.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReader", Array.Empty<object>()));
251return _dispatcher.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderAsync", Array.Empty<object>()));
257return _dispatcher.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderValueTaskAsync", Array.Empty<object>()));
344await _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStream), Array.Empty<object>(), streamIds: new string[] { "1" }));
355await _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStreamIAsynEnumerable), Array.Empty<object>(), streamIds: new string[] { "1" }));
366await _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStream), Array.Empty<object>(), streamIds: new string[] { "1" }));
380await _dispatcher.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStreamIAsynEnumerable), Array.Empty<object>(), streamIds: new string[] { "1" }));
DefaultHubLifetimeManagerBenchmark.cs (9)
75return _hubLifetimeManager.SendAllAsync("MethodName", Array.Empty<object>());
81return _hubLifetimeManager.SendGroupAsync(_groupNames[0], "MethodName", Array.Empty<object>());
87return _hubLifetimeManager.SendGroupsAsync(_groupNames, "MethodName", Array.Empty<object>());
93return _hubLifetimeManager.SendGroupExceptAsync(_groupNames[0], "MethodName", Array.Empty<object>(), _subsetConnectionIds);
99return _hubLifetimeManager.SendAllExceptAsync("MethodName", Array.Empty<object>(), _subsetConnectionIds);
105return _hubLifetimeManager.SendConnectionAsync(_connectionIds[0], "MethodName", Array.Empty<object>());
111return _hubLifetimeManager.SendConnectionsAsync(_subsetConnectionIds, "MethodName", Array.Empty<object>());
117return _hubLifetimeManager.SendUserAsync(_userIdentifiers[0], "MethodName", Array.Empty<object>());
123return _hubLifetimeManager.SendUsersAsync(_userIdentifiers, "MethodName", Array.Empty<object>());
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (4)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
Microsoft.AspNetCore.SignalR.Tests (25)
HubConnectionHandlerTests.cs (22)
2054await client.SendHubMessageAsync(new StreamInvocationMessage(invocationId, nameof(StreamingHub.BlockingStream), Array.Empty<object>()));
3190await client.SendHubMessageAsync(new StreamInvocationMessage("1", nameof(StreamingHub.BlockingStream), Array.Empty<object>())).DefaultTimeout();
3296await client.SendHubMessageAsync(new StreamInvocationMessage("123", nameof(StreamingHub.BlockingStream), Array.Empty<object>())).DefaultTimeout();
3298await client.SendHubMessageAsync(new StreamInvocationMessage("123", nameof(StreamingHub.BlockingStream), Array.Empty<object>())).DefaultTimeout();
3602await client.BeginUploadStreamAsync("invocationId", nameof(MethodHub.StreamDontRead), new[] { "id" }, Array.Empty<object>()).DefaultTimeout();
3626await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.StreamingConcat), new[] { "id" }, Array.Empty<object>());
3649await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.UploadArray), new[] { "id" }, Array.Empty<object>());
3681await client.BeginUploadStreamAsync("invocation_" + id, nameof(MethodHub.StreamingConcat), new[] { id }, Array.Empty<object>());
3741await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.UploadArrayAuth), new[] { "id" }, Array.Empty<object>());
3777await client.BeginUploadStreamAsync("invocation", nameof(LongRunningHub.Upload), new[] { "id" }, Array.Empty<object>());
3873await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.StreamingConcat), streamIds: new[] { "id" }, Array.Empty<object>()).DefaultTimeout();
3924await client.BeginUploadStreamAsync("invocationId", nameof(MethodHub.TestTypeCastingErrors), new[] { "channelId" }, Array.Empty<object>()).DefaultTimeout();
4000await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.TestCustomErrorPassing), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
4020await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.StreamingConcat), streamIds: new[] { "id", "id2" }, args: Array.Empty<object>()).DefaultTimeout();
4039await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.StreamingConcat), streamIds: Array.Empty<string>(), args: Array.Empty<object>()).DefaultTimeout();
4062await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.StreamingConcat), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
4104await client.BeginUploadStreamAsync(invocationId: null, nameof(MethodHub.StreamingConcat), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
4137await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.UploadIgnoreItems), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
4174await client.SendStreamInvocationAsync(nameof(MethodHub.StreamAndUploadIgnoreItems), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
4421var messagePromise = client.StreamAsync(nameof(StreamingHub.StreamEcho), new[] { streamId }, Array.Empty<object>()).DefaultTimeout();
4574await client.BeginUploadStreamAsync("invocation", nameof(MethodHub.UploadDoesWorkOnComplete), streamIds: new[] { "id" }, args: Array.Empty<object>()).DefaultTimeout();
Microsoft.AspNetCore.StaticAssets (17)
StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (6)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("Route", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("AssetPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("Selectors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetSelector>), global::System.Array.Empty<global::System.Type>(), null),
134AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>), global::System.Array.Empty<global::System.Type>(), null),
156AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("ResponseHeaders", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>), global::System.Array.Empty<global::System.Type>(), null),
StaticAssetsManifestJsonContext.StaticAssetProperty.g.cs (2)
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
StaticAssetsManifestJsonContext.StaticAssetResponseHeader.g.cs (2)
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
StaticAssetsManifestJsonContext.StaticAssetSelector.g.cs (3)
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetSelector).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetSelector).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetSelector).GetProperty("Quality", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
StaticAssetsManifestJsonContext.StaticAssetsManifest.g.cs (4)
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetsManifest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetsManifest).GetProperty("Version", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetsManifest).GetProperty("ManifestType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetsManifest).GetProperty("Endpoints", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.AspNetCore.TestHost (3)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.WebUtilities (3)
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (2)
Microsoft.AspNetCore.WebUtilities.Tests (2)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (3)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis (27)
Microsoft.CodeAnalysis.Analyzers (8)
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
Microsoft.CodeAnalysis.CodeStyle (9)
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.CSharp (18)
Generated\BoundNodes.xml.Generated.cs (5)
15653new TreeDumperNode("boundDimensionsOpt", null, node.BoundDimensionsOpt.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.BoundDimensionsOpt select Visit(x, null)),
16260new TreeDumperNode("argumentsOpt", null, node.ArgumentsOpt.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.ArgumentsOpt select Visit(x, null)),
16307public override TreeDumperNode VisitYieldBreakStatement(BoundYieldBreakStatement node, object? arg) => new TreeDumperNode("yieldBreakStatement", null, Array.Empty<TreeDumperNode>()
17494new TreeDumperNode("deconstruction", null, node.Deconstruction.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.Deconstruction select Visit(x, null)),
17495new TreeDumperNode("properties", null, node.Properties.IsDefault ? Array.Empty<TreeDumperNode>() : from x in node.Properties select Visit(x, null)),
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (15)
Emit\NumericIntPtrTests.cs (15)
2415comp.VerifyDiagnostics(expectedError is null ? Array.Empty<DiagnosticDescription>() : new[] { expectedError });
5993Array.Empty<DiagnosticDescription>() :
6062unaryOperator(op, opType, opType, expectedSymbol, operand, expectedResult, expectedIL, diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>());
6287return diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>();
6661return diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>();
7061binaryOperator(op, leftType, rightType, expectedSymbol, diagnostics ?? Array.Empty<DiagnosticDescription>());
8898static DiagnosticDescription[] getNoDiagnostics(string opType, string op, string operand) => Array.Empty<DiagnosticDescription>();
8940constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>());
8952constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>());
8953constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
8954constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
8994constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>());
9006constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>());
9007constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
9008constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (51)
EditAndContinue\LineEditTests.cs (45)
209Array.Empty<SequencePointUpdates>(),
446Array.Empty<SequencePointUpdates>(),
506Array.Empty<SequencePointUpdates>(),
540Array.Empty<SequencePointUpdates>(),
610Array.Empty<SequencePointUpdates>(),
615Array.Empty<SequencePointUpdates>(),
647Array.Empty<SequencePointUpdates>(),
652Array.Empty<SequencePointUpdates>(),
686Array.Empty<SequencePointUpdates>(),
750Array.Empty<SequencePointUpdates>(),
788Array.Empty<SequencePointUpdates>(),
825Array.Empty<SequencePointUpdates>(),
932Array.Empty<SequencePointUpdates>(),
1088Array.Empty<SequencePointUpdates>(),
1108Array.Empty<SequencePointUpdates>(),
1128Array.Empty<SequencePointUpdates>(),
1151Array.Empty<SequencePointUpdates>(),
1174Array.Empty<SequencePointUpdates>(),
1199Array.Empty<SequencePointUpdates>(),
1267Array.Empty<SequencePointUpdates>(),
1327Array.Empty<SequencePointUpdates>(),
1332Array.Empty<SequencePointUpdates>(),
1419Array.Empty<SequencePointUpdates>(),
1528Array.Empty<SequencePointUpdates>());
1552Array.Empty<SequencePointUpdates>());
1577Array.Empty<SequencePointUpdates>(),
1629Array.Empty<SequencePointUpdates>(),
1683Array.Empty<SequencePointUpdates>(),
1712Array.Empty<SequencePointUpdates>(),
1740Array.Empty<SequencePointUpdates>(),
1768Array.Empty<SequencePointUpdates>(),
1796Array.Empty<SequencePointUpdates>(),
1824Array.Empty<SequencePointUpdates>(),
1851Array.Empty<SequencePointUpdates>(),
1879Array.Empty<SequencePointUpdates>(),
1884Array.Empty<SequencePointUpdates>(),
1914Array.Empty<SequencePointUpdates>(),
1947Array.Empty<SequencePointUpdates>(),
2167Array.Empty<SequencePointUpdates>(),
2196Array.Empty<SequencePointUpdates>(),
2440Array.Empty<SequencePointUpdates>(),
2466Array.Empty<SequencePointUpdates>(),
2606Array.Empty<SequencePointUpdates>(),
2807Array.Empty<SequencePointUpdates>(),
2815Array.Empty<SequencePointUpdates>(),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (30)
Semantics\InheritanceBindingTests.cs (8)
5086CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5107CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5128CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5149CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5538CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5605CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5672CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
5739CompileAndVerifyDiagnostics(text1, text2, Array.Empty<ErrorDescription>(), new ErrorDescription[] {
Semantics\NativeIntegerTests.cs (16)
2435var compA = CreateVisualBasicCompilation(sourceA, referencedAssemblies: Array.Empty<MetadataReference>());
6551comp.VerifyDiagnostics(expectedError is null ? Array.Empty<DiagnosticDescription>() : new[] { expectedError });
9479Array.Empty<DiagnosticDescription>() :
9544unaryOperator(op, opType, opType, expectedSymbol, operand, expectedResult, expectedIL, diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>());
9764return diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>();
10139return diagnostic != null ? new[] { diagnostic } : Array.Empty<DiagnosticDescription>();
10518binaryOperator(op, leftType, rightType, expectedSymbol, diagnostics ?? Array.Empty<DiagnosticDescription>());
13148static DiagnosticDescription[] getNoDiagnostics(string opType, string op, string operand) => Array.Empty<DiagnosticDescription>();
13190constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>());
13202constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>());
13203constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
13204constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
13244constantExpression(opType, $"unchecked({expr})", expectedResultUnchecked, Array.Empty<DiagnosticDescription>());
13256constantExpression(opType, expr, expectedResult, Array.Empty<DiagnosticDescription>());
13257constantExpression(opType, $"checked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
13258constantExpression(opType, $"unchecked({expr})", expectedResult, Array.Empty<DiagnosticDescription>());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\DefaultInterfaceImplementationTests.cs (6)
9440ValidateMethodModifiers_10_02(source1, source2, accessibility, expectedIn9, expectedIn9AcrossAssemblyBoundaries: expectedIn9, expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>());
12499expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>(),
14915ValidatePropertyModifiers_11_01(source1, source2, accessibility, expectedIn9, expectedNoImplementation, expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>());
15959ValidatePropertyModifiers_11_11(source1, source2, expectedIn9, expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>());
18463ValidatePropertyModifiers_23(source1, source2, getAccess, setAccess, expectedIn9, expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>());
28424ValidateEventModifiers_11(source1, source2, accessibility, expectedIn9, expectedAcrossAssemblyBoundaries: Array.Empty<DiagnosticDescription>(), expectedNoImplementation);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Extensions.Package (2)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (9)
Microsoft.CodeAnalysis.PublicApiAnalyzers (8)
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (3)
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
Microsoft.CodeAnalysis.ResxSourceGenerator (11)
Microsoft.CodeAnalysis.Scripting (8)
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.Threading.Package (2)
Microsoft.CodeAnalysis.UnitTests (23)
Collections\ImmutableSetTest.cs (13)
193string[] array = Array.Empty<string>();
298new SetTriad(SetWith<int>(), Array.Empty<int>(), true),
304new SetTriad(SetWith<int>(5), Array.Empty<int>(), false),
316new SetTriad(Array.Empty<int>(), Array.Empty<int>(), false),
317new SetTriad(new int[] { 1 }, Array.Empty<int>(), false),
321new SetTriad(Array.Empty<int>(), new int[] { 1 }, true),
329new SetTriad(Array.Empty<int>(), Array.Empty<int>(), true),
332new SetTriad(new int[] { 1 }, Array.Empty<int>(), false),
347new SetTriad(Array.Empty<int>(), Array.Empty<int>(), false),
348new SetTriad(Array.Empty<int>(), new int[] { 1 }, false),
Microsoft.CodeAnalysis.VisualBasic (5)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (2)
Microsoft.CSharp (11)
Microsoft.DotNet.Baselines.Tasks (1)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (8)
Microsoft.DotNet.Helix.Client (3)
Microsoft.DotNet.Helix.Sdk (2)
Microsoft.DotNet.NuGetRepack.Tasks (2)
Microsoft.DotNet.NuGetRepack.Tests (2)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (5)
Microsoft.DotNet.SharedFramework.Sdk (2)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.SignTool.Tests (21)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Microsoft.DotNet.XliffTasks (1)
Microsoft.DotNet.XUnitExtensions (5)
Microsoft.DotNet.XUnitV3Extensions (5)
Microsoft.Extensions.AI (7)
Microsoft.Extensions.AI.Abstractions (4)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.AI.Evaluation.NLP.Tests (1)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.AsyncState.Tests (1)
Microsoft.Extensions.Caching.SqlServer (1)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
Microsoft.Extensions.Compliance.Abstractions.Tests (3)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Compliance.Redaction.Tests (1)
Microsoft.Extensions.Compliance.Testing (1)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Extensions.Configuration.CommandLine (1)
Microsoft.Extensions.DependencyInjection (5)
Microsoft.Extensions.DependencyModel (3)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (5)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
Microsoft.Extensions.FileProviders.Composite (1)
Microsoft.Extensions.FileProviders.Embedded (2)
Microsoft.Extensions.FileProviders.Embedded.Tests (4)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Http.Diagnostics (4)
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Logging\HttpClientLoggerTest.cs (3)
960new HttpClientLogger(fakeLogger, requestReader, Array.Empty<IHttpClientLogEnricher>(), options),
988var logger = new HttpClientLogger(fakeLogger, requestReaderMock.Object, Array.Empty<IHttpClientLogEnricher>(), new());
1008var logger = new HttpClientLogger(new FakeLogger<HttpClientLogger>(), requestReader, Array.Empty<IHttpClientLogEnricher>(), options);
Microsoft.Extensions.Identity.Core (2)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (2)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (4)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Logging.Generators (3)
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Primitives (3)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Microsoft.Extensions.Telemetry (4)
Microsoft.Extensions.Telemetry.Abstractions (3)
Microsoft.Extensions.Telemetry.Tests (17)
Logging\ExtendedLoggerTests.cs (11)
179staticEnrichers: Array.Empty<IStaticLogEnricher>(),
304enrichers: Array.Empty<ILogEnricher>(),
305staticEnrichers: Array.Empty<IStaticLogEnricher>(),
346enrichers: Array.Empty<ILogEnricher>(),
347staticEnrichers: Array.Empty<IStaticLogEnricher>(),
376enrichers: Array.Empty<ILogEnricher>(),
377staticEnrichers: Array.Empty<IStaticLogEnricher>(),
409enrichers: Array.Empty<ILogEnricher>(),
410staticEnrichers: Array.Empty<IStaticLogEnricher>(),
443enrichers: Array.Empty<ILogEnricher>(),
444staticEnrichers: Array.Empty<IStaticLogEnricher>(),
Microsoft.Extensions.Validation.Tests (2)
Microsoft.Gen.BuildMetadata.Unit.Tests (4)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
Microsoft.Gen.Logging (1)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (5)
Microsoft.Gen.MetadataExtractor (2)
Microsoft.Gen.MetadataExtractor.Unit.Tests (3)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.Metrics.Unit.Tests (3)
Microsoft.Gen.MetricsReports (2)
Microsoft.Gen.MetricsReports.Unit.Tests (4)
Microsoft.Interop.JavaScript.JSImportGenerator (3)
Microsoft.Interop.SourceGeneration (15)
Microsoft.JSInterop (2)
Microsoft.JSInterop.Tests (9)
Microsoft.Maui.Controls (15)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Controls.Foldable (3)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.Maui.Controls.Xaml (3)
Microsoft.Maui.Essentials (2)
Microsoft.Maui.Graphics (1)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
Microsoft.Maui.Resizetizer (2)
Microsoft.ML.AutoML (1)
Microsoft.ML.Core (2)
Microsoft.ML.GenAI.Core (2)
Microsoft.ML.GenAI.LLaMA (1)
Microsoft.ML.GenAI.Phi (1)
Microsoft.ML.SearchSpace.Tests (1)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TestFramework (1)
Microsoft.ML.Tests (2)
Microsoft.ML.Tokenizers (5)
Microsoft.ML.Tokenizers.Tests (12)
Microsoft.ML.TorchSharp (1)
Microsoft.ML.Vision (1)
Microsoft.VisualBasic.Core (11)
Microsoft.VisualBasic.Tests (1)
Mvc.Api.Analyzers.Test (2)
PresentationBuildTasks (8)
PresentationCore (26)
PresentationCore.Tests (1)
PresentationFramework (48)
PresentationUI (2)
ReachFramework (1)
Replay (1)
RepoTasks (1)
Roslyn.Diagnostics.Analyzers (8)
Shared (7)
Shared.Tests (3)
Sockets.BindTests (2)
Sockets.FunctionalTests (2)
System.Collections (8)
System.Collections.Concurrent (2)
System.Collections.Immutable (12)
System.Collections.NonGeneric (6)
System.ComponentModel.Annotations (7)
System.ComponentModel.Composition (10)
System.ComponentModel.TypeConverter (18)
System\ComponentModel\ReflectPropertyDescriptor.cs (3)
335_propInfo = _componentClass.GetProperty(Name, bindingFlags, binder: null, PropertyType, Type.EmptyTypes, Array.Empty<ParameterModifier>());
448_propInfo = _componentClass.GetProperty(Name, bindingFlags, binder: null, PropertyType, Type.EmptyTypes, Array.Empty<ParameterModifier>());
818memberInfo = currentReflectType.GetProperty(Name, bindingFlags, binder: null, PropertyType, Type.EmptyTypes, Array.Empty<ParameterModifier>());
System.Composition.Hosting (7)
System.Composition.TypedParts (2)
System.Configuration.ConfigurationManager (3)
System.Console (1)
System.Data.Common (38)
System.Diagnostics.DiagnosticSource (4)
System.Diagnostics.Process (1)
System.Diagnostics.TraceSource (1)
System.DirectoryServices.Protocols (20)
System.Drawing.Common (1)
System.Drawing.Common.Tests (49)
System\Drawing\GraphicsTests.cs (4)
1883AssertExtensions.Throws<ArgumentException>(null, () => graphics.TransformPoints(CoordinateSpace.Page, CoordinateSpace.Page, Array.Empty<Point>()));
1884AssertExtensions.Throws<ArgumentException>(null, () => graphics.TransformPoints(CoordinateSpace.Page, CoordinateSpace.Page, Array.Empty<PointF>()));
2131AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangles(pen, Array.Empty<Rectangle>()));
2132AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangles(pen, Array.Empty<RectangleF>()));
System\Drawing\Imaging\EncoderParameterTests.cs (10)
275yield return new object[] { new Action(() => new EncoderParameter(null, Array.Empty<byte>())) };
277yield return new object[] { new Action(() => new EncoderParameter(null, Array.Empty<short>())) };
278yield return new object[] { new Action(() => new EncoderParameter(null, Array.Empty<long>())) };
279yield return new object[] { new Action(() => new EncoderParameter(null, Array.Empty<int>(), [])) };
280yield return new object[] { new Action(() => new EncoderParameter(null, Array.Empty<long>(), [])) };
294Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, Array.Empty<byte>()));
296Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, Array.Empty<short>()));
297Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, Array.Empty<long>()));
298Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, Array.Empty<int>(), []));
299Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, Array.Empty<long>(), []));
System.Formats.Asn1 (1)
System.Formats.Cbor (1)
System.Formats.Nrbf (1)
System.IO.Compression (9)
System.IO.FileSystem.Watcher (2)
System.Linq (1)
System.Linq.Expressions (22)
System.Memory (2)
System.Net.Http (57)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (46)
504(KnownHeaders.AcceptCharset.Descriptor, Array.Empty<byte>()),
506(KnownHeaders.AcceptLanguage.Descriptor, Array.Empty<byte>()),
507(KnownHeaders.AcceptRanges.Descriptor, Array.Empty<byte>()),
508(KnownHeaders.Accept.Descriptor, Array.Empty<byte>()),
509(KnownHeaders.AccessControlAllowOrigin.Descriptor, Array.Empty<byte>()),
510(KnownHeaders.Age.Descriptor, Array.Empty<byte>()),
511(KnownHeaders.Allow.Descriptor, Array.Empty<byte>()),
512(KnownHeaders.Authorization.Descriptor, Array.Empty<byte>()),
513(KnownHeaders.CacheControl.Descriptor, Array.Empty<byte>()),
514(KnownHeaders.ContentDisposition.Descriptor, Array.Empty<byte>()),
515(KnownHeaders.ContentEncoding.Descriptor, Array.Empty<byte>()),
516(KnownHeaders.ContentLanguage.Descriptor, Array.Empty<byte>()),
517(KnownHeaders.ContentLength.Descriptor, Array.Empty<byte>()),
518(KnownHeaders.ContentLocation.Descriptor, Array.Empty<byte>()),
519(KnownHeaders.ContentRange.Descriptor, Array.Empty<byte>()),
520(KnownHeaders.ContentType.Descriptor, Array.Empty<byte>()),
521(KnownHeaders.Cookie.Descriptor, Array.Empty<byte>()),
522(KnownHeaders.Date.Descriptor, Array.Empty<byte>()),
523(KnownHeaders.ETag.Descriptor, Array.Empty<byte>()),
524(KnownHeaders.Expect.Descriptor, Array.Empty<byte>()),
525(KnownHeaders.Expires.Descriptor, Array.Empty<byte>()),
526(KnownHeaders.From.Descriptor, Array.Empty<byte>()),
527(KnownHeaders.Host.Descriptor, Array.Empty<byte>()),
528(KnownHeaders.IfMatch.Descriptor, Array.Empty<byte>()),
529(KnownHeaders.IfModifiedSince.Descriptor, Array.Empty<byte>()),
530(KnownHeaders.IfNoneMatch.Descriptor, Array.Empty<byte>()),
531(KnownHeaders.IfRange.Descriptor, Array.Empty<byte>()),
532(KnownHeaders.IfUnmodifiedSince.Descriptor, Array.Empty<byte>()),
533(KnownHeaders.LastModified.Descriptor, Array.Empty<byte>()),
534(KnownHeaders.Link.Descriptor, Array.Empty<byte>()),
535(KnownHeaders.Location.Descriptor, Array.Empty<byte>()),
536(KnownHeaders.MaxForwards.Descriptor, Array.Empty<byte>()),
537(KnownHeaders.ProxyAuthenticate.Descriptor, Array.Empty<byte>()),
538(KnownHeaders.ProxyAuthorization.Descriptor, Array.Empty<byte>()),
539(KnownHeaders.Range.Descriptor, Array.Empty<byte>()),
540(KnownHeaders.Referer.Descriptor, Array.Empty<byte>()),
541(KnownHeaders.Refresh.Descriptor, Array.Empty<byte>()),
542(KnownHeaders.RetryAfter.Descriptor, Array.Empty<byte>()),
543(KnownHeaders.Server.Descriptor, Array.Empty<byte>()),
544(KnownHeaders.SetCookie.Descriptor, Array.Empty<byte>()),
545(KnownHeaders.StrictTransportSecurity.Descriptor, Array.Empty<byte>()),
546(KnownHeaders.TransferEncoding.Descriptor, Array.Empty<byte>()),
547(KnownHeaders.UserAgent.Descriptor, Array.Empty<byte>()),
548(KnownHeaders.Vary.Descriptor, Array.Empty<byte>()),
549(KnownHeaders.Via.Descriptor, Array.Empty<byte>()),
550(KnownHeaders.WWWAuthenticate.Descriptor, Array.Empty<byte>()),
System.Net.HttpListener (5)
System.Net.Mail (7)
System.Net.NameResolution (9)
System.Net.NetworkInformation (8)
System.Net.Ping (2)
System.Net.Quic (3)
System.Net.Requests (3)
System.Net.Security (16)
System.Net.ServerSentEvents (2)
System.Net.Sockets (5)
System.Net.WebClient (2)
System.Net.WebHeaderCollection (1)
System.Net.WebProxy (1)
System.Private.CoreLib (14)
System.Private.DataContractSerialization (20)
System.Private.Uri (1)
System.Private.Windows.Core.Tests (1)
System.Private.Windows.Core.TestUtilities (2)
System.Private.Xml (54)
System\Xml\Serialization\Types.cs (4)
532AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault);
533AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan", UrtTypes.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
534AddNonXsdPrimitive(typeof(DateTimeOffset), "dateTimeOffset", UrtTypes.Namespace, "DateTimeOffset", new XmlQualifiedName("dateTime", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
695AddNonXsdPrimitive(type, dataTypeName, ns, formatterName, baseTypeName, Array.Empty<XmlSchemaFacet>(), flags);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
228ilg.BeginMethod(typeof(void), "InitIDs", Type.EmptyTypes, Array.Empty<string>(),
343ilg.BeginMethod(typeof(void), "InitCallbacks", Type.EmptyTypes, Array.Empty<string>(),
393Array.Empty<string>(),
636Array.Empty<string>(),
965Array.Empty<string>(),
System\Xml\Xsl\XmlIlGenerator.cs (3)
132MethodInfo methExec = _module.DefineMethod("Execute", typeof(void), Type.EmptyTypes, Array.Empty<string>(), XmlILMethodAttributes.NonUser);
138MethodInfo methRoot = _module.DefineMethod("Root", typeof(void), Type.EmptyTypes, Array.Empty<string>(), methAttrs);
261methInfo = _module!.DefineMethod(ndRef.DebugName!.ToString(), typReturn, Type.EmptyTypes, Array.Empty<string>(), methAttrs);
System.Private.Xml.Linq (2)
System.Reflection.Context (1)
System.Reflection.Emit (2)
System.Reflection.Metadata (2)
System.Reflection.MetadataLoadContext (68)
System.Runtime.InteropServices (2)
System.Runtime.Numerics (2)
System.Runtime.Serialization.Formatters (1)
System.Runtime.Serialization.Schema (1)
System.Security.Cryptography (21)
System.Security.Cryptography.Pkcs (15)
System.Security.Cryptography.ProtectedData (1)
System.Security.Cryptography.Xml (2)
System.Security.Permissions (2)
System.ServiceModel.Http (3)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
1155Task task = _webSocket.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, timeoutHelper.GetCancellationToken());
1181await _webSocket.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, cancelToken);
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.Primitives (23)
System\ServiceModel\Channels\ServiceChannel.cs (4)
1209Call(message.Headers.Action, true, operation, new object[] { message }, Array.Empty<object>(), timeout);
1225EndCall(MessageHeaders.WildcardAction, Array.Empty<object>(), result);
1236return (Message)Call(message.Headers.Action, false, operation, new object[] { message }, Array.Empty<object>(), timeout);
1252return (Message)EndCall(MessageHeaders.WildcardAction, Array.Empty<object>(), result);
System.Text.Json (4)
System.Text.Json.SourceGeneration (3)
System.Text.RegularExpressions (2)
System.Text.RegularExpressions.Generator (2)
System.Threading.RateLimiting (1)
System.Windows.Forms (28)
System.Windows.Forms.Design (11)
System.Windows.Forms.Design.Tests (76)
System.Windows.Forms.Primitives.Tests (51)
System.Windows.Forms.Tests (225)
System.Xaml (5)
System.Xaml.Tests (74)
System\Xaml\Schema\XamlTypeNameTests.cs (13)
38yield return new object?[] { "", "", Array.Empty<XamlTypeName>() };
49Assert.Equal(typeArguments ?? Array.Empty<XamlTypeName>(), typeName.TypeArguments);
87yield return new object?[] { new XamlTypeName("namespace", "name[value]", Array.Empty<XamlTypeName>()), null, "{namespace}name[value]" };
197yield return new object[] { Array.Empty<XamlTypeName>(), "" };
231Assert.Throws<ArgumentNullException>("prefixLookup", () => XamlTypeName.ToString(Array.Empty<XamlTypeName>(), null));
236yield return new object[] { "name", "", "name", Array.Empty<XamlTypeName>() };
237yield return new object[] { " name ", "", "name", Array.Empty<XamlTypeName>() };
238yield return new object[] { "_name", "", "_name", Array.Empty<XamlTypeName>() };
239yield return new object[] { "prefix:name", "prefix", "name", Array.Empty<XamlTypeName>() };
240yield return new object[] { " prefix : name ", "prefix", "name", Array.Empty<XamlTypeName>() };
241yield return new object[] { "_aA.1e\u0300\u0903:_bB1ee\u0300\u0903", "_aA.1e\u0300\u0903", "_bB1ee\u0300\u0903", Array.Empty<XamlTypeName>() };
247yield return new object[] { "name[, ,]", "", "name[, ,]", Array.Empty<XamlTypeName>() };
248yield return new object[] { "name[][]", "", "name[][]", Array.Empty<XamlTypeName>() };
System\Xaml\XamlDirectiveTests.cs (5)
22yield return new object?[] { Array.Empty<string>(), "name", null, AllowedMemberLocations.None - 1 };
106yield return new object?[] { directive, new XamlDirective(Array.Empty<string>(), "name", type1, null, AllowedMemberLocations.Any), false };
150yield return new object[] { new XamlDirective(Array.Empty<string>(), "name", type, null, AllowedMemberLocations.Any), "name" };
250var converter = new SubXamlDirective(Array.Empty<string>(), "name", type, typeConverter, AllowedMemberLocations.Any);
258var converter = new SubXamlDirective(Array.Empty<string>(), "name", type, null!, AllowedMemberLocations.Any);
System\Xaml\XamlTypeTests.cs (36)
26yield return new object?[] { "unknownTypeNamespace", "unknownTypeName", Array.Empty<XamlType>(), new XamlSchemaContext() };
46Assert.Throws<ArgumentNullException>("unknownTypeNamespace", () => new XamlType(null, "unknownTypeName", Array.Empty<XamlType>(), new XamlSchemaContext()));
52Assert.Throws<ArgumentNullException>("unknownTypeName", () => new XamlType("unknownTypeNamespace", null, Array.Empty<XamlType>(), new XamlSchemaContext()));
76Assert.Throws<ArgumentNullException>("typeName", () => new SubXamlType(null!, Array.Empty<XamlType>(), new XamlSchemaContext()));
145Assert.Throws<ArgumentNullException>("schemaContext", () => new XamlType("unknownTypeNamespace", "unknownTypeName", Array.Empty<XamlType>(), null));
148Assert.Throws<ArgumentNullException>("schemaContext", () => new SubXamlType("typeName", Array.Empty<XamlType>(), null));
190var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) { GetXamlNamespacesResult = Array.Empty<string>() };
567GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
726yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() };
727yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() };
728yield return new object?[] { new SubXamlType(typeof(EmptyClass), new XamlSchemaContext()), Array.Empty<XamlMember>() };
729yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), Array.Empty<XamlMember>() };
925AssertEqualXamlMembers(expectedGet ?? expectedLookup ?? Array.Empty<XamlMember>(), type.GetAllAttachableMembers());
941return (MethodInfo)underlyingGetter.Invoke(member, Array.Empty<object>())!;
947return (MethodInfo)underlyingSetter.Invoke(member, Array.Empty<object>())!;
1153yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() };
1154yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() };
1155yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), Array.Empty<XamlMember>() };
1156yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), Array.Empty<XamlMember>() };
1194Array.Empty<XamlMember>()
1240IEnumerable<XamlMember> expectedGetAllMembers = expectedGet ?? expectedLookup ?? Array.Empty<XamlMember>();
1370GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
1430Assert.Equal((type.IsCollection || type.IsDictionary) ? expected ?? Array.Empty<XamlType>() : null, type.AllowedContentTypes);
1965GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
2164GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
2218Assert.Equal(type.IsCollection ? expected ?? Array.Empty<XamlType>() : expected, type.ContentWrappers);
2351GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
3314GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
3690yield return new object?[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext(duplicateSupport)), 0, Array.Empty<XamlType>() };
3748GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
3947GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
4245GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
4480GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
4653GetCustomAttributesAction = (attributeType, inherit) => Array.Empty<object>()
4904foreach (byte[]? keyToken in new object?[] { null, Array.Empty<byte>(), new byte[] { 183, 122, 92, 86, 25, 52, 224, 138 } })
4946foreach (byte[]? keyToken in new object?[] { null, Array.Empty<byte>(), new byte[] { 183, 122, 92, 86, 25, 52, 224, 137 } })
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
Test.Utilities (9)
Text.Analyzers (8)
Text.Analyzers.UnitTests (1)
TlsFeaturesObserve (1)
UIAutomationClient (10)
MS\Internal\Automation\Schema.cs (6)
341new AutomationPropertyInfo( convertToElementArray, SelectionPattern.SelectionProperty, typeof(AutomationElement[]), Array.Empty<AutomationElement>()),
354new AutomationPropertyInfo( null, MultipleViewPattern.SupportedViewsProperty, typeof(int []), Array.Empty<int>() ),
363new AutomationPropertyInfo( convertToElementArray, TablePattern.RowHeadersProperty, typeof(AutomationElement[]), Array.Empty<AutomationElement>()),
364new AutomationPropertyInfo( convertToElementArray, TablePattern.ColumnHeadersProperty, typeof(AutomationElement[]), Array.Empty<AutomationElement>()),
366new AutomationPropertyInfo( convertToElementArray, TableItemPattern.RowHeaderItemsProperty, typeof(AutomationElement[]), Array.Empty<AutomationElement>()),
367new AutomationPropertyInfo( convertToElementArray, TableItemPattern.ColumnHeaderItemsProperty, typeof(AutomationElement[]), Array.Empty<AutomationElement>()),
UIAutomationClientSideProviders (8)
UIAutomationTypes (8)
System\Windows\Automation\ControlType.cs (8)
65return ControlType.Register(id, programmaticName, stId, Array.Empty<AutomationProperty>(), Array.Empty<AutomationPattern>(), requiredPatternsSets);
72return ControlType.Register(id, programmaticName, stId, requiredProperties, Array.Empty<AutomationPattern>(), Array.Empty<AutomationPattern[]>());
78return ControlType.Register(id, programmaticName, stId, Array.Empty<AutomationProperty>(), Array.Empty<AutomationPattern>(), Array.Empty<AutomationPattern[]>());
234public static readonly ControlType Document = ControlType.Register(AutomationIdentifierConstants.ControlTypes.Document, "ControlType.Document", nameof(SR.LocalizedControlTypeDocument), Array.Empty<AutomationProperty>(),
vbc (1)
VBCSCompiler (1)
VBCSCompiler.UnitTests (4)
Wasm.Performance.TestApp (6)
WindowsBase.Tests (8)
System\Windows\Media\MatrixTests.cs (4)
4686yield return new object[] { new Matrix(2, 3, 4, 5, 6, 7), Array.Empty<Point>(), Array.Empty<Point>() };
4779yield return new object[] { new Matrix(2, 3, 4, 5, 6, 7), Array.Empty<Vector>(), Array.Empty<Vector>() };