9 references to DefaultValue
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory_Methods.cs (2)
322
var argumentKind = defaultArguments[i] ? ArgumentKind.
DefaultValue
: ArgumentKind.Explicit;
344
argumentKind = ArgumentKind.
DefaultValue
;
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\CSharpPreferGenericOverloads.cs (1)
37
.Where(a => a.ArgumentKind != ArgumentKind.
DefaultValue
)
Microsoft.CodeAnalysis.Features (2)
InlineMethod\AbstractInlineMethodRefactoringProvider.MethodParametersInfo.cs (2)
261
.WhereAsArray(argument => argument.ArgumentKind == ArgumentKind.
DefaultValue
);
518
if (argumentOperation.ArgumentKind == ArgumentKind.
DefaultValue
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\TestOperationVisitor.cs (2)
580
Assert.Contains(operation.ArgumentKind, new[] { ArgumentKind.
DefaultValue
, ArgumentKind.Explicit, ArgumentKind.ParamArray, ArgumentKind.ParamCollection });
587
if (operation.ArgumentKind == ArgumentKind.
DefaultValue
)
Diagnostics\OperationTestAnalyzer.cs (1)
553
if (argument.ArgumentKind == ArgumentKind.
DefaultValue
)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Usage\BasicPreferGenericOverloads.vb (1)
34
.Where(Function(a) a.ArgumentKind <> Operations.ArgumentKind.
DefaultValue
) _