// https://github.com/dotnet/roslyn/issues/22007 internal virtual void VisitAwaitExpression(IAwaitExpression operation) { DefaultVisit(operation); }
public virtual void VisitAwaitExpression(IAwaitExpression operation) { DefaultVisit(operation); }
public PreserveThreadContextHighlighting(IAwaitExpression awaitExpression) { AwaitExpression = awaitExpression; }
public static IAwaitExpression Update(this IAwaitExpression self, IOperation @expression, IMethodSymbol @getAwaiter, IPropertySymbol @isCompleted, IMethodSymbol @getResult, ITypeSymbol @type) => self;
TransformationImpact IExpressionVisitor <TransformationImpact> .Visit(IAwaitExpression expression) { return(CalculateRefactorImpact(expression)); }
public override void VisitAwaitExpression(IAwaitExpression operation) { base.VisitAwaitExpression(operation); }
public bool CanBeAdded(IAwaitExpression element) { return(!attributeFunctionChecker.IsUnder(element)); }
/// <inheritdoc /> public override IOperation VisitAwaitExpression(IAwaitExpression operation, object argument) { return(base.VisitAwaitExpression(operation, argument)); }
internal override void VisitAwaitExpression(IAwaitExpression operation) { base.VisitAwaitExpression(operation); }
public abstract TransformationImpact CalculateRefactorImpact(IAwaitExpression expression);
public bool CanBeAdded(IAwaitExpression element) { var declaredType = element.Task?.GetExpressionType() as IDeclaredType; return(!declaredType.IsConfigurableAwaitable() && !declaredType.IsGenericConfigurableAwaitable()); }
public override void VisitAwaitExpression(IAwaitExpression operation) { Visit(operation.Upon); }
public abstract void Translate(IAwaitExpression expression);
public AsyncAwaitMayBeElidedHighlighting(IAwaitExpression awaitExpression) { AwaitExpression = awaitExpression; }
public bool CanBeAdded(IAwaitExpression element) => !attributeTypeChecker.IsUnder(element);
/// <inheritdoc /> public override Expression VisitAwaitExpression(IAwaitExpression operation, LocalBinder argument) { return(Expressive.Await(operation.AwaitedValue.Accept(this, argument))); }
public bool NeedAdding(IAwaitExpression element) { return(awaitCustomCheckers.All(x => x.CanBeAdded(element))); }
public ConsiderUsingConfigureAwaitBulbItem(IAwaitExpression literalExpression, bool value) { _literalExpression = literalExpression; _value = value; }
public ConfigureAwaitHighlighting(IAwaitExpression awaitExpression) { AwaitExpression = awaitExpression; }
public ConsiderUsingConfigureAwaitHighlighting(IAwaitExpression expression) { Expression = expression; }
void IExpressionVisitor.Visit(IAwaitExpression expression) { this.Translate(expression); }
public override IOperation VisitAwaitExpression(IAwaitExpression operation, object argument) { return(new AwaitExpression(Visit(operation.Expression), ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit)); }
public abstract IExpression Transform(IAwaitExpression expression);
public override void VisitAwaitExpression(IAwaitExpression operation) { Visit(operation.AwaitedValue); }
public virtual void VisitAwaitExpression <TExpression>(IAwaitExpression <TExpression> awaitExpression) where TExpression : IExpression { Visit(awaitExpression); }
internal RedundantCapturedContextSuggestion([NotNull] string message, [NotNull] IAwaitExpression awaitExpression) : base(message) => this.awaitExpression = awaitExpression;
public override void VisitAwaitExpression <TExpression>(IAwaitExpression <TExpression> awaitExpression) { Steps.Add(new WriteAwaitKeyword()); Steps.Add(new WriteWhitespace()); Steps.Add(new WriteExpression <TExpression>(awaitExpression.Expression)); }
public TransformationKind Visit(IAwaitExpression expression, ITransformationContext context) { throw new NotImplementedException(); }