7 overrides of PropertyType
PresentationFramework (1)
System.Private.CoreLib (2)
System.Reflection.Context (2)
System.Reflection.MetadataLoadContext (1)
System.Xaml.Tests (1)
444 references to PropertyType
Aspire.Confluent.Kafka (1)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.StackExchange.Redis (1)
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (5)
219TypeDesc typeDesc = ModelScope.TypeScope.GetTypeDesc(propertyInfo.PropertyType, propertyInfo, true, false);
223CheckSupportedMember(typeDesc, propertyInfo, propertyInfo.PropertyType);
224return new FieldModel(propertyInfo, propertyInfo.PropertyType, typeDesc);
305if (_checkSpecified != SpecifiedAccessor.None && specifiedProperty.PropertyType != typeof(bool))
307throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
Infrastructure.Common (1)
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Components (8)
Microsoft.AspNetCore.Components.Endpoints (4)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions (5)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Http.Tests (3)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (4)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.Core.Test (33)
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (9)
DataAnnotationsMetadataProviderTest.cs (9)
1232var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1251var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1270var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1291var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1311var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1330var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1349var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1368var key = ModelMetadataIdentity.ForProperty(property, property.PropertyType, modelType);
1430var key = ModelMetadataIdentity.ForProperty(property.PropertyType, property.Name, modelType);
Microsoft.AspNetCore.Mvc.IntegrationTests (9)
Microsoft.AspNetCore.Mvc.Razor (9)
Microsoft.AspNetCore.Mvc.RazorPages (4)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Routing.Abstractions (1)
Microsoft.AspNetCore.Shared.Tests (11)
PropertyHelperTest.cs (10)
347Assert.Equal(typeof(int), property.Property.PropertyType);
362Assert.Equal(typeof(string), result[0].Property.PropertyType);
364Assert.Equal(typeof(string), result[1].Property.PropertyType);
379Assert.Equal(typeof(Guid), result[0].Property.PropertyType);
381Assert.Equal(typeof(string), result[1].Property.PropertyType);
396Assert.Equal(typeof(int), property.Property.PropertyType);
411Assert.Equal(typeof(string), result[0].Property.PropertyType);
413Assert.Equal(typeof(string), result[1].Property.PropertyType);
428Assert.Equal(typeof(Guid), result[0].Property.PropertyType);
430Assert.Equal(typeof(string), result[1].Property.PropertyType);
Microsoft.Build (3)
Microsoft.Build.Engine.UnitTests (2)
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.CSharp (3)
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.DotNet.XUnitV3Extensions (1)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Maui.Controls (4)
Microsoft.Maui.Controls.Xaml (7)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Data (16)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.IntegrationTests (4)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.Tests (2)
Microsoft.TestUtilities (1)
Microsoft.VisualBasic.Core (1)
MSBuild (3)
PresentationBuildTasks (5)
PresentationCore (3)
PresentationFramework (11)
ReachFramework (2)
Roslyn.Diagnostics.Analyzers (5)
Shared (1)
System.ComponentModel.Annotations (3)
System.ComponentModel.Composition (9)
System.ComponentModel.Composition.Registration (3)
System.ComponentModel.TypeConverter (3)
System.Composition.Convention (3)
System.Composition.Hosting (1)
System.Composition.TypedParts (8)
System.Configuration.ConfigurationManager (4)
System.Diagnostics.DiagnosticSource (2)
System.Drawing.Primitives (1)
System.Linq.Expressions (17)
System.Private.CoreLib (18)
System.Private.DataContractSerialization (7)
System.Private.Xml (22)
System\Xml\Serialization\Models.cs (5)
236TypeDesc typeDesc = ModelScope.TypeScope.GetTypeDesc(propertyInfo.PropertyType, propertyInfo, true, false);
240CheckSupportedMember(typeDesc, propertyInfo, propertyInfo.PropertyType);
241return new FieldModel(propertyInfo, propertyInfo.PropertyType, typeDesc);
323if (_checkSpecified != SpecifiedAccessor.None && specifiedProperty.PropertyType != typeof(bool))
325throw new InvalidOperationException(SR.Format(SR.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
System.Reflection.Context (1)
System.Reflection.DispatchProxy (1)
System.Reflection.Emit (1)
System.Reflection.MetadataLoadContext (9)
System.Text.Json (4)
System.Windows.Forms (10)
System.Windows.Forms.Design (5)
System.Xaml (1)
System.Xaml.Tests (1)
Test.Utilities (5)
Text.Analyzers (5)