3 overrides of DefaultValueFromAttributes
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceClonedParameterSymbol.cs (1)
83internal override ConstantValue DefaultValueFromAttributes
Symbols\Source\SourceComplexParameterSymbol.cs (1)
109internal sealed override ConstantValue DefaultValueFromAttributes
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
160internal override ConstantValue DefaultValueFromAttributes
5 references to DefaultValueFromAttributes
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceClonedParameterSymbol.cs (2)
79return _suppressOptional ? _originalParam.DefaultValueFromAttributes : _originalParam.ExplicitDefaultConstantValue; 85get { return _originalParam.DefaultValueFromAttributes; }
Symbols\Source\SourceParameterSymbolBase.cs (1)
93sourceParameter.DefaultValueFromAttributes == ConstantValue.NotAvailable)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LambdaTests.cs (2)
4876Assert.Equal(2, parameter.DefaultValueFromAttributes.Value); 4931Assert.Equal(new DateTime(638004778421967416L), parameter.DefaultValueFromAttributes.Value);