25 references to GetSetMethod
Microsoft.ML.Data (3)
Data\SchemaDefinition.cs (2)
166.Where(x => x.CanRead && x.CanWrite && x.GetGetMethod() != null && x.GetSetMethod() != null && x.GetIndexParameters().Length == 0) 342((direction & Direction.Write) == Direction.Write && (x.CanWrite && x.GetSetMethod() != null))) &&
Utils\ApiUtils.cs (1)
179var minfo = propertyInfo.GetSetMethod();
Microsoft.ML.Tests (1)
CollectionsDataViewTest.cs (1)
74if (!property.CanRead || !property.CanWrite || property.GetGetMethod() == null || property.GetSetMethod() == null)
Microsoft.VisualBasic.Core (13)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (1)
825member = CType(member, PropertyInfo).GetSetMethod()
Microsoft\VisualBasic\CompilerServices\NewLateBinding.vb (4)
1248Return If(HasIsExternalInitModifier(propInfo.GetSetMethod), Nothing, propInfo.GetSetMethod) 1259Debug.Assert(propInfo.GetSetMethod Is Nothing OrElse HasIsExternalInitModifier(propInfo.GetSetMethod), "expected error condition")
Microsoft\VisualBasic\CompilerServices\OverloadResolution.vb (3)
783Debug.Assert(propertyBlock.GetSetMethod Is Nothing OrElse 784IsShadows(propertyBlock.GetSetMethod) = IsShadows(getMethod), 789Dim setMethod As MethodInfo = propertyBlock.GetSetMethod
Microsoft\VisualBasic\CompilerServices\Symbols.vb (1)
890Dim setMethod As MethodInfo = propertyBlock.GetSetMethod
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (2)
643If prop.GetSetMethod IsNot Nothing Then 654accessor = prop.GetSetMethod
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (2)
2154ThisMethod = ThisProperty.GetSetMethod() 2192ThisMethod = ThisProperty.GetSetMethod()
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
2292return new IndexMethodByRefUpdater(objTmp, indexLocals, indexNode.Indexer.GetSetMethod()!, index);
System.Private.CoreLib (1)
src\System\RuntimeType.CoreCLR.cs (1)
1310MethodInfo? associateMethod = propertyInfo.GetGetMethod() ?? propertyInfo.GetSetMethod();
System.Reflection.Context (2)
System\Reflection\Context\Custom\CustomType.cs (2)
229MethodInfo? accessor = getPropertyGetter ? newDeclaredProperty.GetGetMethod() : newDeclaredProperty.GetSetMethod(); 250MethodInfo? accessor = getPropertyGetter ? inheritedProperty.GetGetMethod() : inheritedProperty.GetSetMethod();
System.Reflection.TypeExtensions (1)
System\Reflection\TypeExtensions.cs (1)
573return property.GetSetMethod();
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
414return (propertyDescriptor.ComponentType.GetProperty(propertyDescriptor.Name)!.GetSetMethod() is null);
System.Xaml.Tests (2)
System\Xaml\XamlMemberTests.cs (2)
330Assert.Throws<ArgumentNullException>("schemaContext", () => new XamlMember(propertyInfo.Name, propertyInfo.GetGetMethod(), propertyInfo.GetSetMethod(), null)); 331Assert.Throws<ArgumentNullException>("schemaContext", () => new XamlMember(propertyInfo.Name, propertyInfo.GetGetMethod(), propertyInfo.GetSetMethod(), null, XamlMemberInvoker.UnknownInvoker));