Method | Description | |
---|---|---|
GetError ( ParameterMetadata parameter ) : string |
Get an error message indicating why the usage is invalid (or
|
|
GetError ( ReturnValueMetadata returnValue ) : string |
Get an error message indicating why the usage is invalid (or
|
Method | Description | |
---|---|---|
IsAllowedType ( string typeName, bool typeIsUnknown ) : bool |
Get whether a type is a reference type.
|
public GetError ( ParameterMetadata parameter ) : string | ||
parameter | ParameterMetadata | Represents a parameter annotated by a single contract annotation. |
return | string |
public GetError ( ReturnValueMetadata returnValue ) : string | ||
returnValue | ReturnValueMetadata | Represents a return value annotated by a single contract annotation. |
return | string |
protected IsAllowedType ( string typeName, bool typeIsUnknown ) : bool | ||
typeName | string | The full name of the actual value type. |
typeIsUnknown | bool | Whether the type is not known at compile-time. This occurs when the type is generic and the type isn't specified in code. |
return | bool |