18 overrides of ImplementationAttributes
Microsoft.CodeAnalysis.CSharp (18)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
90internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
79internal sealed override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\ErrorMethodSymbol.cs (1)
39internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
838internal override MethodImplAttributes ImplementationAttributes => default;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
466internal override MethodImplAttributes ImplementationAttributes => (MethodImplAttributes)_implFlags;
Symbols\ReducedExtensionMethodSymbol.cs (1)
316internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\SignatureOnlyMethodSymbol.cs (1)
111internal override System.Reflection.MethodImplAttributes ImplementationAttributes { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1734internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
113internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
77internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
105internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
216internal sealed override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
78internal sealed override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
193internal override MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
138internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
302internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
51internal override System.Reflection.MethodImplAttributes ImplementationAttributes
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
272internal override System.Reflection.MethodImplAttributes ImplementationAttributes
34 references to ImplementationAttributes
Microsoft.CodeAnalysis.CSharp (8)
Emitter\Model\MethodSymbolAdapter.cs (1)
441return AdaptedMethodSymbol.ContainingType.IsExtension ? default : AdaptedMethodSymbol.ImplementationAttributes;
Emitter\NoPia\EmbeddedMethod.cs (1)
148return UnderlyingMethod.AdaptedMethodSymbol.ImplementationAttributes;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
167internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.ImplementationAttributes : default;
Symbols\MethodSymbol.cs (1)
1222MethodImplAttributes IMethodSymbolInternal.ImplementationAttributes => ImplementationAttributes;
Symbols\PublicModel\MethodSymbol.cs (1)
315System.Reflection.MethodImplAttributes IMethodSymbol.MethodImplementationFlags => _underlying.ImplementationAttributes;
Symbols\ReducedExtensionMethodSymbol.cs (1)
318get { return _reducedFrom.ImplementationAttributes; }
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
327return implementationPart.ImplementationAttributes;
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
276return UnderlyingMethod.ImplementationAttributes;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
CodeGen\CodeGenLocalFunctionTests.cs (2)
5779Assert.Equal(MethodImplAttributes.PreserveSig, localFunction.ImplementationAttributes); 5851Assert.Equal(MethodImplAttributes.IL, localFunction.ImplementationAttributes);
CodeGen\EventTests.cs (6)
218Assert.True((addMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 224Assert.True((removeMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 719Assert.False((addMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 722Assert.False((removeMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 791Assert.True((addMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0); 794Assert.True((removeMethod.ImplementationAttributes & System.Reflection.MethodImplAttributes.Synchronized) == 0);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
3679Assert.Equal(expectedMethodImplAttributes, ctorA.ImplementationAttributes);
PartialEventsAndConstructorsTests.cs (13)
1719Assert.False(accessor.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1727Assert.Equal(MethodImplAttributes.PreserveSig, accessor.ImplementationAttributes); 1762Assert.Equal(MethodImplAttributes.InternalCall, ev.AddMethod.ImplementationAttributes); 1763Assert.False(ev.AddMethod.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1766Assert.Equal(MethodImplAttributes.InternalCall, ev.RemoveMethod.ImplementationAttributes); 1767Assert.False(ev.RemoveMethod.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1781Assert.Equal(MethodImplAttributes.InternalCall, ev.AddMethod.ImplementationAttributes); 1782Assert.False(ev.AddMethod.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1785Assert.Equal(MethodImplAttributes.InternalCall, ev.RemoveMethod.ImplementationAttributes); 1786Assert.False(ev.RemoveMethod.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1791Assert.Equal(MethodImplAttributes.InternalCall, c.ImplementationAttributes); 1902Assert.True(e.AddMethod!.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized)); 1903Assert.True(e.RemoveMethod!.ImplementationAttributes.HasFlag(MethodImplAttributes.Synchronized));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\TopLevelStatementsTests.cs (1)
6206Assert.Equal(MethodImplAttributes.IL, localFunction.ImplementationAttributes);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\ExtendedPartialMethodsTests.cs (1)
1173Assert.Equal(MethodImplAttributes.PreserveSig, method.ImplementationAttributes);
Symbols\PartialPropertiesTests.cs (1)
801Assert.Equal(MethodImplAttributes.PreserveSig, accessor.ImplementationAttributes);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
61Assert.Equal(default, symbol.ImplementationAttributes);