public EdgeBuildingSyntaxVisitor(SemanticModel semanticModel, TypeSystem typeSystem, TypeSystem.Builder typeSystemBuilder, SyntaxToNodeMapping mapping, CancellationToken cancellationToken)
     : base(semanticModel, typeSystemBuilder, cancellationToken)
 {
     this.typeSystem        = typeSystem;
     this.typeSystemBuilder = typeSystemBuilder;
     this.mapping           = mapping;
     this.operationVisitor  = new EdgeBuildingOperationVisitor(this, typeSystem, typeSystemBuilder);
 }
 public InferredNullabilitySyntaxRewriter(SemanticModel semanticModel, TypeSystem typeSystem, SyntaxToNodeMapping mapping, CancellationToken cancellationToken)
     : base(visitIntoStructuredTrivia: true)
 {
     this.semanticModel     = semanticModel;
     this.typeSystem        = typeSystem;
     this.mapping           = mapping;
     this.cancellationToken = cancellationToken;
 }
Exemple #3
0
 public InferredNullabilitySyntaxRewriter(SemanticModel semanticModel, SyntaxToNodeMapping mapping, CancellationToken cancellationToken)
 {
     this.semanticModel     = semanticModel;
     this.mapping           = mapping;
     this.cancellationToken = cancellationToken;
 }