33 references to VerifyParams
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (33)
Semantics\ParamsCollectionTests.cs (33)
27VerifyParams(parameter, isParamArray: isParamArray, isParamCollection: isParamCollection);
50VerifyParams(parameter.GetSymbol<ParameterSymbol>(), isParamArray: isParamArray, isParamCollection: isParamCollection);
98VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
276VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
589VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
1261VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
2412VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
2601VerifyParams(m.GlobalNamespace.GetMember<MethodSymbol>("Program.Test").Parameters.Last(), isParamCollection: true);
10916VerifyParams(test1, isParamCollection: true);
10917VerifyParams(test2, isParamArray: true);
11064VerifyParams(test1, isParamArray: true, isParamCollection: true);
11065VerifyParams(test2, isParamArray: true, isParamCollection: true);
11212VerifyParams(test1, isParamArray: true, isParamCollection: true);
11213VerifyParams(test2, isParamArray: true, isParamCollection: true);
11354VerifyParams(test1, isParamArray: true);
11355VerifyParams(test2, isParamCollection: true);
11502VerifyParams(test1, isParamCollection: true);
11503VerifyParams(test2, isParamArray: true);
11649VerifyParams(test1, isParamArray: true, isParamCollection: true);
11650VerifyParams(test2, isParamArray: true, isParamCollection: true);
11796VerifyParams(test1, isParamArray: true, isParamCollection: true);
11797VerifyParams(test2, isParamArray: true, isParamCollection: true);
11937VerifyParams(test1, isParamArray: true);
11938VerifyParams(test2, isParamCollection: true);
12176VerifyParams(test1, isParamArray: (setAttributes & ParamsAttributes.Array) != 0, isParamCollection: (setAttributes & ParamsAttributes.Collection) != 0);
12177VerifyParams(test2, isParamArray: (setAttributes & ParamsAttributes.Array) != 0, isParamCollection: (setAttributes & ParamsAttributes.Collection) != 0);
12308VerifyParams(test1, isParamArray: (parameterAttributes & ParamsAttributes.Array) != 0, isParamCollection: (parameterAttributes & ParamsAttributes.Collection) != 0);
12425VerifyParams(test1, isParamArray: parameterAttributes == ParamsAttributes.Array, isParamCollection: parameterAttributes == ParamsAttributes.Collection);
12811VerifyParams(prop.Parameters[0], isParamCollection: true);
15257VerifyParams(comp.GetMember<MethodSymbol>("C1.Test").Parameters.Single(), isParamCollection: true);
15258VerifyParams(comp.GetMember<MethodSymbol>("C2.Test").Parameters.Single(), isParamCollection: true);
15281VerifyParams(comp.GetMember<MethodSymbol>("C1.Test").Parameters.Single());
15282VerifyParams(comp.GetMember<MethodSymbol>("C2.Test").Parameters.Single());