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