8 references to ResourceDescription
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\ResourceTests.cs (4)
263new ResourceDescription("A", dataProvider, true), 316new ResourceDescription("A", dataProvider, true), 804new ResourceDescription(r2Name, () => null, true), 903new ResourceDescription("res", () => stream, false)
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
280var description = new ResourceDescription(name, dataProvider: () => new MemoryStream(content), isPublic);
Microsoft.CodeAnalysis.UnitTests (3)
ResourceDescriptionTests.cs (3)
31Assert.Throws<ArgumentNullException>(() => new ResourceDescription(null, data, isPublic: true)); 32Assert.Throws<ArgumentNullException>(() => new ResourceDescription("res", null, isPublic: true)); 51new ResourceDescription(new string('e', 1024), data, true);