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