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