19 overrides of ImplementationAttributes
Microsoft.CodeAnalysis.CSharp (19)
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)
470
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)
1746
internal override System.Reflection.MethodImplAttributes
ImplementationAttributes
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
116
internal override System.Reflection.MethodImplAttributes
ImplementationAttributes
Symbols\Synthesized\SynthesizedEmbeddedExtensionMarkerNameAttributeSymbol.cs (1)
184
internal override MethodImplAttributes
ImplementationAttributes
=> default;
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
46 references to ImplementationAttributes
Microsoft.CodeAnalysis.CSharp (8)
Emitter\Model\MethodSymbolAdapter.cs (1)
461
return AdaptedMethodSymbol.ContainingType.IsExtension ? default : AdaptedMethodSymbol.
ImplementationAttributes
;
Emitter\NoPia\EmbeddedMethod.cs (1)
148
return UnderlyingMethod.AdaptedMethodSymbol.
ImplementationAttributes
;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
170
internal sealed override MethodImplAttributes ImplementationAttributes => InheritsBaseMethodAttributes ? BaseMethod.
ImplementationAttributes
: default;
Symbols\MethodSymbol.cs (1)
1228
MethodImplAttributes IMethodSymbolInternal.ImplementationAttributes =>
ImplementationAttributes
;
Symbols\PublicModel\MethodSymbol.cs (1)
329
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 (18)
CodeGen\CodeGenAsyncTests.cs (10)
321
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
386
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
449
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
507
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
633
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
774
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
900
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
1039
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
1157
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
1272
Assert.Equal(MethodImplAttributes.Async, f.
ImplementationAttributes
);
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)
1899
Assert.False(accessor.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
1907
Assert.Equal(MethodImplAttributes.PreserveSig, accessor.
ImplementationAttributes
);
1942
Assert.Equal(MethodImplAttributes.InternalCall, ev.AddMethod.
ImplementationAttributes
);
1943
Assert.False(ev.AddMethod.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
1946
Assert.Equal(MethodImplAttributes.InternalCall, ev.RemoveMethod.
ImplementationAttributes
);
1947
Assert.False(ev.RemoveMethod.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
1961
Assert.Equal(MethodImplAttributes.InternalCall, ev.AddMethod.
ImplementationAttributes
);
1962
Assert.False(ev.AddMethod.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
1965
Assert.Equal(MethodImplAttributes.InternalCall, ev.RemoveMethod.
ImplementationAttributes
);
1966
Assert.False(ev.RemoveMethod.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
1971
Assert.Equal(MethodImplAttributes.InternalCall, c.
ImplementationAttributes
);
2082
Assert.True(e.AddMethod!.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
2083
Assert.True(e.RemoveMethod!.
ImplementationAttributes
.HasFlag(MethodImplAttributes.Synchronized));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\TopLevelStatementsTests.cs (3)
1177
Assert.Equal(MethodImplAttributes.Async, main.
ImplementationAttributes
& MethodImplAttributes.Async);
6295
Assert.Equal(MethodImplAttributes.IL, localFunction.
ImplementationAttributes
);
7975
Assert.Equal(MethodImplAttributes.Async, main.
ImplementationAttributes
& MethodImplAttributes.Async);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\ExtendedPartialMethodsTests.cs (1)
1173
Assert.Equal(MethodImplAttributes.PreserveSig, method.
ImplementationAttributes
);
Symbols\PartialPropertiesTests.cs (1)
828
Assert.Equal(MethodImplAttributes.PreserveSig, accessor.
ImplementationAttributes
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
61
Assert.Equal(default, symbol.
ImplementationAttributes
);