3 overrides of SetValue
System.Private.CoreLib (2)
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (1)
121public override void SetValue(object? obj, object? value, object?[]? index)
src\System\Reflection\RuntimePropertyInfo.cs (1)
342public override void SetValue(object? obj, object? value, object?[]? index)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
96public override void SetValue(object? obj, object? value, object?[]? index)
19 references to SetValue
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
616propertyInfo.SetValue(_instance, value, null);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
350property.SetValue(bodyObject, bodyPartValues[i++], null);
Microsoft.Build (3)
BackEnd\Components\Logging\LoggingService.cs (2)
1319s_projectStartedEventArgsGlobalProperties.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.GlobalProperties.ToDictionary(), index: null); 1321s_projectStartedEventArgsToolsVersion.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.ToolsVersion, null);
Instance\TaskFactoryWrapper.cs (1)
222propertyInfo.Reflection?.SetValue(task, value, null);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskBuilderTestTask.cs (1)
1251GetType().GetProperty(property.Name).SetValue(this, value, null);
Microsoft.DotNet.Build.Tasks.Packaging (1)
Extensions.cs (1)
159property.SetValue(target, value, null);
Microsoft.Extensions.Configuration.Binder (1)
ConfigurationBinder.cs (1)
747indexerProperty.SetValue(dictionary, valueBindingPoint.Value, new object[] { key });
MSBuild (1)
OutOfProcTaskAppDomainWrapperBase.cs (1)
329paramInfo.SetValue(wrappedTask, param.Value?.WrappedParameter, null);
MSBuildTaskHost (1)
OutOfProcTaskAppDomainWrapperBase.cs (1)
329paramInfo.SetValue(wrappedTask, param.Value?.WrappedParameter, null);
PresentationFramework (1)
MS\Internal\Data\PropertyPathWorker.cs (1)
360pi.SetValue(item, value, null);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ComponentResourceManager.cs (1)
201prop.SetValue(value, kvp.Value, null);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
3058p.SetValue(attr, value, null);
src\libraries\System.Private.CoreLib\src\System\Reflection\PropertyInfo.cs (1)
53public void SetValue(object? obj, object? value) => SetValue(obj, value, index: null);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
98UnderlyingProperty.SetValue(obj, value, index);
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewTests.cs (2)
3546propertyInfo.SetValue(_dataGridView, propertyValue, null); 3550propertyInfo.SetValue(_dataGridView, newPropertyValue, null);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
114propertyInfo?.SetValue(childControl, true, null); 118propertyInfo?.SetValue(childControl, false, null);