public override object VisitDynamicType(DynamicTypeSymbol symbol, StringBuilder builder) { // NOTE: Unlike dev11, roslyn allows "dynamic" in parameter types. However, it still // does not allow direct references to "dynamic" (because "dynamic" is only a candidate // in type-only contexts). Therefore, if you ask the dynamic type for its doc comment // ID, it should return null. return(DefaultVisit(symbol, builder)); }
public override object VisitDynamicType(DynamicTypeSymbol symbol, StringBuilder builder) { // NOTE: this is a change from dev11, which did not allow dynamic in parameter types. // If we wanted to be really conservative, we would actually visit the symbol for // System.Object. However, the System.Object type must always have exactly this // doc comment ID, so the hassle seems unjustifiable. builder.Append("System.Object"); return(null); }
public override Symbol VisitDynamicType(DynamicTypeSymbol symbol) { return(_systemObject); }
public override Symbol VisitDynamicType(DynamicTypeSymbol symbol) { return(_otherAssembly.GetSpecialType(SpecialType.System_Object)); }
public virtual void VisitDynamicType(DynamicTypeSymbol symbol) { DefaultVisit(symbol); }
public virtual TResult VisitDynamicType(DynamicTypeSymbol symbol, TArgument argument) { return(DefaultVisit(symbol, argument)); }
public virtual TResult VisitDynamicType(DynamicTypeSymbol symbol) { return(DefaultVisit(symbol)); }
internal override object VisitDynamicType(DynamicTypeSymbol symbol, ArrayBuilder <SymbolDescriptionPart> builder) { AddKeyword(SyntaxKind.DynamicKeyword, builder); return(null); }
internal override Microsoft.Cci.IReference VisitDynamicType(DynamicTypeSymbol symbol, bool a) { throw new NotImplementedException(); }
internal override object VisitDynamicType(DynamicTypeSymbol symbol, ArrayBuilder<SymbolDescriptionPart> builder) { AddKeyword(SyntaxKind.DynamicKeyword, builder); return null; }
public override Symbol VisitDynamicType(DynamicTypeSymbol symbol, RetargetOptions argument) { // TODO(cyrusn): What's the right thing to do here? return(symbol); }