2 implementations of IParameterSymbol_IsDiscard
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\ParameterSymbol.cs (1)
63bool IParameterSymbol.IsDiscard => _underlying.IsDiscard;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ParameterSymbol.vb (1)
298Private ReadOnly Property IParameterSymbol_IsDiscard As Boolean Implements IParameterSymbol.IsDiscard
7 references to IParameterSymbol_IsDiscard
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LambdaDiscardParametersTests.cs (3)
116Assert.True(symbol1.IsDiscard); 571Assert.False(parameterSymbol1.IsDiscard); 575Assert.False(parameterSymbol2.IsDiscard);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\SyntaxClassification\DiscardSyntaxClassifier.cs (1)
39if (symbol?.IsDiscard == true)
Microsoft.CodeAnalysis.Features (2)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
261if (parameter.IsDiscard)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
668Description(symbol.IsDiscard ? FeaturesResources.discard : FeaturesResources.parameter),
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ParameterSymbol.vb (1)
298Private ReadOnly Property IParameterSymbol_IsDiscard As Boolean Implements IParameterSymbol.IsDiscard