11 references to Attributes
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
3475flags = parameter.Attributes;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Attributes\AttributeTests_WellKnownAttributes.cs (7)
1094Assert.Equal(ParameterAttributes.Optional | ParameterAttributes.HasDefault, param.Attributes); 1182Assert.Equal(expectedFlags, paramRow.Attributes); 2186Assert.Equal(expectedFlags, row.Attributes); 2352Assert.Equal(expectedFlags, row.Attributes); 2401Assert.Equal(expectedFlags, row.Attributes); 2431Assert.Equal(ParameterAttributes.In | ParameterAttributes.Out, metadataReader.GetParameter(ps[0]).Attributes); 2432Assert.Equal(ParameterAttributes.In | ParameterAttributes.Out, metadataReader.GetParameter(ps[1]).Attributes);
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\MetadataValidation.cs (2)
118Assert.NotEqual(0, (int)(paramRow.Attributes & ParameterAttributes.HasFieldMarshal)); 130Assert.Equal(0, (int)(paramRow.Attributes & ParameterAttributes.HasFieldMarshal));
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Parameters\Ecma\EcmaFatMethodParameter.cs (1)
36protected sealed override ParameterAttributes ComputeAttributes() => Parameter.Attributes;