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