예제 #1
0
 public abstract IScopeCoercion Transform(ITypeInclusionRenameScopeCoercion inclusion);
예제 #2
0
 TransformationImpact IInclusionVisitor <TransformationImpact> .Visit(ITypeInclusionRenameScopeCoercion inclusion)
 {
     return(CalculateRefactorImpact(inclusion));
 }
예제 #3
0
 void IScopeCoercionVisitor.Visit(ITypeInclusionRenameScopeCoercion scopeCoercion)
 {
     this.Translate(scopeCoercion);
 }
예제 #4
0
        /// <summary><para>Creates a C&#9839; compiler warning, relative to the abstract model, (level 3) &#35;105:</para><para>The using directive for '<paramref name="coercion"/>' appeared previously in this namespace</para></summary>
        /// <param name="coercion">The <see cref="ITypeInclusionRenameScopeCoercion"/> which appeared previously in the
        /// active scope.</param>
        public static ICompilerSourceModelWarning <ITypeInclusionRenameScopeCoercion> WarningCS0105(ITypeInclusionRenameScopeCoercion coercion)
        {
            var start = coercion.Start ?? LineColumnPair.Zero;
            var end   = coercion.End ?? LineColumnPair.Zero;

            return(new CompilerSourceModelWarning <ITypeInclusionRenameScopeCoercion>(CS0105, coercion, coercion.Location, start, end, coercion.NewName));
        }
예제 #5
0
 public TestLinkerResult Visit(ITypeInclusionRenameScopeCoercion renamedTypeInclusion, ICompilationContext context)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 public abstract TransformationImpact CalculateRefactorImpact(ITypeInclusionRenameScopeCoercion inclusion);
예제 #7
0
 public abstract void Translate(ITypeInclusionRenameScopeCoercion inclusion);
예제 #8
0
 public TransformationKind Visit(ITypeInclusionRenameScopeCoercion renamedTypeInclusion, ITransformationContext context)
 {
     throw new NotImplementedException();
 }