162 references to CreateCompilationWithRequiredMembers
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (162)
Symbols\RequiredMembersTests.cs (162)
105var comp = CreateCompilationWithRequiredMembers(@"
195var comp = CreateCompilationWithRequiredMembers(@"
235var comp = CreateCompilationWithRequiredMembers(code, parseOptions: TestOptions.Regular10);
246comp = CreateCompilationWithRequiredMembers(code, parseOptions: TestOptions.Regular11);
253var comp = CreateCompilationWithRequiredMembers(@"
315var comp = CreateCompilationWithRequiredMembers(code, parseOptions: use10 ? TestOptions.Regular10 : TestOptions.Regular11);
376comp = CreateCompilationWithRequiredMembers(code, parseOptions: use10 ? TestOptions.Regular10 : TestOptions.Regular11);
383var comp = CreateCompilationWithRequiredMembers(@"
401var comp = CreateCompilationWithRequiredMembers(@"
420var comp = CreateCompilationWithRequiredMembers(@"
439var comp = CreateCompilationWithRequiredMembers(@"
458var comp = CreateCompilationWithRequiredMembers(@"
500var comp = CreateCompilationWithRequiredMembers(@base + derived);
508var baseComp = CreateCompilationWithRequiredMembers(@base);
542var comp = CreateCompilationWithRequiredMembers(@base + derived + derivedDerived);
550var baseComp = CreateCompilationWithRequiredMembers(@base);
582var comp = CreateCompilationWithRequiredMembers(@base + derived);
596var baseComp = CreateCompilationWithRequiredMembers(@base, assemblyName: "test");
633var comp = CreateCompilationWithRequiredMembers(@base + derived + derivedDerived);
648var baseComp = CreateCompilationWithRequiredMembers(@base);
668var comp = CreateCompilationWithRequiredMembers(@"
712var comp = CreateCompilationWithRequiredMembers(@base + derived);
727var baseComp = CreateCompilationWithRequiredMembers(@base, assemblyName: "base");
773var comp = CreateCompilationWithRequiredMembers(@base + derived);
799var baseComp = CreateCompilationWithRequiredMembers(@base);
831var comp = CreateCompilationWithRequiredMembers(@"
1104var comp = CreateCompilationWithRequiredMembers(@"
1252var comp = CreateCompilationWithRequiredMembers(@"
1324var comp = CreateCompilationWithRequiredMembers(@"
1338var comp = CreateCompilationWithRequiredMembers(@"
1400var comp = CreateCompilationWithRequiredMembers($$"""
1426var comp = CreateCompilationWithRequiredMembers("""
1451var comp = CreateCompilationWithRequiredMembers("""
1476var comp = CreateCompilationWithRequiredMembers("""
1495var comp = CreateCompilationWithRequiredMembers("""
1520var comp = CreateCompilationWithRequiredMembers("""
1554var comp = CreateCompilationWithRequiredMembers(@"
1585var comp = CreateCompilationWithRequiredMembers(new[] { c, creation });
1607var cComp = CreateCompilationWithRequiredMembers(c);
1630var comp = CreateCompilationWithRequiredMembers(new[] { c, creation });
1634var cComp = CreateCompilationWithRequiredMembers(c);
1655var comp = CreateCompilationWithRequiredMembers(new[] { c, creation });
1677var cComp = CreateCompilationWithRequiredMembers(c);
1699var comp = CreateCompilationWithRequiredMembers(new[] { c, creation });
1702var cComp = CreateCompilationWithRequiredMembers(c);
1720var comp = CreateCompilationWithRequiredMembers(c);
1832var comp = CreateCompilationWithRequiredMembers(c);
1865var comp = CreateCompilationWithRequiredMembers(c);
1896var comp = CreateCompilationWithRequiredMembers(c);
1916var comp = CreateCompilationWithRequiredMembers(c);
1933var comp = CreateCompilationWithRequiredMembers(c);
1961var comp = CreateCompilationWithRequiredMembers(c);
1978var comp = CreateCompilationWithRequiredMembers(c);
2004var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2023var baseComp = CreateCompilationWithRequiredMembers(@base);
2057var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, code });
2061var baseComp = CreateCompilationWithRequiredMembers(@base);
2098var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2117var baseComp = CreateCompilationWithRequiredMembers(@base);
2146var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2150var baseComp = CreateCompilationWithRequiredMembers(@base);
2177var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2181var baseComp = CreateCompilationWithRequiredMembers(@base);
2203var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2253var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalCRef }, targetFramework: TargetFramework.Standard);
2298var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2339var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2349var baseComp = CreateCompilationWithRequiredMembers(@base);
2380var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2384var baseComp = CreateCompilationWithRequiredMembers(@base);
2413var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2423var baseComp = CreateCompilationWithRequiredMembers(@base);
2452var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
2455var baseComp = CreateCompilationWithRequiredMembers(@base);
2557var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2588var baseComp = CreateCompilationWithRequiredMembers(@base, new[] { originalC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
3215var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original");
3263var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original");
3298var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original");
3346var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original");
3393var originalComp = CreateCompilationWithRequiredMembers(new[] { original, IsExternalInitTypeDefinition }, assemblyName: "original");
3832var comp = CreateCompilationWithRequiredMembers(new[] { code, handler });
3861var comp = CreateCompilationWithRequiredMembers(code);
3890var comp = CreateCompilationWithRequiredMembers(code);
3915var comp = CreateCompilationWithRequiredMembers(code);
3941var comp = CreateCompilationWithRequiredMembers(code);
3970var comp = CreateCompilationWithRequiredMembers(code);
3999var comp = CreateCompilationWithRequiredMembers(code);
4029var comp = CreateCompilationWithRequiredMembers(code);
4144var comp = CreateCompilationWithRequiredMembers(code);
4176var comp = CreateCompilationWithRequiredMembers(code);
4208var comp = CreateCompilationWithRequiredMembers(code);
4230var comp = CreateCompilationWithRequiredMembers(code);
4256var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4276var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4307var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4327var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4348var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4369var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4397var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4424var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4448var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4477var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4509var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4543var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4578var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4612var comp = CreateCompilationWithRequiredMembers(new[] { code, MemberNotNullAttributeDefinition });
4660var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition });
4663var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition });
4705var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition });
4708var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition });
4750var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition });
4753var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition });
4794var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition });
4797var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition });
4840var comp = CreateCompilationWithRequiredMembers(new[] { @base, derived, MemberNotNullAttributeDefinition });
4843var baseComp = CreateCompilationWithRequiredMembers(new[] { @base, MemberNotNullAttributeDefinition });
4868var comp = CreateCompilationWithRequiredMembers(code);
4899var comp = CreateCompilationWithRequiredMembers(code);
4926var comp = CreateCompilationWithRequiredMembers(code);
4961var comp = CreateCompilationWithRequiredMembers(code);
5008var comp = CreateCompilationWithRequiredMembers(code);
5053var comp = CreateCompilationWithRequiredMembers(code);
5095var comp = CreateCompilationWithRequiredMembers(code);
5136var comp = CreateCompilationWithRequiredMembers(code);
5199var comp = CreateCompilationWithRequiredMembers(new[] { derived, @base });
5219var baseComp = CreateCompilationWithRequiredMembers(@base);
5282var comp = CreateCompilationWithRequiredMembers(code);
5345var comp = CreateCompilationWithRequiredMembers(new[] { derived, @base });
5365var baseComp = CreateCompilationWithRequiredMembers(@base);
5675var attrComp = CreateCompilationWithRequiredMembers("", assemblyName: "attr");
5708var comp = CreateCompilationWithRequiredMembers(code);
5737var comp = CreateCompilationWithRequiredMembers(code);
5763var comp = CreateCompilationWithRequiredMembers(code);
5789var comp = CreateCompilationWithRequiredMembers(code);
5815var comp = CreateCompilationWithRequiredMembers(code);
5834var comp = CreateCompilationWithRequiredMembers(code);
5865var comp = CreateCompilationWithRequiredMembers(code);
5890var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
5893var baseComp = CreateCompilationWithRequiredMembers(@base);
5934var comp = CreateCompilationWithRequiredMembers(code);
5965var comp = CreateCompilationWithRequiredMembers(new[] { @base, code });
5972var baseComp = CreateCompilationWithRequiredMembers(@base);
6133var comp = CreateCompilationWithRequiredMembers(code);
6158var comp = CreateCompilationWithRequiredMembers(code);
6180var comp = CreateCompilationWithRequiredMembers(code);
6226var comp = CreateCompilationWithRequiredMembers(code);
6256var comp = CreateCompilationWithRequiredMembers($$"""
6276var reference = CreateCompilationWithRequiredMembers("").ToMetadataReference();
6295var reference = CreateCompilationWithRequiredMembers("").ToMetadataReference();
6314var comp = CreateCompilationWithRequiredMembers("""
6359var comp = CreateCompilationWithRequiredMembers("""
6404var comp = CreateCompilationWithRequiredMembers("""
6425var comp = CreateCompilationWithRequiredMembers("""
6447var comp = CreateCompilationWithRequiredMembers("""
6518var comp = CreateCompilationWithRequiredMembers(code);
6542var comp = CreateCompilationWithRequiredMembers(code);
6559var comp = CreateCompilationWithRequiredMembers(code);
6593var comp = CreateCompilationWithRequiredMembers(code);
6619var comp = CreateCompilationWithRequiredMembers(code);
6640var comp = CreateCompilationWithRequiredMembers(code);
7155var comp = CreateCompilationWithRequiredMembers("""