9 overrides of IsParamsCollection
Microsoft.CodeAnalysis.CSharp (9)
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
77public override bool IsParamsCollection => false;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1021public override bool IsParamsCollection
Symbols\SignatureOnlyParameterSymbol.cs (1)
48public override bool IsParamsCollection { get { return _isParamsCollection; } }
Symbols\Source\SourceClonedParameterSymbol.cs (1)
52public override bool IsParamsCollection
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1532public sealed override bool IsParamsCollection => (_parameterSyntaxKind & ParameterFlags.ParamsParameter) != 0 && !this.Type.IsSZArray();
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
68public override bool IsParamsCollection
Symbols\Source\ThisParameterSymbol.cs (1)
43public sealed override bool IsParamsCollection
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
68public override bool IsParamsCollection
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
99public override bool IsParamsCollection
58 references to IsParamsCollection
Microsoft.CodeAnalysis.CSharp (15)
Binder\Semantics\Conversions\Conversions.cs (1)
438isParamsArray: parameter.IsParamsArray, isParamsCollection: parameter.IsParamsCollection, parameter.RefKind);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
1314(final.IsParamsCollection && !final.Type.IsSZArray() && !disallowExpandedNonArrayParams &&
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
534x.IsParamsCollection == y.IsParamsCollection) &&
Lowering\LocalRewriter\LocalRewriter.cs (2)
334delegateInvoke.Parameters.Any(static (p) => p.IsParamsCollection)) 337if (node.Symbol.Parameters.LastOrDefault(static (p) => p.IsParamsCollection) is { } parameter)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
744delegateInvoke.Parameters.Any(static (p) => p.IsParamsCollection))
Symbols\ParameterSymbol.cs (1)
136internal bool IsParams => IsParamsArray || IsParamsCollection;
Symbols\PublicModel\ParameterSymbol.cs (1)
69bool IParameterSymbol.IsParamsCollection => _underlying.IsParamsCollection;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
1007isParamsCollection: param.IsParamsCollection, 1081isParamsCollection: param.IsParamsCollection,
Symbols\Source\ParameterHelpers.cs (1)
375if (parameters.LastOrDefault(static (p) => p.IsParamsCollection) is { } parameter)
Symbols\Source\SourceClonedParameterSymbol.cs (1)
54get { return !_suppressOptional && _originalParam.IsParamsCollection; }
Symbols\Source\SourceParameterSymbolBase.cs (1)
81else if (parameter.IsParamsCollection)
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
101get { return _underlyingParameter.IsParamsCollection; }
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenOverridingAndHiding.cs (3)
4113Assert.False(parameterA.IsParamsCollection); 4121Assert.False(parameterB.IsParamsCollection); 4139Assert.False(parameter.IsParamsCollection);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests.cs (3)
3456Assert.False(attrs.First().AttributeConstructor.Parameters.Last().IsParamsCollection); 3595Assert.False(attrs.First().AttributeConstructor.Parameters.Last().IsParamsCollection); 8819Assert.False(yParam.IsParamsCollection);
Attributes\AttributeTests_WellKnownAttributes.cs (1)
9745Assert.False(param.IsParamsCollection);
Attributes\WellKnownAttributesTestBase.cs (1)
90Assert.False(parameter.IsParamsCollection);
Semantics\ParamsCollectionTests.cs (1)
47Assert.Equal(isParamCollection, parameter.IsParamsCollection);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\LambdaTests.cs (13)
8358Assert.False(((SourceParameterSymbol)lambdas[0].Parameters.Single()).IsParamsCollection); 8362Assert.False(((SourceParameterSymbol)lambdas[1].Parameters.Single()).IsParamsCollection); 8368Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[0]).IsParamsCollection); 8371Assert.False(((SourceParameterSymbol)lambdas[2].Parameters[1]).IsParamsCollection); 8393Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[0]).IsParamsCollection); 8396Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[1]).IsParamsCollection); 8399Assert.False(((SourceParameterSymbol)lambdas[0].Parameters[2]).IsParamsCollection); 8405Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[0]).IsParamsCollection); 8408Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[1]).IsParamsCollection); 8411Assert.False(((SourceParameterSymbol)lambdas[1].Parameters[2]).IsParamsCollection); 8435Assert.False(lam1.DelegateParameters().Single().IsParamsCollection); 8443Assert.False(lam3Parameters[0].IsParamsCollection); 8446Assert.False(lam3Parameters[1].IsParamsCollection);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (20)
Symbols\Metadata\MetadataMemberTests.cs (2)
278Assert.False(p3.IsParamsCollection); 375Assert.False(p1.IsParamsCollection);
Symbols\Metadata\PE\LoadingIndexers.cs (5)
922Assert.False(readWrite.Parameters.Last().IsParamsCollection); 929Assert.False(readOnly.Parameters.Last().IsParamsCollection); 936Assert.False(writeOnly.Parameters.Last().IsParamsCollection); 1012Assert.False(readWrite.Parameters.Last().IsParamsCollection); //favour setter 1019Assert.False(readOnly.Parameters.Last().IsParamsCollection); //favour setter
Symbols\Source\CustomModifierCopyTests.cs (12)
653Assert.False(baseM.Parameters.Single().IsParamsCollection); 656Assert.False(baseN.Parameters.Single().IsParamsCollection); 659Assert.False(derivedM.Parameters.Single().IsParamsCollection); 662Assert.False(derivedN.Parameters.Single().IsParamsCollection); 665Assert.False(derived2M.Parameters.Single().IsParamsCollection); 668Assert.False(derived2N.Parameters.Single().IsParamsCollection); 824Assert.False(baseIndexer1.Parameters.Single().IsParamsCollection); 827Assert.False(baseIndexer2.Parameters.Single().IsParamsCollection); 830Assert.False(derivedIndexer1.Parameters.Single().IsParamsCollection); 833Assert.False(derivedIndexer2.Parameters.Single().IsParamsCollection); 836Assert.False(derived2Indexer1.Parameters.Single().IsParamsCollection); 839Assert.False(derived2Indexer2.Parameters.Single().IsParamsCollection);
Symbols\TypeTests.cs (1)
1577Assert.False(paras[1].IsParamsCollection);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
115Assert.False(symbol.IsParamsCollection);