C# Class Microsoft.CSharp.Expressions.Strings

Strongly-typed and parameterized string resources.
Show file Open project: bartdesmet/ExpressionFutures

Private Properties

Property Type Description
AccessorCannotBeStatic string
AsyncLambdaCantHaveByRefParameter string
AsyncLambdaInvalidReturnType string
AwaitForbiddenHere string
AwaiterGetResultTypeInvalid string
AwaiterIsCompletedShouldNotBeIndexer string
AwaiterIsCompletedShouldReturnBool string
AwaiterTypeShouldHaveGetResultMethod string
AwaiterTypeShouldHaveIsCompletedProperty string
AwaiterTypeShouldImplementINotifyCompletion string
ConditionalReceiverTypeMismatch string
ConversionInvalidArgument string
ConversionInvalidResult string
DuplicateParameterBinding string
DuplicateTestValue string
EnumeratorShouldHaveCurrentProperty string
EnumeratorShouldHaveMoveNextMethod string
ExpressionTypeDoesNotMatchParameter string
InvalidCompoundAssignment string
InvalidCompoundAssignmentWithOperands string
InvalidConditionalReceiverExpressionType string
InvalidConditionalReceiverType string
InvalidGotoCase string
InvalidSwitchType string
InvalidUnaryAssignmentWithOperands string
LockNeedsReferenceType string
MoreThanOneIEnumerableFound string
NoEnumerablePattern string
ParameterIndexOutOfBounds string
ParameterNotDefinedForMethod string
PropertyDoesNotHaveGetAccessor string
PropertyDoesNotHaveSetAccessor string
SwitchCantHaveNullCase string
SwitchCaseHasIncompatibleType string
UnboundParameter string

Private Methods

Method Description
AccessorCannotBeStatic ( object p0 ) : string

A string like "A non-static 'get' accessor is required for property '{0}'"

AsyncLambdaCantHaveByRefParameter ( object p0 ) : string

A string like "Parameter '{0}' is passed by reference which is not supported in asynchronous lambda expressions"

AsyncLambdaInvalidReturnType ( object p0 ) : string

A string like "Return type '{0}' is not valid for an asynchronous lambda expression"

AwaitForbiddenHere ( object p0 ) : string

A string like "Await expression cannot occur in '{0}'"

AwaiterGetResultTypeInvalid ( object p0 ) : string

A string like "The 'GetResult' method on awaiter type '{0}' has an unsupported return type"

AwaiterIsCompletedShouldNotBeIndexer ( object p0 ) : string

A string like "The 'IsCompleted' property on awaiter type '{0}' should not have indexer parameters"

AwaiterIsCompletedShouldReturnBool ( object p0 ) : string

A string like "The 'IsCompleted' property on awaiter type '{0}' should return 'Boolean'"

AwaiterTypeShouldHaveGetResultMethod ( object p0 ) : string

A string like "Awaiter type '{0}' should have a 'GetResult' method"

AwaiterTypeShouldHaveIsCompletedProperty ( object p0 ) : string

A string like "Awaiter type '{0}' should have an 'IsCompleted' property with a 'get' accessor"

AwaiterTypeShouldImplementINotifyCompletion ( object p0 ) : string

A string like "Awaiter type '{0}' should implement 'INotifyCompletion'"

ConditionalReceiverTypeMismatch ( object p0, object p1 ) : string

A string like "Type '{0}' of the receiver expression is not compatible with non-null type '{1}' of the conditional receiver."

ConversionInvalidArgument ( object p0, object p1 ) : string

A string like "A collection element of type '{0}' cannot be assigned to the conversion lambda parameter of type '{1}'"

ConversionInvalidResult ( object p0, object p1 ) : string

A string like "The conversion lambda result type '{0}' cannot be assigned to loop iteration variable type '{1}'"

DuplicateParameterBinding ( object p0 ) : string

A string like "Parameter '{0}' has multiple bindings"

DuplicateTestValue ( object p0 ) : string

A string like "The test value '{0}' occurs more than once."

EnumeratorShouldHaveCurrentProperty ( object p0 ) : string

A string like "Enumerator type '{0}' should have a 'Current' property with a 'get' accessor"

EnumeratorShouldHaveMoveNextMethod ( object p0 ) : string

A string like "Enumerator type '{0}' should have a 'MoveNext' method with a 'Boolean' return type"

ExpressionTypeDoesNotMatchParameter ( object p0, object p1 ) : string

A string like "Expression of type '{0}' cannot be used for parameter of type '{1}'"

InvalidCompoundAssignment ( object p0, object p1 ) : string

A string like "Compound assignment operation '{0}' is not supported for type '{1}'."

InvalidCompoundAssignmentWithOperands ( object p0, object p1, object p2 ) : string

A string like "Compound assignment operation '{0}' is not supported for operands of type '{1}' and '{2}'."

InvalidConditionalReceiverExpressionType ( object p0 ) : string

A string like "Type '{0}' is not a valid type for a receiver in a conditional access expression."

InvalidConditionalReceiverType ( object p0 ) : string

A string like "Type '{0}' is not a valid type for a conditional receiver."

InvalidGotoCase ( object p0 ) : string

A string like "A 'goto case {0}' statement was found but the containing switch statement has no such label."

InvalidSwitchType ( object p0 ) : string

A string like "Type '{0}' is not a valid governing type for a switch statement."

InvalidUnaryAssignmentWithOperands ( object p0, object p1 ) : string

A string like "Unary assignment operation '{0}' is not supported for an operand of type '{1}'."

LockNeedsReferenceType ( object p0 ) : string

A string like "An expression of type '{0}' can't be used as a lock"

MoreThanOneIEnumerableFound ( object p0 ) : string

A string like "Collection type '{0}' has multiple implementations of 'IEnumerable<T>'"

NoEnumerablePattern ( object p0 ) : string

A string like "Collection type '{0}' has no valid enumerable pattern"

ParameterIndexOutOfBounds ( object p0, object p1 ) : string

A string like "Parameter index '{0}' is out of bounds for method '{1}'"

ParameterNotDefinedForMethod ( object p0, object p1 ) : string

A string like "Parameter '{0}' is not defined for method '{1}'"

PropertyDoesNotHaveGetAccessor ( object p0 ) : string

A string like "The property '{0}' has no 'get' accessor"

PropertyDoesNotHaveSetAccessor ( object p0 ) : string

A string like "The property '{0}' has no 'set' accessor"

SwitchCantHaveNullCase ( object p0 ) : string

A string like "A 'null' test value cannot be used in a switch statement with governing type '{0}'."

SwitchCaseHasIncompatibleType ( object p0, object p1 ) : string

A string like "A test value with type '{0}' cannot be used in a swich statement with governing type '{1}'."

UnboundParameter ( object p0 ) : string

A string like "Non-optional parameter '{0}' has no binding"