49 references to System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
Microsoft.CodeAnalysis (2)
Emit\CommonPEModuleBuilder.cs (1)
1041
SynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
WellKnownMembers.cs (1)
4497
case WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
:
Microsoft.CodeAnalysis.CSharp (25)
Emitter\NoPia\EmbeddedTypesManager.cs (2)
621
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
623
return compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
);
Lowering\SynthesizedMethodBaseSymbol.cs (1)
84
compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\AnonymousTypes\AnonymousTypeManager.SymbolCollection.cs (1)
34
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
239
compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
165
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Source\SourceEventFieldSymbol.cs (1)
64
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1609
this.DeclaringCompilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
788
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Source\SourcePropertySymbolBase.cs (1)
694
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
, diagnostics, location: Location);
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (2)
65
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
66
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (4)
91
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
92
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
157
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
158
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (2)
86
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
87
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (2)
71
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
72
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
49
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\SynthesizedContainer.cs (1)
74
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
174
moduleBuilder.Compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (1)
71
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
57
AddSynthesizedAttribute(ref attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_Synthesized.cs (1)
1967
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
,
Microsoft.CodeAnalysis.VisualBasic (20)
Emit\NoPia\EmbeddedTypesManager.vb (2)
523
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
525
Return compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
)
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
219
AddSynthesizedAttribute(attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Lowering\StateMachineRewriter\SynthesizedContainer.vb (2)
315
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
318
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.vb (2)
197
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
199
AddSynthesizedAttribute(attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (2)
30
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
196
Return DirectCast(Compilation.GetWellKnownTypeMember(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
), MethodSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (1)
177
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_TemplateSymbol.vb (1)
151
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
503
compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SourcePropertySymbol.vb (1)
190
Debug.Assert(WellKnownMembers.IsSynthesizedAttributeOptional(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SourceWithEventsBackingFieldSymbol.vb (1)
69
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
498
compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SynthesizedFieldSymbol.vb (1)
83
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (1)
96
compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
134
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
189
AddSynthesizedAttribute(attributes, compilation.TrySynthesizeAttribute(WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
117
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_Synthesized.vb (1)
1826
WellKnownMember.
System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor
,