C# 클래스 ICSharpCode.NRefactory.CSharp.Resolver.LambdaResolveResult

Represents an anonymous method or lambda expression. Note: the lambda has no type. To retrieve the delegate type, look at the anonymous function conversion.
상속: ResolveResult
파일 보기 프로젝트 열기: 0xd4d/NRefactory 1 사용 예제들

공개 메소드들

메소드 설명
GetChildResults ( ) : IEnumerable
GetInferredReturnType ( IType parameterTypes ) : IType

Gets the return type inferred when the parameter types are inferred to be parameterTypes

This method determines the return type inferred from the lambda body, which is used as part of C# type inference. Use the ReturnType property to retrieve the actual return type as determined by the target delegate type.

IsValid ( IType parameterTypes, IType returnType, CSharpConversions conversions ) : Conversion

Gets whether the lambda body is valid for the given parameter types and return type.

보호된 메소드들

메소드 설명
LambdaResolveResult ( ) : System.Collections.Generic

메소드 상세

GetChildResults() 공개 메소드

public GetChildResults ( ) : IEnumerable
리턴 IEnumerable

GetInferredReturnType() 공개 추상적인 메소드

Gets the return type inferred when the parameter types are inferred to be parameterTypes
This method determines the return type inferred from the lambda body, which is used as part of C# type inference. Use the ReturnType property to retrieve the actual return type as determined by the target delegate type.
public abstract GetInferredReturnType ( IType parameterTypes ) : IType
parameterTypes IType
리턴 IType

IsValid() 공개 추상적인 메소드

Gets whether the lambda body is valid for the given parameter types and return type.
public abstract IsValid ( IType parameterTypes, IType returnType, CSharpConversions conversions ) : Conversion
parameterTypes IType
returnType IType
conversions CSharpConversions
리턴 Conversion

LambdaResolveResult() 보호된 메소드

protected LambdaResolveResult ( ) : System.Collections.Generic
리턴 System.Collections.Generic