C# Class System.Linq.Expressions.Tests.PrivateReflectionHelpers

显示文件 Open project: dotnet/corefx

Public Methods

Method Description
GetFieldAssert ( this type, string name ) : FieldInfo
GetMethodAssert ( this type, string name ) : MethodInfo
GetPropertyAssert ( this type, string name ) : PropertyInfo

Method Details

GetFieldAssert() public static method

public static GetFieldAssert ( this type, string name ) : FieldInfo
type this
name string
return System.Reflection.FieldInfo

GetMethodAssert() public static method

public static GetMethodAssert ( this type, string name ) : MethodInfo
type this
name string
return System.Reflection.MethodInfo

GetPropertyAssert() public static method

public static GetPropertyAssert ( this type, string name ) : PropertyInfo
type this
name string
return System.Reflection.PropertyInfo