Пример #1
0
 internal CodeFixCollection(Microsoft.CodeAnalysis.CodeFixes.CodeFixCollection inner)
 {
     _inner = inner;
     Fixes = inner.Fixes.Select(x => new CodeFix(x)).ToImmutableArray();
     var fixAllContext = inner.FixAllContext;
     if (fixAllContext != null)
     {
         FixAllContext = new FixAllCodeActionContext(inner.FixAllContext);
     }
 }
Пример #2
0
        internal CodeFixCollection(Microsoft.CodeAnalysis.CodeFixes.CodeFixCollection inner)
        {
            _inner = inner;
            Fixes  = inner.Fixes.Select(x => new CodeFix(x)).ToImmutableArray();
            var fixAllContext = inner.FixAllContext;

            if (fixAllContext != null)
            {
                FixAllContext = new FixAllCodeActionContext(inner.FixAllContext);
            }
        }
Пример #3
0
 internal CodeFixCollection(Microsoft.CodeAnalysis.CodeFixes.CodeFixCollection inner)
 {
     _inner = inner;
     Fixes  = inner.Fixes.Select(x => new CodeFix(x)).ToImmutableArray();
 }