Example #1
0
 private void DeclaringTypeConflict(QualifierTests instance)
 {
     DeclaringType();
     instance.DeclaringType();
     fieldConflict();
     instance.fieldConflict = 5;
 }
Example #2
0
 private void Parameter(QualifierTests test)
 {
     Delegate(Parameter);
     Delegate(StaticParameter);
     Delegate(test.Parameter);
     Delegate(QualifierTests.StaticParameter);
 }
Example #3
0
 private void DeclaringType()
 {
     StaticNoParameteres();
     Parameter(null);
     StaticParameter(null);
     // The unnecessary cast is added, because we add casts before we add the qualifier.
     // normally it's preferable to have casts over having qualifiers,
     // this is an ugly edge case.
     QualifierTests.StaticParameter((object)null);
 }
Example #4
0
 private void DeclaringTypeConflict()
 {
     DeclaringTypeStatic();
     QualifierTests.DeclaringTypeStatic();
 }
Example #5
0
 private static void StaticParameter(QualifierTests test)
 {
 }
Example #6
0
 private void DeclaringType(QualifierTests instance)
 {
     instance.NoParameters();
 }