11 references to IsSynthesizedAttributeOptional
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.cs (2)
832
bool isOptional = WellKnownMembers.
IsSynthesizedAttributeOptional
(attributeMember);
848
isOptional: WellKnownMembers.
IsSynthesizedAttributeOptional
(attributeMember));
Emitter\NoPia\EmbeddedTypesManager.cs (1)
636
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));
Symbols\AnonymousTypes\AnonymousTypeManager.SymbolCollection.cs (3)
34
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));
35
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Diagnostics_DebuggerHiddenAttribute__ctor));
36
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Diagnostics_DebuggerBrowsableAttribute__ctor));
Symbols\Compilation_WellKnownMembers.cs (2)
401
Debug.Assert(isOptionalUse || WellKnownMembers.
IsSynthesizedAttributeOptional
(constructor));
424
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(constructor));
Symbols\Source\SourceMethodSymbol.cs (1)
186
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
81
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
99
Debug.Assert(WellKnownMembers.
IsSynthesizedAttributeOptional
(WellKnownMember.System_Runtime_CompilerServices_CompilerGeneratedAttribute__ctor));