Exemple #1
0
 internal override IOperation VisitWith(IWithOperation operation, object argument)
 {
     return(new WithStatement(Visit(operation.Body), Visit(operation.Value), ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit));
 }
 internal override void VisitWith(IWithOperation operation)
 {
     Assert.Equal(OperationKind.None, operation.Kind);
     AssertEx.Equal(new[] { operation.Value, operation.Body }, operation.Children);
 }
Exemple #3
0
 internal override void VisitWith(IWithOperation operation)
 {
     base.VisitWith(operation);
 }
Exemple #4
0
 // https://github.com/dotnet/roslyn/issues/22005
 internal virtual void VisitWith(IWithOperation operation)
 {
     DefaultVisit(operation);
 }
Exemple #5
0
 // https://github.com/dotnet/roslyn/issues/22005
 public virtual void VisitWith(IWithOperation operation)
 {
     DefaultVisit(operation);
 }