internal override bool TryGetThisParameter(out ParameterSymbol thisParameter) { // Local function symbols have no "this" parameter thisParameter = null; return(true); }
/// <returns> /// True if this <see cref="MethodSymbol"/> type supports retrieving the this parameter /// and false otherwise. Note that a return value of true does not guarantee a non-null /// <paramref name="thisParameter"/> (e.g. fails for static methods). /// </returns> internal virtual bool TryGetThisParameter(out ParameterSymbol thisParameter) { thisParameter = null; return(false); }
public ReducedExtensionMethodParameterSymbol(ReducedExtensionMethodSymbol containingMethod, ParameterSymbol underlyingParameter) : base(underlyingParameter) { Debug.Assert(underlyingParameter.Ordinal > 0); _containingMethod = containingMethod; }
public TupleParameterSymbol(Symbol container, ParameterSymbol underlyingParameter) : base(underlyingParameter) { Debug.Assert((object)container != null); _container = container; }
protected WrappedParameterSymbol(ParameterSymbol underlyingParameter) { Debug.Assert((object)underlyingParameter != null); this._underlyingParameter = underlyingParameter; }