2 implementations of IParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
1301 references to IParameterSymbol
Aspire.Hosting.Analyzers (3)
ConfigurationSchemaGenerator (13)
ILLink.RoslynAnalyzer (11)
Microsoft.Analyzers.Extra (4)
Microsoft.AspNetCore.App.Analyzers (27)
RouteEmbeddedLanguage\Infrastructure\RouteStringSyntaxDetector.cs (10)
277var parameter = FindParameterForArgument(semanticModel, argument, allowUncertainCandidates: true, cancellationToken);
295var parameter = FindParameterForAttributeArgument(semanticModel, argument, allowUncertainCandidates: true, cancellationToken);
372private static IParameterSymbol? FindParameterForArgument(SemanticModel semanticModel, SyntaxNode argument, bool allowUncertainCandidates, CancellationToken cancellationToken)
375private static IParameterSymbol? FindParameterForAttributeArgument(SemanticModel semanticModel, SyntaxNode argument, bool allowUncertainCandidates, CancellationToken cancellationToken)
383public static IParameterSymbol? DetermineParameter(
413var parameter = parameters.FirstOrDefault(p => p.Name == name);
436var lastParameter = parameters.LastOrDefault();
460public static IParameterSymbol? DetermineParameter(
493var parameter = parameters.FirstOrDefault(p => p.Name == name);
513var lastParameter = parameters.LastOrDefault();
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (13)
StaticRouteHandlerModel\EndpointParameter.cs (4)
21public EndpointParameter(Endpoint endpoint, IParameterSymbol parameter, WellKnownTypes wellKnownTypes) : this(endpoint, parameter.Type, parameter.Name, wellKnownTypes)
30private EndpointParameter(Endpoint endpoint, IPropertySymbol property, IParameterSymbol? parameter, WellKnownTypes wellKnownTypes) : this(endpoint, property.Type, property.Name, wellKnownTypes)
434if (typeSymbol is IParameterSymbol parameter)
495foreach (var parameter in parameters)
Microsoft.AspNetCore.Mvc.Analyzers (4)
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
Microsoft.CodeAnalysis (25)
Generated\Operations.Generated.cs (9)
881IParameterSymbol Parameter { get; }
2423IParameterSymbol Parameter { get; }
2567IParameterSymbol? Parameter { get; }
5316internal ParameterReferenceOperation(IParameterSymbol parameter, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit)
5322public IParameterSymbol Parameter { get; }
7659internal ParameterInitializerOperation(IParameterSymbol parameter, ImmutableArray<ILocalSymbol> locals, IOperation value, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
7664public IParameterSymbol Parameter { get; }
7914internal ArgumentOperation(ArgumentKind argumentKind, IParameterSymbol? parameter, IOperation value, IConvertibleConversion inConversion, IConvertibleConversion outConversion, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
7924public IParameterSymbol? Parameter { get; }
Microsoft.CodeAnalysis.CodeStyle (96)
Microsoft.CodeAnalysis.CodeStyle.Fixes (86)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (16)
56ImmutableArray<IParameterSymbol> parameters,
85ImmutableArray<IParameterSymbol> parameters, IMethodSymbol? getMethod, IMethodSymbol? setMethod,
128ImmutableArray<IParameterSymbol> parameters,
161ImmutableArray<IParameterSymbol> parameters,
182ImmutableArray<IParameterSymbol> parameters,
201ImmutableArray<IParameterSymbol> parameters,
225IParameterSymbol fromType,
253IParameterSymbol fromType,
268public static IParameterSymbol CreateParameterSymbol(ITypeSymbol type, string name)
271public static IParameterSymbol CreateParameterSymbol(RefKind refKind, ITypeSymbol type, string name)
280public static IParameterSymbol CreateParameterSymbol(
289internal static IParameterSymbol CreateParameterSymbol(
290IParameterSymbol parameter,
471ImmutableArray<IParameterSymbol> parameters = default,
521ImmutableArray<IParameterSymbol>? parameters = null,
547ImmutableArray<IParameterSymbol>? parameters = null,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConversionSymbol.cs (1)
23IParameterSymbol fromType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (15)
61ImmutableArray<IParameterSymbol> parameters)
68IParameterSymbol parameter)
124: throughMember is IParameterSymbol
264ImmutableArray<IParameterSymbol> parameters, ImmutableDictionary<string, string>? parameterToNewFieldMap, bool isContainedInUnsafeType)
267foreach (var parameter in parameters)
286ImmutableArray<IParameterSymbol> parameters, ImmutableDictionary<string, string>? parameterToNewPropertyMap, bool isContainedInUnsafeType)
289foreach (var parameter in parameters)
319ImmutableArray<IParameterSymbol> parameters,
328foreach (var parameter in parameters)
370IParameterSymbol parameter,
407this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter, SyntaxNode fieldAccess)
416public static SyntaxNode CreateThrowArgumentNullExpression(this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
419private static SyntaxNode CreateNewArgumentNullException(SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
432IParameterSymbol parameter)
451public static SyntaxNode CreateThrowArgumentNullExceptionStatement(this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
Microsoft.CodeAnalysis.CSharp (36)
Microsoft.CodeAnalysis.CSharp.CodeStyle (27)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (9)
144PooledDictionary<ISymbol, IParameterSymbol> candidateMembersToRemove,
153private readonly PooledDictionary<ISymbol, IParameterSymbol> _candidateMembersToRemove = candidateMembersToRemove;
323var candidateMembersToRemove = PooledDictionary<ISymbol, IParameterSymbol>.GetInstance();
387Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove)
409Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove)
416using var _2 = ArrayBuilder<(IParameterSymbol parameter, SyntaxNode assignedMemberDeclaration, bool parameterIsWrittenTo)>.GetInstance(out var orderedParameterAssignments);
466Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove,
467ArrayBuilder<(IParameterSymbol parameter, SyntaxNode assignedMemberDeclaration, bool parameterIsWrittenTo)>? orderedParameterAssignments,
533semanticModel.GetSymbolInfo(assignmentExpression.Right, cancellationToken).GetAnySymbol() is IParameterSymbol parameter &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (52)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (9)
22ImmutableArray<IParameterSymbol> parameterDefinitions,
32ImmutableArray<IParameterSymbol> parameterDefinitions,
44ImmutableArray<IParameterSymbol> parameterDefinitions,
52foreach (var p in parameterDefinitions)
63internal static ParameterSyntax GetParameter(IParameterSymbol parameter, CSharpCodeGenerationContextInfo info, bool isExplicit, bool isFirstParam, bool seenOptional)
77IParameterSymbol parameter, bool isFirstParam)
98IParameterSymbol parameter,
118private static ExpressionSyntax GenerateEqualsValueClauseWorker(SyntaxGenerator generator, IParameterSymbol parameter, object? value)
122IParameterSymbol parameter, bool isExplicit, CSharpCodeGenerationContextInfo info)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Microsoft.CodeAnalysis.CSharp.Features (120)
InlineHints\CSharpInlineParameterNameHintsService.cs (4)
34ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer,
50ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer,
68ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer,
95protected override bool IsIndexer(SyntaxNode node, IParameterSymbol parameter)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (9)
144PooledDictionary<ISymbol, IParameterSymbol> candidateMembersToRemove,
153private readonly PooledDictionary<ISymbol, IParameterSymbol> _candidateMembersToRemove = candidateMembersToRemove;
323var candidateMembersToRemove = PooledDictionary<ISymbol, IParameterSymbol>.GetInstance();
387Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove)
409Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove)
416using var _2 = ArrayBuilder<(IParameterSymbol parameter, SyntaxNode assignedMemberDeclaration, bool parameterIsWrittenTo)>.GetInstance(out var orderedParameterAssignments);
466Dictionary<ISymbol, IParameterSymbol> candidateMembersToRemove,
467ArrayBuilder<(IParameterSymbol parameter, SyntaxNode assignedMemberDeclaration, bool parameterIsWrittenTo)>? orderedParameterAssignments,
533semanticModel.GetSymbolInfo(assignmentExpression.Right, cancellationToken).GetAnySymbol() is IParameterSymbol parameter &&
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (80)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (21)
824var symbol = model.GetDeclaredSymbol(methodDecl.ParameterList.Parameters[0]);
840var symbol = model.GetDeclaredSymbol(delegateDecl.ParameterList.Parameters[0]);
860var symbol = model.GetDeclaredSymbol(methodDecl.ParameterList.Parameters[0]);
987var psym = model.GetDeclaredSymbol(memDecl.ParameterList.Parameters[0]);
1334var paramSymbol = model.GetDeclaredSymbol(parameterDecl);
1437var paramSymbol = model.GetDeclaredSymbol(parameterDecl);
1877var typeA = ((IParameterSymbol)symbols[0]).Type;
1881var typeB = ((IParameterSymbol)symbols[0]).Type;
2014var type = ((IParameterSymbol)symbols[0]).Type;
3672var parameter = (IParameterSymbol)info.Symbol;
3902var symbol = model.GetDeclaredSymbol(param);
5223var symbol1 = VerifyParameter(model, decls[0], 0, "[System.Int32 x = 2]", "System.Int32", 2);
5224var symbol2 = VerifyParameter(model, decls[1], 1, "[? = null]", "System.Int32", 3);
5244var symbol1 = VerifyParameter(model, decls[0], 0, "System.Int32 x", null, null);
5245var symbol2 = VerifyParameter(model, decls[1], 1, "[? = null]", "System.Int32", 3);
5265var symbol1 = VerifyParameter(model, decls[0], 0, "[System.Int32 x = 2]", "System.Int32", 2);
5266var symbol2 = VerifyParameter(model, decls[1], 1, "[? = null]", "System.Int32", 3);
5642private static IParameterSymbol VerifyParameter(
5650var symbol = (IParameterSymbol)model.GetDeclaredSymbol(decl);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (39)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (9)
22ImmutableArray<IParameterSymbol> parameterDefinitions,
32ImmutableArray<IParameterSymbol> parameterDefinitions,
44ImmutableArray<IParameterSymbol> parameterDefinitions,
52foreach (var p in parameterDefinitions)
63internal static ParameterSyntax GetParameter(IParameterSymbol parameter, CSharpCodeGenerationContextInfo info, bool isExplicit, bool isFirstParam, bool seenOptional)
77IParameterSymbol parameter, bool isFirstParam)
98IParameterSymbol parameter,
118private static ExpressionSyntax GenerateEqualsValueClauseWorker(SyntaxGenerator generator, IParameterSymbol parameter, object? value)
122IParameterSymbol parameter, bool isExplicit, CSharpCodeGenerationContextInfo info)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
CodeGeneration\CodeGenerationTests.cs (15)
105ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
141ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
184ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
224ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
266Func<SemanticModel, IParameterSymbol> fromType,
322ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters,
343ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
374ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
418ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters = default,
655internal static Func<SemanticModel, IParameterSymbol> Parameter(Type type, string name, bool hasDefaultValue = false, object defaultValue = null, bool isParams = false)
662internal static Func<SemanticModel, IParameterSymbol> Parameter(string typeFullName, string parameterName, bool hasDefaultValue = false, object defaultValue = null, bool isParams = false, int typeArrayRank = 0)
678internal static ImmutableArray<Func<SemanticModel, IParameterSymbol>> Parameters(params Func<SemanticModel, IParameterSymbol>[] p)
687private static ImmutableArray<IParameterSymbol> GetParameterSymbols(ImmutableArray<Func<SemanticModel, IParameterSymbol>> parameters, TestContext context)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (6)
Microsoft.CodeAnalysis.Features (246)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (21)
66var parameter = (IParameterSymbol)semanticModel.GetRequiredDeclaredSymbol(parameterNode, cancellationToken);
85IParameterSymbol parameter,
174private static (TParameterSyntax?, IParameterSymbol?) GetParameterAtOrdinal(int index, IReadOnlyList<TParameterSyntax> parameterNodes, SemanticModel semanticModel, CancellationToken cancellationToken)
178var parameter = (IParameterSymbol)semanticModel.GetRequiredDeclaredSymbol(parameterNode, cancellationToken);
188IOperation statement, IParameterSymbol parameter,
211private static bool IsIfNullCheck(IOperation statement, IParameterSymbol parameter)
244protected bool ParameterValidForNullCheck(Document document, IParameterSymbol parameter, SemanticModel semanticModel,
294private static bool IsStringCheck(IOperation condition, IParameterSymbol parameter)
308private static bool IsNullCheck(IOperation operand1, IOperation operand2, IParameterSymbol parameter)
313IParameterSymbol parameter,
336IParameterSymbol parameter,
352IParameterSymbol parameter,
383private TStatementSyntax CreateNullCheckStatement(SemanticModel semanticModel, SyntaxGenerator generator, IParameterSymbol parameter, TSimplifierOptions options)
390Compilation compilation, SyntaxGenerator generator, IParameterSymbol parameter, string methodName, TSimplifierOptions options)
407IParameterSymbol parameter,
453IParameterSymbol parameterSymbol,
484IParameterSymbol parameter,
553Compilation compilation, SyntaxGenerator generator, IParameterSymbol parameter)
561Compilation compilation, SyntaxGenerator generator, IParameterSymbol parameter, string methodName)
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (23)
50protected abstract bool TryUpdateTupleAssignment(IBlockOperation? blockStatement, IParameterSymbol parameter, ISymbol fieldOrProperty, SyntaxEditor editor);
63IParameterSymbol parameter,
108IParameterSymbol parameter,
193IParameterSymbol parameter,
217private static ImmutableArray<IParameterSymbol> GetParametersWithoutAssociatedMembers(
222using var _ = ArrayBuilder<IParameterSymbol>.GetInstance(out var result);
224foreach (var parameter in method.Parameters)
242IParameterSymbol parameter,
265IParameterSymbol parameter, IBlockOperation? blockStatement)
278IParameterSymbol parameter,
314IParameterSymbol parameter,
364ImmutableArray<IParameterSymbol> parameters,
385var parameter = parameters[i];
405var currentParameter = (IParameterSymbol?)parameter.GetSymbolKey(cancellationToken).Resolve(currentCompilation, cancellationToken: cancellationToken).GetAnySymbol();
428IParameterSymbol parameter,
515IParameterSymbol parameter,
543IParameterSymbol parameter, IBlockOperation? blockStatement,
578IParameterSymbol parameter, IBlockOperation? blockStatement)
606private static IOperation? TryFindFieldOrPropertyAssignmentStatement(IParameterSymbol parameter, IBlockOperation? blockStatement)
635IParameterSymbol parameter, IBlockOperation? blockStatement, out ISymbol? fieldOrProperty)
672IAssignmentOperation assignmentExpression, IParameterSymbol parameter)
676Document document, IParameterSymbol parameter, IBlockOperation? blockStatement, ImmutableArray<NamingRule> rules, ImmutableArray<string> parameterWords, CancellationToken cancellationToken)
InlineHints\AbstractInlineParameterNameHintsService.cs (10)
30ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> buffer,
33protected abstract bool IsIndexer(SyntaxNode node, IParameterSymbol parameter);
64using var _2 = ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)>.GetInstance(out var buffer);
122ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints)
132ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints)
150ArrayBuilder<(int position, string? identifierArgument, IParameterSymbol? parameter, HintKind kind)> parameterHints)
167static bool HasAlphaSuffix(IParameterSymbol? parameter, out ReadOnlyMemory<char> prefix)
185static bool HasNumericSuffix(IParameterSymbol? parameter, out ReadOnlyMemory<char> prefix)
219protected static bool MatchesMethodIntent(IParameterSymbol? parameter)
276private static bool ParameterMatchesArgumentName(string? identifierArgument, IParameterSymbol parameter, ISyntaxFactsService syntaxFacts)
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (7)
162? ImmutableArray<(IParameterSymbol, string)>.Empty
249ImmutableArray<(IParameterSymbol parameterSymbol, TExpressionSyntax expression)> parametersToGenerateFreshVariablesFor,
250ImmutableArray<(IParameterSymbol parameterSymbol, string identifierName)> parametersWithVariableDeclarationArgument,
278(IParameterSymbol parameterSymbol, TExpressionSyntax expression) parameterAndExpression)
324ImmutableArray<(IParameterSymbol parameter, string identifierName)> parametersWithVariableDeclarationArgument,
325ImmutableDictionary<IParameterSymbol, TExpressionSyntax> parametersToReplace,
357ImmutableArray<IParameterSymbol> parametersNeedGenerateFreshVariableFor,
InlineMethod\AbstractInlineMethodRefactoringProvider.MethodParametersInfo.cs (9)
26ImmutableArray<(IParameterSymbol parameterSymbol, string name)> parametersWithVariableDeclarationArgument,
27ImmutableArray<(IParameterSymbol parameterSymbol, TExpressionSyntax initExpression)> parametersToGenerateFreshVariablesFor,
28ImmutableDictionary<IParameterSymbol, TExpressionSyntax> parametersToReplace,
48public ImmutableArray<(IParameterSymbol parameterSymbol, string name)> ParametersWithVariableDeclarationArgument { get; } = parametersWithVariableDeclarationArgument;
76public ImmutableArray<(IParameterSymbol parameterSymbol, TExpressionSyntax initExpression)> ParametersToGenerateFreshVariablesFor { get; } = parametersToGenerateFreshVariablesFor;
124public ImmutableDictionary<IParameterSymbol, TExpressionSyntax> ParametersToReplace { get; } = parametersToReplace;
439var parameterSymbol = argument.Parameter;
483ImmutableArray<(IParameterSymbol parameterSymbol, string name)> parametersWithVariableDeclarationArgument,
499var parameterSymbol = argumentOperation.Parameter;
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (17)
62private async Task<Dictionary<TIdentifierNameSyntax, IParameterSymbol>> MapExpressionToParametersAsync(CancellationToken cancellationToken)
64var nameToParameterDict = new Dictionary<TIdentifierNameSyntax, IParameterSymbol>();
71if (symbol is IParameterSymbol parameterSymbol)
141foreach (var parameterSymbol in _methodSymbol.Parameters)
235var parameterToArgumentMap = new Dictionary<IParameterSymbol, int>();
305Dictionary<IParameterSymbol, int> parameterToArgumentMap, SyntaxNode currentArgumentListSyntax,
306SyntaxNode argumentListSyntax, SyntaxNode invocation, ImmutableArray<IParameterSymbol> validParameters,
315foreach (var parameterSymbol in validParameters)
388private async Task<SyntaxNode> ExtractMethodAsync(ImmutableArray<IParameterSymbol> validParameters, string newMethodIdentifier, SyntaxGenerator generator, CancellationToken cancellationToken)
441private async Task<SyntaxNode> CreateMethodDeclarationAsync(SyntaxNode newStatement, ImmutableArray<IParameterSymbol>? validParameters,
487var parameterToArgumentMap = new Dictionary<IParameterSymbol, int>();
542Dictionary<TIdentifierNameSyntax, IParameterSymbol> mappingDictionary,
543Dictionary<IParameterSymbol, int> parameterToArgumentMap,
588var argumentParameter = _semanticFacts.FindParameterForArgument(semanticModel, invocationArgument, cancellationToken);
602private static bool ShouldParameterBeSkipped(Compilation compilation, IParameterSymbol parameter)
608Dictionary<IParameterSymbol, int> mapping, SeparatedSyntaxList<SyntaxNode> arguments,
613var argumentParameter = _semanticFacts.FindParameterForArgument(invocationSemanticModel, arguments[i], cancellationToken);
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (34)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
28) As IParameterSymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (14)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (20)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
28) As IParameterSymbol
Microsoft.CodeAnalysis.Workspaces (174)
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (14)
19internal sealed class ParameterSymbolReferenceFinder : AbstractReferenceFinder<IParameterSymbol>
21protected override bool CanFind(IParameterSymbol symbol)
25IParameterSymbol symbol,
43IParameterSymbol symbol,
54IParameterSymbol parameter,
74private static void CascadeBetweenAnonymousDelegateParameters(IParameterSymbol parameter, ArrayBuilder<ISymbol> symbols)
84IParameterSymbol parameter, ArrayBuilder<ISymbol> symbols, CancellationToken cancellationToken)
91IParameterSymbol parameter,
132IParameterSymbol parameter,
143if (symbol is IParameterSymbol &&
183IParameterSymbol parameter,
204IParameterSymbol parameter,
234ImmutableArray<IParameterSymbol>? parameters)
241IParameterSymbol parameter,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (16)
56ImmutableArray<IParameterSymbol> parameters,
85ImmutableArray<IParameterSymbol> parameters, IMethodSymbol? getMethod, IMethodSymbol? setMethod,
128ImmutableArray<IParameterSymbol> parameters,
161ImmutableArray<IParameterSymbol> parameters,
182ImmutableArray<IParameterSymbol> parameters,
201ImmutableArray<IParameterSymbol> parameters,
225IParameterSymbol fromType,
253IParameterSymbol fromType,
268public static IParameterSymbol CreateParameterSymbol(ITypeSymbol type, string name)
271public static IParameterSymbol CreateParameterSymbol(RefKind refKind, ITypeSymbol type, string name)
280public static IParameterSymbol CreateParameterSymbol(
289internal static IParameterSymbol CreateParameterSymbol(
290IParameterSymbol parameter,
471ImmutableArray<IParameterSymbol> parameters = default,
521ImmutableArray<IParameterSymbol>? parameters = null,
547ImmutableArray<IParameterSymbol>? parameters = null,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConversionSymbol.cs (1)
23IParameterSymbol fromType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (15)
61ImmutableArray<IParameterSymbol> parameters)
68IParameterSymbol parameter)
124: throughMember is IParameterSymbol
264ImmutableArray<IParameterSymbol> parameters, ImmutableDictionary<string, string>? parameterToNewFieldMap, bool isContainedInUnsafeType)
267foreach (var parameter in parameters)
286ImmutableArray<IParameterSymbol> parameters, ImmutableDictionary<string, string>? parameterToNewPropertyMap, bool isContainedInUnsafeType)
289foreach (var parameter in parameters)
319ImmutableArray<IParameterSymbol> parameters,
328foreach (var parameter in parameters)
370IParameterSymbol parameter,
407this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter, SyntaxNode fieldAccess)
416public static SyntaxNode CreateThrowArgumentNullExpression(this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
419private static SyntaxNode CreateNewArgumentNullException(SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
432IParameterSymbol parameter)
451public static SyntaxNode CreateThrowArgumentNullExceptionStatement(this SyntaxGenerator factory, Compilation compilation, IParameterSymbol parameter)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Extensions.Logging.Generators (2)
Microsoft.Extensions.Options.SourceGeneration (6)
Microsoft.Gen.ComplianceReports (2)
Microsoft.Gen.Logging (9)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (3)
Microsoft.Interop.SourceGeneration (4)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.VisualStudio.LanguageServices (11)
Microsoft.VisualStudio.LanguageServices.CSharp (5)
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)
Mvc.Analyzers.Test (8)
Mvc.Api.Analyzers.Test (3)
System.Text.Json.SourceGeneration (2)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Analyzers.VisualBasic (1)