public BoundVariableDeclaration(VariableSymbol variableSymbol, TypeSymbol declaredType, ImmutableArray<BoundVariableQualifier> qualifiers, BoundInitializer initializerOpt)
     : base(BoundNodeKind.VariableDeclaration)
 {
     VariableSymbol = variableSymbol;
     DeclaredType = declaredType;
     Qualifiers = qualifiers;
     InitializerOpt = initializerOpt;
 }
 public BoundVariableExpression(VariableSymbol variableSymbol)
     : base(BoundNodeKind.VariableExpression)
 {
     Symbol = variableSymbol;
     Type = variableSymbol?.ValueType;
 }
Beispiel #3
0
 protected bool Equals(VariableSymbol other)
 {
     return base.Equals(other) && ValueType.Equals(other.ValueType);
 }