19 references to ParameterSymbol
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
383
displayParts.AddRange(existingParameter.
ParameterSymbol
.ToDisplayParts(s_parameterDisplayFormat));
497
!_parametersWithoutDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.
ParameterSymbol
).SequenceEqual(_originalParameterConfiguration.ParametersWithoutDefaultValues.Cast<ExistingParameter>().Select(p => p.Symbol)) ||
498
!_parametersWithDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.
ParameterSymbol
).SequenceEqual(_originalParameterConfiguration.RemainingEditableParameters.Cast<ExistingParameter>().Select(p => p.Symbol));
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (15)
178
switch (
ParameterSymbol
.Language)
190
switch (
ParameterSymbol
.RefKind)
200
if (
ParameterSymbol
.IsParams)
206
ParameterSymbol
== ChangeSignatureDialogViewModel._thisParameter.
ParameterSymbol
)
216
public override string Type =>
ParameterSymbol
.Type.ToDisplayString(s_parameterDisplayFormat);
218
public override string ParameterName =>
ParameterSymbol
.Name;
224
if (!
ParameterSymbol
.HasExplicitDefaultValue)
229
switch (
ParameterSymbol
.Language)
241
return
ParameterSymbol
.ExplicitDefaultValue == null ? (
ParameterSymbol
.Type.IsReferenceType ? @null : @default) :
242
ParameterSymbol
.ExplicitDefaultValue is string ? "\"" +
ParameterSymbol
.ExplicitDefaultValue.ToString() + "\"" :
243
ParameterSymbol
.ExplicitDefaultValue.ToString();
252
public override bool IsRequired => !
ParameterSymbol
.HasExplicitDefaultValue;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ChangeSignature\ChangeSignatureViewModelTests.vb (1)
398
Assert.Equal(expected, DirectCast(finalParameterList(index), ExistingParameterViewModel).
ParameterSymbol
)