5 overrides of GetValue
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
70public override object GetValue(object? obj) { throw new InvalidOperationException(); }
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (1)
99public sealed override object GetValue(object obj)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
106public override object? GetValue(object? obj)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Fields\RoField.cs (1)
145public sealed override object GetValue(object? obj) => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SerializationFieldInfo.cs (1)
47public override object? GetValue(object? obj) => m_field.GetValue(obj);
159 references to GetValue
aspire (1)
Commands\RenderCommand.cs (1)
26.Select(f => (KnownEmoji)f.GetValue(null)!)
Aspire.Azure.Messaging.EventHubs.Tests (2)
ConformanceTestsBase.cs (2)
94var client1 = clientAccessor?.GetValue(healthCheck1); 95var client2 = clientAccessor?.GetValue(healthCheck2);
Aspire.Cli.Tests (1)
Interaction\KnownEmojisTests.cs (1)
24var knownEmoji = (KnownEmoji)field.GetValue(null)!;
Aspire.Dashboard.Components.Tests (1)
Controls\TextVisualizerDialogTests.cs (1)
212Assert.Empty(cut.FindAll("#" + instance.GetType().GetField("_openSelectFormatButtonId", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)?.GetValue(instance)));
Aspire.OpenAI.Tests (1)
AspireOpenAIExtensionsTests.cs (1)
118var endpoint = endpointField.GetValue(client);
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQLoggingTests.cs (1)
205.GetValue(null)!;
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
225return obj => (TField?)field.GetValue(obj);
dotnet-svcutil-lib (8)
CodeDomFixup\CodeDomHelpers.cs (1)
29s_referenceKey = referenceKeyField.GetValue(null);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (1)
427return new ConstantModel(fieldInfo, ((IConvertible)fieldInfo.GetValue(null)).ToInt64(null));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
319object enumValue = field.GetValue(null);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
985s_valueOfDBNull = fieldInfo.GetValue(null);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
1001object fieldValue = field.GetValue(attribute); 1002object defaultValue = field.GetValue(defaultAttribute);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
606return ((FieldInfo)memberInfo).GetValue(_instance);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
288bodyPartValues[i++] = field.GetValue(bodyObject);
GenerateDocumentationAndConfigFiles (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
18return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentOptions.cs (1)
27.ToDictionary(f => f.Name, f => (TOptions)f.GetValue(null)!, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Json\EnumNameHelpers.cs (1)
69Value = f.GetValue(null)!,
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
191var value = ((Enum)field.GetValue(obj: null)!).ToString("d");
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
18return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
18return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
Microsoft.CodeAnalysis.Features (2)
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
32.Select(field => (string)field.GetValue(null)!)
EmbeddedLanguages\EmbeddedLanguageCommentOptions.cs (1)
26.ToDictionary(f => f.Name, f => (TOptions)f.GetValue(null)!, StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.NetAnalyzers (5)
NullableSyntaxAnnotationEx.cs (2)
19Oblivious = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(Oblivious), BindingFlags.Static | BindingFlags.Public)?.GetValue(null); 20AnnotatedOrNotAnnotated = (SyntaxAnnotation?)nullableSyntaxAnnotation.GetField(nameof(AnnotatedOrNotAnnotated), BindingFlags.Static | BindingFlags.Public)?.GetValue(null);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
19return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
18return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
249return field.GetValue(obj);
ScriptVariable.cs (1)
55return _field.GetValue(_instance);
Microsoft.CodeAnalysis.Workspaces (4)
CodeRefactorings\FixAllOccurences\RefactorAllScope.cs (2)
59.Select(f => (f.Name, Value: (int)f.GetValue(null)!)); 63.Select(f => (f.Name, Value: (int)f.GetValue(null)!));
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
458var state = stateMember.GetValue(generatorDriver); 459var additionalTexts = (ImmutableArray<AdditionalText>)additionalTextsMember.GetValue(state)!;
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (1)
219Delegate target = (Delegate)site.GetType().GetField("Target").GetValue(site);
Microsoft.Data.Analysis.Tests (1)
test\Microsoft.ML.TestFramework\BaseTestClass.cs (1)
61ITest test = (ITest)output.GetType().GetField("test", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(output);
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent\HotReloadAgent.cs (1)
202handler(codeField.GetValue(e) is int code ? code : 0, e.Message);
Microsoft.Extensions.Caching.Hybrid.Tests (2)
TypeTests.cs (2)
25.GetValue(null)!); 41.GetValue(null)!);
Microsoft.Extensions.DependencyModel (2)
Utf8JsonReaderExtensions.cs (2)
139long lineNumber = (long)(typeof(JsonReaderState).GetField("_lineNumber", BindingFlags.Instance | BindingFlags.NonPublic)?.GetValue(boxedState) ?? -1); 140long bytePositionInLine = (long)(typeof(JsonReaderState).GetField("_bytePositionInLine", BindingFlags.Instance | BindingFlags.NonPublic)?.GetValue(boxedState) ?? -1);
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent\HotReloadAgent.cs (1)
202handler(codeField.GetValue(e) is int code ? code : 0, e.Message);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingTagNamesTest.cs (1)
28.Select(f => (string)f.GetValue(null)!)
Microsoft.Extensions.Telemetry.Tests (2)
Enrichment\ApplicationEnricherTagTests.cs (1)
29.Select(f => (string)f.GetValue(null)!)
Enrichment\ProcessEnricherDimensionsTests.cs (1)
28.Select(f => (string)f.GetValue(null)!)
Microsoft.Maui (1)
Converters\KeyboardTypeConverter.cs (1)
32 if (field?.GetValue(null) is Keyboard kb)
Microsoft.Maui.Controls (4)
BindablePropertyConverter.cs (1)
103 var bp = bpinfo.GetValue(null) as BindableProperty;
BindingExpression.cs (1)
414 part.BindablePropertyField = bindablePropertyField.GetValue(null);
LayoutOptionsConverter.cs (1)
53 return (LayoutOptions)field.GetValue(null);
VisualElement\VisualElement_StyleSheet.cs (1)
48 return (styleAttribute.BindableProperty = bpField.GetValue(null) as BindableProperty);
Microsoft.Maui.Controls.Xaml (2)
ApplyPropertiesVisitor.cs (1)
325 return bindableFieldInfo.GetValue(null) as BindableProperty;
MarkupExtensions\StaticExtension.cs (1)
38 return finfo.GetValue(null);
Microsoft.Maui.Resizetizer (1)
ColorTable.cs (1)
39 dictionary[field.Name] = (SKColor)field.GetValue(null)!;
Microsoft.ML.Core (4)
CommandLine\CmdParser.cs (3)
1460DefaultValue = field.GetValue(defaults); 1512if (IsCollection && Field.GetValue(destination) == null) 1722return Field.GetValue(source);
EntryPoints\EntryPointUtils.cs (1)
63var fieldVal = fieldInfo.GetValue(args);
Microsoft.ML.Data (4)
EntryPoints\EntryPointNode.cs (1)
544var inputColName = inputInstance.GetType().GetField(colField).GetValue(inputInstance);
EntryPoints\InputBuilder.cs (3)
228var instanceVal = field.GetValue(instance); 229var defaultsVal = field.GetValue(defaults); 725yield return new KeyValuePair<string, object>(attr.Name ?? fieldInfo.Name, fieldInfo.GetValue(output));
Microsoft.ML.Ensemble (1)
Selector\SubModelSelector\BaseBestPerformanceSelector.cs (1)
60var valCur = field.GetValue(null);
Microsoft.ML.EntryPoints (4)
JsonUtils\JsonManifestUtils.cs (4)
183var defaultValue = fieldInfo.GetValue(defaults); 191var val = fieldInfo.GetValue(defaults) as Optional; 499object actualValue = fieldInfo.GetValue(value); 504object defaultValue = fieldInfo.GetValue(defaults);
Microsoft.ML.IntegrationTests (3)
IntegrationTestBaseClass.cs (1)
53ITest test = (ITest)output.GetType().GetField("test", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(output);
Prediction.cs (2)
120Assert.True((bool)field.GetValue(model)); 136Assert.False((bool)field.GetValue(model));
Microsoft.ML.LightGbm (1)
LightGbmArguments.cs (1)
188res[name] = field.GetValue(BoosterOptions);
Microsoft.ML.TestFramework (1)
BaseTestClass.cs (1)
61ITest test = (ITest)output.GetType().GetField("test", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(output);
Microsoft.ML.Tests (3)
CollectionsDataViewTest.cs (3)
58var xvalue = field.GetValue(x); 59var yvalue = field.GetValue(y); 189field.SetValue(data[0], fi.GetValue(null));
Microsoft.NET.Sdk.Publish.Tasks (2)
MsDeploy\DynamicAssembly.cs (2)
70object? ret = enumItem?.GetValue(enumType); 79object? ret = enumItem?.GetValue(enumType);
Microsoft.Private.Windows.Core (4)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (4)
271typeof(Color).GetField("name", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value) is not string name ? null : new BinaryObjectString(2, name), 272(long)typeof(Color).GetField("value", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!, 273(short)typeof(Color).GetField("knownColor", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!, 274(short)typeof(Color).GetField("state", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!
Microsoft.VisualBasic.Core (5)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
1461CType(c.GetType().GetField("Target").GetValue(c), System.Delegate) 1488CType(c.GetType().GetField("Target").GetValue(c), System.Delegate)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (2)
109ValueOfField = CType(mi, FieldInfo).GetValue(o) 356FieldValue = CType(mi, FieldInfo).GetValue(o)
Microsoft\VisualBasic\CompilerServices\Symbols.vb (1)
1115Return field.GetValue(_instance)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
XML\XmlPersistence.cs (1)
197object? fieldValue = info.FieldInfo.GetValue(instance);
PresentationCore (1)
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
1096DependencyProperty windowChromeWorkerProperty = fiWindowChromeWorkerProperty?.GetValue(null) as DependencyProperty;
PresentationFramework (11)
MS\Internal\LayoutDump.cs (2)
903object paraClient = field.GetValue(paragraph); 955CellParaClient cellParaClient = (CellParaClient) fieldOfParaClient.GetValue(paragraph);
MS\Internal\SystemDataHelper.cs (1)
73return nullField.GetValue(null);
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (4)
66objRef = (IObjectReference)type.GetField(objRefWrapper.ObjectReferenceField, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly).GetValue(o); 112Vtable = (IntPtr)ifaceAbiType.FindVftblType().GetField("AbiToProjectionVftablePtr", BindingFlags.Public | BindingFlags.Static).GetValue(null) 123Vtable = (IntPtr)compatibleIfaceAbiType.FindVftblType().GetField("AbiToProjectionVftablePtr", BindingFlags.Public | BindingFlags.Static).GetValue(null) 133Vtable = (IntPtr)obj.GetType().GetHelperType().GetField("AbiToProjectionVftablePtr", BindingFlags.Public | BindingFlags.Static).GetValue(null)
MS\Internal\WindowsRuntime\Generated\WinRT\GuidGenerator.cs (1)
25return (Guid)type.GetField("PIID").GetValue(null);
System\Windows\Input\Command\CommandConverter.cs (1)
148command = fieldInfo.GetValue(null) as ICommand;
System\Windows\Standard\ErrorCodes.cs (2)
316var hr = (HRESULT)publicStaticField.GetValue(null); 331var error = (Win32Error)publicStaticField.GetValue(null);
PresentationFramework-SystemCore (2)
DynamicAccessorImpl.cs (2)
84_getterDelegate = (MulticastDelegate)targetField.GetValue(_getterCallSite); 104_setterDelegate = (MulticastDelegate)targetField.GetValue(_setterCallSite);
Roslyn.Diagnostics.Analyzers (3)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerConfigOptionsProviderExtensions.cs (1)
18return analyzerConfigOptionsProvider.GetType().GetField("_treeDict", flags)?.GetValue(analyzerConfigOptionsProvider) is ImmutableDictionary<object, AnalyzerConfigOptions> perTreeOptionsMap
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (2)
56return type.GetField("_backing", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string> ?? 57type.GetField("_analyzerOptions", flags)?.GetValue(analyzerConfigOptions) as ImmutableDictionary<string, string>;
System.ComponentModel.Composition (1)
Microsoft\Internal\ReflectionInvoke.cs (1)
28return field.GetValue(instance);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\AttributeCollection.cs (1)
265attr = (Attribute?)field.GetValue(null);
System\ComponentModel\Design\Serialization\InstanceDescriptor.cs (1)
142return ((FieldInfo)MemberInfo).GetValue(null);
System.Data.Common (2)
System\Data\Common\DbProviderFactories.cs (1)
185object? factory = providerInstance.GetValue(null);
System\Data\Common\SqlUDTStorage.cs (1)
54return fieldInfo.GetValue(null)!;
System.Linq.Expressions (4)
System\Linq\Expressions\Interpreter\FieldOperations.cs (2)
35frame.Push(_field.GetValue(obj: null)); 56frame.Push(_field.GetValue(self));
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2471_instructions.EmitLoad(fi.GetValue(obj: null), fi.FieldType); 2482_instructions.EmitLoad(fi.GetValue(obj: null), fi.FieldType);
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Runtime\ExceptionServices\ExceptionStackTrace.cs (1)
23(string?)fi.GetValue(exception) +
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (1)
100sb.Append(" ").Append(fi.Name).Append(": ").Append(fi.GetValue(stateMachine)).AppendLine();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.InvokeMember.cs (2)
189Array a = (Array)selFld.GetValue(target)!; 211return selFld.GetValue(target);
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\AccessorBuilder.cs (1)
85var value = fieldInfo.GetValue(obj);
System\Runtime\Serialization\EnumDataContract.cs (5)
245memberContract.Order = _isULong ? (long)Convert.ToUInt64(field.GetValue(null)) : Convert.ToInt64(field.GetValue(null)); 260memberContract.Order = _isULong ? (long)Convert.ToUInt64(field.GetValue(null)) : Convert.ToInt64(field.GetValue(null)); 269object? enumValue = field.GetValue(null);
System.Private.Windows.Core (4)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (4)
271typeof(Color).GetField("name", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value) is not string name ? null : new BinaryObjectString(2, name), 272(long)typeof(Color).GetField("value", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!, 273(short)typeof(Color).GetField("knownColor", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!, 274(short)typeof(Color).GetField("state", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(value)!
System.Private.Windows.Core.TestUtilities (3)
DebuggerAttributes.cs (2)
21return GetField(obj, fieldName).GetValue(obj); 194member = field.GetValue(obj);
TestAccessor.cs (1)
197FieldInfo fieldInfo => fieldInfo.GetValue(_instance),
System.Private.Xml (5)
System\Xml\Serialization\Models.cs (1)
447return new ConstantModel(fieldInfo, ((IConvertible)fieldInfo.GetValue(null)!).ToInt64(null));
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
668return fieldInfo.GetValue(o);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
827return memberField.GetValue(o);
System\Xml\Xslt\XslCompiledTransform.cs (2)
202byte[]? queryData = fldData.GetValue(/*this:*/null) as byte[]; 207Type[]? earlyBoundTypes = (Type[]?)fldTypes.GetValue(null);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
108return UnderlyingField.GetValue(obj);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\FormatterServices.cs (1)
278data[i] = field.GetValue(obj);
System\Runtime\Serialization\SerializationFieldInfo.cs (1)
47public override object? GetValue(object? obj) => m_field.GetValue(obj);
System.ServiceModel.Primitives (2)
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
658return ((FieldInfo)memberInfo).GetValue(_instance);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
348bodyPartValues[i++] = field.GetValue(bodyObject);
System.Speech (1)
Result\RecognitionResult.cs (1)
111info.AddValue(mi.Name, ((FieldInfo)mi).GetValue(this));
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\ReflectionMemberAccessor.cs (1)
184return (TProperty)fieldInfo.GetValue(obj)!;
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
130if (field.GetValue(null) is Attribute attribute)
System\Windows\Forms\FeatureSupport.cs (2)
36object? featureId = c?.GetField(featureConstName)?.GetValue(null); 60object? featureId = c?.GetField(featureConstName)?.GetValue(null);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\InheritanceService.cs (1)
102object? value = field.GetValue(component);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
816result = field.GetValue(instance);
System\Windows\Forms\Design\DocumentDesigner.DocumentInheritanceService.cs (1)
63child = (Control?)field.GetValue(component);
System.Xaml (1)
System\Windows\Markup\StaticExtension.cs (1)
125value = field.GetValue(null);
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
73ClientSideProviderDescription[] table = fi.GetValue(null) as ClientSideProviderDescription[];