60 references to GetProperties
Aspire.Hosting.Testing.Tests (2)
TestingBuilderTests.cs (2)
25var realBuilderProperties = typeof(IDistributedApplicationBuilder).GetProperties().Select(p => p.Name).ToList(); 26var testBuilderProperties = typeof(IDistributedApplicationTestingBuilder).GetProperties().Select(p => p.Name).ToList();
dotnet-svcutil-lib (2)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (2)
365PropertyInfo[] props = type.GetProperties(); 437PropertyInfo[] props = Globals.TypeOfException.GetProperties();
Microsoft.AspNetCore.App.Analyzers.Test (1)
Http\HeaderDictionaryIndexerAnalyzerTests.cs (1)
164.GetProperties()
Microsoft.AspNetCore.Http.Extensions (3)
RequestDelegateFactory.cs (1)
1602var properties = parameterType.GetProperties();
src\Shared\ParameterBindingMethodCache.cs (1)
324var properties = type.GetProperties();
src\Shared\PropertyAsParameterInfo.cs (1)
120var properties = parameters[i].ParameterType.GetProperties();
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
IdentityUserContext.cs (6)
221var personalDataProps = typeof(TUser).GetProperties().Where( 270var tokenProps = typeof(TUserToken).GetProperties().Where( 332var personalDataProps = typeof(TUser).GetProperties().Where( 380var tokenProps = typeof(TUserToken).GetProperties().Where( 427var personalDataProps = typeof(TUser).GetProperties().Where( 475var tokenProps = typeof(TUserToken).GetProperties().Where(
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
62var personalDataProps = typeof(TUser).GetProperties().Where(
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
62var personalDataProps = typeof(TUser).GetProperties().Where(
Microsoft.AspNetCore.Mvc.Abstractions (1)
src\Shared\ParameterBindingMethodCache.cs (1)
324var properties = type.GetProperties();
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
src\Shared\PropertyAsParameterInfo.cs (1)
120var properties = parameters[i].ParameterType.GetProperties();
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2339foreach (var property in controllerType.GetProperties())
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\ActionModelTest.cs (1)
85foreach (var property in typeof(ActionModel).GetProperties())
ApplicationModels\AttributeRouteModelTests.cs (1)
26foreach (var property in typeof(AttributeRouteModel).GetProperties())
ApplicationModels\ControllerModelTest.cs (1)
87foreach (var property in typeof(ControllerModel).GetProperties())
ApplicationModels\ParameterModelTest.cs (1)
31foreach (var property in typeof(ParameterModel).GetProperties())
ApplicationModels\PropertyModelTest.cs (1)
27foreach (var property in typeof(PropertyModel).GetProperties())
Microsoft.AspNetCore.OpenApi (2)
src\Shared\ParameterBindingMethodCache.cs (1)
324var properties = type.GetProperties();
src\Shared\PropertyAsParameterInfo.cs (1)
120var properties = parameters[i].ParameterType.GetProperties();
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
209foreach (var property in controllerType.GetProperties())
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentParameters.cs (1)
77foreach (var propertyInfo in typeof(DeploymentParameters).GetProperties())
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
809var propertyNames = typeof(SslServerAuthenticationOptions).GetProperties().Select(property => property.Name).ToList();
Microsoft.AspNetCore.SignalR.Core (1)
Internal\TypedClientBuilder.cs (1)
259if (interfaceType.GetProperties().Length != 0)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (2)
139analyzer.ThrowOn(typeof(DiagnosticAnalyzer).GetProperties().Single().Name); 147analyzer.ThrowOn(typeof(DiagnosticAnalyzer).GetProperties().Single().Name);
Microsoft.CodeAnalysis.UnitTests (1)
Collections\DebuggerAttributes.cs (1)
90IEnumerable<PropertyInfo> visibleProperties = debuggerAttributeType.GetProperties()
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1830foreach (PropertyInfo prop in this.GetType().GetProperties())
Microsoft.Maui (1)
Converters\KeyboardTypeConverter.cs (1)
35 PropertyInfo? property = kbType.GetProperties()?.FirstOrDefault(pi => pi != null && pi.Name == keyboard && pi.CanRead && (pi.GetMethod?.IsStatic ?? false));
Microsoft.Maui.Controls (2)
LegacyLayouts\ConstraintExpression.cs (2)
43 minfo = typeof(View).GetProperties().First(pi => pi.Name == Property && pi.CanRead && pi.GetMethod.IsPublic).GetMethod; 52 minfo = typeof(View).GetProperties().First(pi => pi.Name == Property && pi.CanRead && pi.GetMethod.IsPublic).GetMethod;
Microsoft.ML.AutoML.Tests (1)
Utils\TaskAgnosticIterationResult.cs (1)
81var propertiesToReport = metric.GetType().GetProperties().Where(p => p.PropertyType == typeof(double));
Microsoft.ML.EntryPoints (2)
JsonUtils\JsonManifestUtils.cs (2)
65var propertyInfos = epKind.GetProperties().AsEnumerable(); 66propertyInfos = epKind.GetInterfaces().Aggregate(propertyInfos, (current, face) => current.Union(face.GetProperties()));
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
23var toyClassProperties = typeof(TypeTestData).GetProperties();
PresentationFramework (1)
System\Windows\Data\CollectionView.cs (1)
1468properties = ictp.GetCustomType().GetProperties();
ReachFramework (2)
Serialization\Manager\MetroSerializationManager.cs (1)
830PropertyInfo[] properties = dependencyProperty.OwnerType.GetProperties();
Serialization\Manager\ReachSerializationCacheItems.cs (1)
87PropertyInfo[] properties = type.GetProperties();
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (2)
149HashSet<string> mainTypeMemberNames = new HashSet<string>(mainType.GetProperties().Select(p => p.Name)); 153var buddyProperties = associatedMetadataType.GetProperties().Select(p => p.Name);
System.ComponentModel.Composition (2)
Microsoft\Internal\ReflectionServices.cs (1)
126return type.GetInterfaces().Concat(new Type[] { type }).SelectMany(itf => itf.GetProperties());
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
293foreach (PropertyInfo pi in attrType.GetProperties())
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\PartBuilder.cs (1)
421foreach (PropertyInfo pi in type.GetProperties())
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationElement.cs (1)
870foreach (PropertyInfo pi in GetType().GetProperties())
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TypeAnalysis.cs (1)
30foreach (PropertyInfo propertyInfo in dataType.GetProperties())
System.Private.Windows.Core.TestUtilities (1)
DebuggerAttributes.cs (1)
77IEnumerable<PropertyInfo> visibleProperties = debuggerAttributeType.GetProperties()
System.Reflection.TypeExtensions (1)
System\Reflection\TypeExtensions.cs (1)
295return type.GetProperties();
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\BindingManagerBase.cs (3)
112foreach (PropertyInfo property in listType.GetProperties()) 132foreach (PropertyInfo property in listType.GetProperties()) 176foreach (PropertyInfo property in listType.GetProperties())
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
123PropertyInfo[] props = enumType.GetProperties();
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3136Assert.Equal(typeof(IDesignerHost).GetProperties(), reflect.GetProperties(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public));
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\DesignerAttributeTests.cs (2)
55foreach (var property in type.GetProperties()) 71foreach (var property in type.GetProperties())