8 references to DefaultValue
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory_Methods.cs (2)
322var argumentKind = defaultArguments[i] ? ArgumentKind.DefaultValue : ArgumentKind.Explicit; 344argumentKind = ArgumentKind.DefaultValue;
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.cs (1)
38.Where(a => a.ArgumentKind != ArgumentKind.DefaultValue)
Microsoft.CodeAnalysis.Features (2)
InlineMethod\AbstractInlineMethodRefactoringProvider.MethodParametersInfo.cs (2)
261.WhereAsArray(argument => argument.ArgumentKind == ArgumentKind.DefaultValue); 518if (argumentOperation.ArgumentKind == ArgumentKind.DefaultValue
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\ForwardCancellationTokenToInvocations.Analyzer.cs (1)
307static (a, cancellationTokenType) => a.Parameter != null && a.Parameter.Type.Equals(cancellationTokenType) && a.ArgumentKind == ArgumentKind.DefaultValue,
Microsoft.NetCore.Analyzers\Runtime\SpecifyIFormatProvider.cs (1)
254&& x.ArgumentKind == ArgumentKind.DefaultValue);
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\BasicPreferGenericOverloads.vb (1)
34.Where(Function(a) a.ArgumentKind <> Operations.ArgumentKind.DefaultValue) _