1 type derived from TestGeneratorReference
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
4 instantiations of TestGeneratorReference
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
46 references to TestGeneratorReference
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (8)
Microsoft.CodeAnalysis.Workspaces.UnitTests (34)
SolutionTests\SolutionWithSourceGeneratorTests.cs (33)
48var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
135var generatorReferenceToKeep = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent", hintName: "generatorReferenceToKeep"));
136var analyzerReferenceToAddAndRemove = new TestGeneratorReference(new SingleFileTestGenerator2("// More Static Content", hintName: "analyzerReferenceToAddAndRemove"));
162var generatorReference1 = new TestGeneratorReference(new SingleFileTestGenerator("", hintName: "DuplicateFile"), analyzerFilePath: "Z:\\A.dll");
163var generatorReference2 = new TestGeneratorReference(new SingleFileTestGenerator("", hintName: "DuplicateFile"), analyzerFilePath: "Z:\\B.dll");
181var analyzerReference = new TestGeneratorReference(generator);
253var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
293var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
337var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
365var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
387var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
403static Solution AddProjectWithReference(Solution solution, TestGeneratorReference analyzerReference)
418var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
443var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
457var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
480var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
500var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
527var analyzerReference = new TestGeneratorReference(generator);
588var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
612var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
631var analyzerReference = new TestGeneratorReference(new GenerateFileForEachAdditionalFileWithContentsCommented());
659var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
690var analyzerReference = new TestGeneratorReference(new SingleFileTestGenerator("// StaticContent"));
718var analyzerReference = new TestGeneratorReference(generator);
749var analyzerReference = new TestGeneratorReference(new CallbackGenerator(_ => { }, onExecute: _ => { generatorRan = true; }, source: "// Hello World!"));
778var analyzerReference = new TestGeneratorReference(new CallbackGenerator(_ => { }, onExecute: _ => { generatorRan = true; }, source: "// Hello World!"));
807var analyzerReference = new TestGeneratorReference(new CallbackGenerator(_ => { }, onExecute: _ => { generatorRan = true; }, source: "// Hello World!"));
842var analyzerReference = new TestGeneratorReference(
868var analyzerReference = new TestGeneratorReference(
901var analyzerReference = new TestGeneratorReference(
926var analyzerReference = new TestGeneratorReference(
944var analyzerReference1 = new TestGeneratorReference(
946var analyzerReference2 = new TestGeneratorReference(
Roslyn.VisualStudio.Next.UnitTests (2)