55 references to SetValue
Aspire.Hosting.Browsers.Tests (1)
ConsoleLoggingTestHelpers.cs (1)
60timeProviderProperty.SetValue(service, new TestTimeProvider());
Aspire.Hosting.CodeGeneration.Java (4)
JavaLanguageSupport.cs (4)
256inputsProperty.SetValue(upToDateCheck, new[] 265fileExtensionsProperty.SetValue(upToDateCheck, new[] { ".java" }); 266stampFileProperty.SetValue(upToDateCheck, Path.Combine(classOutputDirectory, CompileStampFileName)); 267upToDateCheckProperty.SetValue(commandSpec, upToDateCheck);
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptLanguageSupport.cs (1)
314?.SetValue(runtimeSpec, environmentVariableName);
Aspire.Hosting.RemoteHost (1)
Ats\CapabilityDispatcher.cs (1)
274prop.SetValue(setTarget, value);
Aspire.Hosting.Tests (4)
AddParameterTests.cs (1)
705optionsType.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Public)!.SetValue(options, value);
Backchannel\BackchannelContractTests.cs (1)
217property.SetValue(request, value);
ResourceNotificationTests.cs (2)
1684property.SetValue(mutated, CreateDifferentValue(property, property.GetValue(snapshot))); 1693property.SetValue(mutated, CreateDifferentValue(property, property.GetValue(snapshot)));
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.Tests (1)
ConformanceTests.cs (1)
63minBackoffDurationProperty?.SetValue(options, TimeSpan.FromSeconds(1));
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Components\Shared\src\Reflection\PropertySetter.cs (1)
43_setterDelegate = property.SetValue;
Microsoft.AspNetCore.Components.Endpoints (2)
src\aspnetcore\src\Components\Shared\src\Reflection\PropertySetter.cs (1)
43_setterDelegate = property.SetValue;
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
306return propertyInfo.SetValue;
Microsoft.AspNetCore.Http.Abstractions (1)
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
306return propertyInfo.SetValue;
Microsoft.AspNetCore.Mvc.Core (1)
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
306return propertyInfo.SetValue;
Microsoft.AspNetCore.Routing (1)
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
306return propertyInfo.SetValue;
Microsoft.AspNetCore.Routing.Abstractions (1)
src\aspnetcore\src\Shared\PropertyHelper\PropertyHelper.cs (1)
306return propertyInfo.SetValue;
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentParameters.cs (1)
81propertyInfo.SetValue(this, propertyInfo.GetValue(parameters));
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\Node\RarTaskParameters.cs (1)
114property.Target.SetValue(rar, parameter.WrappedParameter);
Microsoft.DotNet.Build.Tasks.Packaging (1)
NuGetPack.cs (1)
359propertyInfo.SetValue(packageBuilder, deterministicTimestamp);
Microsoft.Extensions.AI.Abstractions.Tests (10)
Utilities\AIJsonUtilitiesTests.cs (10)
96property.SetValue(options1, !booleanFlag); 97property.SetValue(options2, !booleanFlag); 102property.SetValue(options1, transformer); 103property.SetValue(options2, transformer); 108property.SetValue(options1, includeParameter); 109property.SetValue(options2, includeParameter); 114property.SetValue(options1, parameterDescriptionProvider); 115property.SetValue(options2, parameterDescriptionProvider); 120property.SetValue(options1, transformOptions); 121property.SetValue(options2, transformOptions);
Microsoft.Extensions.Configuration.Binder (2)
ConfigurationBinder.cs (2)
287property.SetValue(instance, property.GetValue(instance)); 319property.SetValue(instance, propertyBindingPoint.Value);
Microsoft.Extensions.VectorData.Abstractions (1)
ProviderServices\PropertyModel.cs (1)
112propertyInfo.SetValue(record, value);
Microsoft.Extensions.VectorData.ConformanceTests (4)
TypeTests\DataTypeTests.cs (4)
246property.SetValue(mainRecord, mainValue); 251property.SetValue(otherRecord, otherValue); 260property.SetValue(nullRecord, null); 275propertyInfo.SetValue(record, GenerateEmptyProperty(property));
Microsoft.Maui.Controls (3)
Shell\ShellContent.cs (3)
398 prop.SetValue(content, value); 403 prop.SetValue(content, castValue); 412 prop.SetValue(content, null);
Microsoft.ML.Data (1)
Data\SchemaDefinition.cs (1)
191cursorChannelAttrPropertyInfo.SetValue(obj, channel);
Microsoft.ML.Tokenizers.Tests (2)
LlamaTests.cs (2)
72propertyInfo.SetValue(tokenizer, true); 78propertyInfo.SetValue(tokenizer.Normalizer, true);
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
70allowFailureWithoutError?.SetValue(BuildEngine, true);
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestSessionInfoFactory.cs (1)
40.SetValue(testSessionInfo, id);
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (1)
355ex.GetType().GetProperty("HResult").SetValue(ex, value);
System.Composition.TypedParts (1)
System\Composition\CompositionContextExtensions.cs (1)
62pi.SetValue(objectWithLooseImports, value);
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
3247_property.SetValue(obj, value);
System.Private.CoreLib (1)
Internal\Reflection\Extensions\NonPortable\CustomAttributeInstantiator.cs (1)
112propertyInfo.SetValue(newAttribute, argumentValue);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\AccessorBuilder.cs (1)
137propInfo.SetValue(obj, val);
System.Private.Windows.Core.TestUtilities (1)
TestAccessor.cs (1)
168propertyInfo.SetValue(_instance, value);
System.Private.Xml (2)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
628result = new ReflectionXmlSerializationReaderHelper.SetMemberValueDelegate(propInfo.SetValue); 2267return propInfo.SetValue;