32 overrides of IsVararg
Microsoft.CodeAnalysis.CSharp (29)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
125public override bool IsVararg
Lowering\SynthesizedMethodBaseSymbol.cs (1)
215public sealed override bool IsVararg
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
99public sealed override bool IsVararg
Symbols\ErrorMethodSymbol.cs (1)
179public override bool IsVararg
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
791public override bool IsVararg
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
497public override bool IsVararg => Signature.Header.CallingConvention == SignatureCallingConvention.VarArgs;
Symbols\ReducedExtensionMethodSymbol.cs (1)
474public override bool IsVararg
Symbols\SignatureOnlyMethodSymbol.cs (1)
65public override bool IsVararg { get { return new SignatureHeader((byte)_callingConvention).CallingConvention == SignatureCallingConvention.VarArgs; } }
Symbols\Source\LambdaSymbol.cs (1)
127public override bool IsVararg
Symbols\Source\LocalFunctionSymbol.cs (1)
141public override bool IsVararg
Symbols\Source\SourceConstructorSymbolBase.cs (1)
103public sealed override bool IsVararg
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
132public sealed override bool IsVararg
Symbols\Source\SourceDestructorSymbol.cs (1)
87public override bool IsVararg
Symbols\Source\SourceEventAccessorSymbol.cs (1)
199public sealed override bool IsVararg
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
358public override bool IsVararg
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
311public sealed override bool IsVararg
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
766public sealed override bool IsVararg
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
81public sealed override bool IsVararg => false;
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
148public override bool IsVararg
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
87public override bool IsVararg
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
156public override bool IsVararg
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
54public sealed override bool IsVararg
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
127public sealed override bool IsVararg
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
109public override bool IsVararg
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
192public override bool IsVararg
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
165public override bool IsVararg
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
114public override bool IsVararg
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
56public override bool IsVararg
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
32public override bool IsVararg
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
Symbols\EEMethodSymbol.cs (1)
304public override bool IsVararg
Symbols\PlaceholderMethodSymbol.cs (1)
115public override bool IsVararg
Symbols\SynthesizedContextMethodSymbol.cs (1)
95public override bool IsVararg
44 references to IsVararg
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_Crefs.cs (1)
777bool candidateMethodIsVararg = candidateMethod.IsVararg;
Binder\Binder_Expressions.cs (1)
1280if ((object)method == null || !method.IsVararg)
Binder\ExecutableCodeBinder.cs (1)
123if (iterator.IsVararg)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
765isVararg: constructor.IsVararg, 800Debug.Assert(!constructor.IsVararg);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
883Debug.Assert(((MethodSymbol)(object)badMember).IsVararg);
CodeGen\EmitExpression.cs (7)
1640method.IsVararg ? (BoundArgListOperator)arguments[arguments.Length - 1] : null); 1794actualMethodTargetedByTheCall.IsVararg ? (BoundArgListOperator)arguments[arguments.Length - 1] : null); 2031if (method.IsVararg) 2055if (objCreation.Constructor.IsVararg) 2239constructor.IsVararg ? (BoundArgListOperator)expression.Arguments[expression.Arguments.Length - 1] : null); 2417!ctor.IsVararg && 2496constructor.IsVararg ? (BoundArgListOperator)objCreation.Arguments[objCreation.Arguments.Length - 1] : null);
Compilation\CSharpCompilation.cs (1)
2031if (method.IsVararg)
Compiler\ClsComplianceChecker.cs (1)
326if (symbol.IsVararg)
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (2)
111if (symbol.Parameters.Any() || symbol.IsVararg) 113s_parameterOrReturnTypeInstance.VisitParameters(symbol.Parameters, symbol.IsVararg, builder);
Emitter\Model\MethodReference.cs (1)
38return UnderlyingMethod.IsVararg;
Emitter\Model\MethodSymbolAdapter.cs (1)
131return AdaptedMethodSymbol.IsVararg;
Emitter\Model\PEModuleBuilder.cs (1)
1273Debug.Assert(optArgList == null || (methodSymbol.IsVararg && !needDeclaration));
Emitter\NoPia\EmbeddedMethod.cs (1)
192return UnderlyingMethod.AdaptedMethodSymbol.IsVararg;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
217get { return this.BaseMethod.IsVararg; }
Symbols\MemberSignatureComparer.cs (1)
793return member.Kind == SymbolKind.Method && ((MethodSymbol)member).IsVararg;
Symbols\MemberSymbolExtensions.cs (1)
71return ((MethodSymbol)member).IsVararg;
Symbols\PublicModel\MethodSymbol.cs (1)
316bool IMethodSymbol.IsVararg => _underlying.IsVararg;
Symbols\ReducedExtensionMethodSymbol.cs (1)
476get { return _reducedFrom.IsVararg; }
Symbols\Source\SourceMemberMethodSymbol.cs (1)
582var cc = IsVararg ? Cci.CallingConvention.ExtraArguments : Cci.CallingConvention.Default;
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
56get { return _interfaceMethod.IsVararg; }
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
169return _overriddenAccessor.IsVararg;
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
36return UnderlyingMethod.IsVararg;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (2)
613Assert.False(ctor.IsVararg); 634Assert.False(cctor.IsVararg);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EEMethodSymbol.cs (1)
306get { return this.SubstitutedSourceMethod.IsVararg; }
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
DocumentationComments\CrefTests.cs (2)
1380var expectedWinner = expectedCandidates.OfType<MethodSymbol>().Single(m => !m.IsVararg); 1409Single(m => m.IsVararg);
Symbols\AnonymousTypesSymbolTests.cs (1)
1131Assert.False(method.IsVararg);
Symbols\CompilationCreationTests.cs (1)
2382Assert.False(foo2.IsVararg);
Symbols\Metadata\MetadataMemberTests.cs (3)
172Assert.False(ctor.IsVararg); 220Assert.False(member1.IsVararg); 326Assert.False(member2.IsVararg);
Symbols\Metadata\PE\LoadingMethods.cs (3)
164Assert.False(basicC1_M12.IsVararg); 179Assert.Equal(1, console.GetMembers("WriteLine").OfType<MethodSymbol>().Count(m => m.IsVararg)); 180Assert.True(console.GetMembers("WriteLine").OfType<MethodSymbol>().Single(m => m.IsVararg).IsStatic);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
86Assert.Equal(symbol.IsVararg, symbol.CallingConvention.IsCallingConvention(CallingConvention.ExtraArguments));