13 references to AddRange
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\AccessCheckTests.cs (1)
963
c = CreateEmptyCompilation(source, TargetFrameworkUtil.GetReferences(TargetFramework.Standard).
AddRange
(new[] { r1, r2 }));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\ReferenceManagerTests.cs (6)
962
var c = CreateEmptyCompilation("class C {}", TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { ref1, ref2 }));
984
var c = CreateEmptyCompilation("class C {}", TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { ref1, ref2 }));
1056
CreateEmptyCompilation(source, TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { ref1, ref2 })).VerifyDiagnostics();
1133
TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { mdRefLib1, mdRefLib2 }));
1198
TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { mdRefLib1, mdRefLib2 }));
1225
var compilation = CreateEmptyCompilation(source, TargetFrameworkUtil.StandardReferences.
AddRange
(new[] { arSA, enUS }));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Compilation\CompilationAPITests.vb (1)
2450
Dim references = TargetFrameworkUtil.Mscorlib40References.
AddRange
({reference, reference})
Compilation\ReferenceManagerTests.vb (4)
683
TargetFrameworkUtil.Mscorlib40References.
AddRange
({r1, r2}),
698
TargetFrameworkUtil.Mscorlib40References.
AddRange
({r1, r2}),
706
TargetFrameworkUtil.Mscorlib40References.
AddRange
({r1, rEmbed}),
720
TargetFrameworkUtil.Mscorlib40References.
AddRange
({rEmbed, r1}),
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.cs (1)
529
return self.
AddRange
(items.array);