18 references to ParameterSymbol
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
367
displayParts.AddRange(existingParameter.
ParameterSymbol
.ToDisplayParts(s_parameterDisplayFormat));
481
!_parametersWithoutDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.
ParameterSymbol
).SequenceEqual(_originalParameterConfiguration.ParametersWithoutDefaultValues.Cast<ExistingParameter>().Select(p => p.Symbol)) ||
482
!_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)
202
if (
ParameterSymbol
.IsParams)
208
ParameterSymbol
== ChangeSignatureDialogViewModel._thisParameter.
ParameterSymbol
)
218
public override string Type =>
ParameterSymbol
.Type.ToDisplayString(s_parameterDisplayFormat);
220
public override string ParameterName =>
ParameterSymbol
.Name;
226
if (!
ParameterSymbol
.HasExplicitDefaultValue)
231
switch (
ParameterSymbol
.Language)
243
return
ParameterSymbol
.ExplicitDefaultValue == null ? (
ParameterSymbol
.Type.IsReferenceType ? @null : @default) :
244
ParameterSymbol
.ExplicitDefaultValue is string ? "\"" +
ParameterSymbol
.ExplicitDefaultValue.ToString() + "\"" :
245
ParameterSymbol
.ExplicitDefaultValue.ToString();
254
public override bool IsRequired => !
ParameterSymbol
.HasExplicitDefaultValue;